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

Martin Pring's KST System for Amibroker (AFL)

Rating:
5 / 5 (Votes 1)
Tags:

Martin Pring’s Know Sure Things (KST) System

Smooth indicator base on average of ROC in different periods to apply the weighting.

Enjoy.

Screenshots

Indicator / Formula

Copy & Paste Friendly

Indicator only. If you want to add buy and sell signal on your chart just kindly remove the Plot section of KST and MA1.

_SECTION_BEGIN("KST Indicator");
Avg1 = Sum(ROC(C,24),9)/9;
Avg2 = Sum(ROC(C,18),9)/9;
Avg3 = Sum(ROC(C,12),6)/6;
Avg4 = Sum(ROC(C,6),6)/6;
KST = 4*Avg1 + 3*Avg2 + 2*Avg3 + Avg4;
MA1 = MA(KST, 9);
Plot(kst,"KST" ,ParamColor("KST Color",colorRed),ParamStyle("KST Style",styleLine));
Plot(MA1,"MA" ,ParamColor("MA Color",colorBlue),ParamStyle("MA Style",styleLine));

BuyT = Cross(KST,MA1);
SellT = Cross(MA1,KST);

Buy=ExRem(BuyT,SellT);
Sell=ExRem(SellT,BuyT);

// Much beter if you do some position settings

/*
MaxOpenPos = Optimize("Max Open Positions",7,3,10,1);   
SetOption("MaxOpenPositions", MaxOpenPos);  
  
PositionSize=-100/MaxOpenPos;  
PositionScore=buy;  
  
SetTradeDelays(0,0,0,0); 

*/

PlotShapes( Buy * shapeSmallUpTriangle + Sell * shapeSmallDownTriangle, IIf( Buy, colorBlue, colorRed ) );  

Plot(0,"",ParamColor("Zero Line",colorGrey50), ParamStyle("Zero Line Style",styleLine));

_SECTION_END();

4 comments

1. ROHITJAIN

anyone can make me afl … i know everything about market but i dont know coding

2. Kislay

Sorry no one in this universe make you AFL from human.

3. sogilanon

remember, AFL starts with a parameters/rules then codes will follow.

5. kalyan4naidus

Hi ROHITJAIN
Will help you and you can touch with me kalyan4naidus@gmail.com for your afl.

Leave Comment

Please login here to leave a comment.

Back