Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

KP Medium With buy/sell signals for Amibroker (AFL)
buchacek
almost 12 years ago
Amibroker (AFL)

Rating:
3 / 5 (Votes 6)
Tags:
amibroker, kwikpop

This is KP Medium which was posted earlier by ceuremi. I added TrendBias background colors and triangle shapes as buy/sell signals.
It works very well with Volume contract charts on Futures or any other timeframes or range bars.
Note: for some reason my AmiBroker creates regular large full color down triangle as HollowSmallDownTriangle. If your software creates shapeDownTriangle as full colored large triangle then change it in the formula.
Trend bias colors can be added to all under chart indicators-just copy and past the formula below KP Medium formula.

Similar Indicators / Formulas

KP TTM Squeeze
Submitted by buchacek almost 12 years ago
KPBB htrsystem
Submitted by jaipal7786 over 11 years ago
Kwik*Pop - KPSnapBack
Submitted by kelvinhand over 11 years ago
KP Trigger Cloud
Submitted by buchacek almost 12 years ago
PIVOT HIGH-LOW AFL
Submitted by anandnst almost 12 years ago
bad tick clean
Submitted by pious243 over 11 years ago

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("KP Medium");
SetChartBkColor(ParamColor("Panel Color",colorLightGrey));
SetChartBkGradientFill(ParamColor("Upper Chart",colorLightGrey),ParamColor("Lower Chart",colorLightGrey));
//tskp_mediumma,tskp_mediumup,tskp_mediumdown
dummy = E_TSKPMEDIUM(Close);
mma=tskp_mediumma;
mup=tskp_mediumup;
mdn=tskp_mediumdown;
Plot(0,"",ParamColor("Zero Line",colorGrey50),styleLine|styleNoLabel);
Plot(tskp_mediumma,"MediumMA",ParamColor("MAColor",colorWhite ),ParamStyle("MAStyle",styleLine));
Plot(tskp_mediumup,"MediumUp",ParamColor("UpColor",colorBlue ),ParamStyle("UpStyle",styleArea|styleThick,maskHistogram));
Plot(tskp_mediumdown,"MediumDown",ParamColor("DownColor",colorRed ),ParamStyle("DownStyle",styleArea|styleThick,maskHistogram));
PlotShapes(IIf(Cross(mma,mup),shapeUpTriangle+ shapePositionAbove, shapeNone ), 32,0,Offset=mma);
PlotShapes(IIf(Cross(mdn,mma),shapeHollowSmallDownTriangle+ shapePositionAbove, shapeNone), 6,0,Offset=mma);
Plot(-20,"",12,styleLine|styleThick | styleNoLabel);
Plot(20,"",32,styleLine|styleThick | styleNoLabel);
Plot(-5,"", ParamColor("Color", 2) ,styleLine|styleThick | styleNoLabel);
Plot(5,"",ParamColor("Color", 2),styleLine|styleThick | styleNoLabel);
_SECTION_END();

_SECTION_BEGIN("KP TrendBias BackGround");//Plot Tone
dummy =  E_TSKPTRENDBIAS(High,Low,Close);
KPTB = tskp_sb;
KPTBSlow = tskp_tbxavg;
parmToneColorUp=ParamColor("Tone Color Up", colorLightBlue );
parmToneColorDn=ParamColor("Tone Color Dn", colorTan);
RibbonSize=Param("Ribbon Size",20,0.5,10,0.5);
Plot( RibbonSize,"",IIf(KPTB > KPTBSlow,parmToneColorUp,parmToneColorDn),styleOwnScale|styleArea|styleNoLabel,0,10);
_SECTION_END();

10 comments

1. anandnst

Admin errors found in this formula

2. buchacek

There are no errors in this formula. You just have to have an appropriate plugin. Go to KP System V.1 for an instruction. This indicator works only with KP System as posted by ceuremi earlier or any system which uses kpami.dll plugin
Buy/Sell signals are rather Trigger Signals when Medium pop above MA or Medium drop below MA. Always watch for background color when using the blue and red triangles and use other KwikPOP trigger signals as well. This indicator works the best with range bars and it is mainly used in KwikPOP system with range bars. See KwikPOP realtime trade videos on their training page.
The horizontal lines in this formula are set for 15 point Range bar for @YM futures.

3. anandnst

ok thanx you.

4. hotaro3

gives error for different variables be usedwithout been initialised. I have Kpami.dll in amibroker\formulas\plagins

5. buchacek

hotaro3- you must have a problem in your software then or have incomplete plugin installed. I have been using this formula as it is all the time with 15 point range bar for @YM -Dow e-mini futures. No errors in there. What variables are in there without being initiated?
Foundation-Int include two folders : plugins and Include.
in Plugins folder is : kpami AND Juriklib.
in Include folder is : T3_include.afl
Do you have all of these in your AmiBroker plug in? If not then KwikPOP formulas cannot work in your software.

6. saravanangym

errors found in this code

7. buchacek

saravanangym- you probably don’t know how to read or do you think I would work with afl. with errors? It is virtually impossible so kindly read what is written above and get the appropriate plugins and proper Amibroker software upgrade.
PS.: If you don’t use KwikPOP system then don’t even use this formula.

8. northstar

Beautiful chart. Works fine. Thanks ‘buchacek’.

9. FinFreedom1965

@Buchacek – I have seen you consistently helping people with this whole KP indicators, but also seen only very few people have had success installing these systems/indicators and unfortunately I cant claim I am one of them.

I have the T3 Include file, with both the dlls in place, but strangely continue to get myriad of errors.

Would appreciate your insight as to what else one could possibly do to get this working. I am using 5.6.

Appreciate your time.

Cheers

GK

10. administrator

@FinFreedom1965 Someone may be able to help you if you mention what errors you are getting.

Leave Comment

Please login here to leave a comment.

Back