Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Stoch Cross Weekly for Amibroker (AFL)
To buy and sell by indicator stochastic weekly cross.
Similar Indicators / Formulas
Indicator / Formula
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | TimeFrameSet ( inWeekly ); isCrossStochUp= Cross ( StochK (15,3), StochD (15,3,3)) AND StochK (15,3)<60 ; isCrossStochDown= Cross ( StochD (15,3,3), StochK (15,3)) ; targetPrice= EMA ( H ,15)+ 2* ATR (15); buyCross=isCrossStochUp ; sellCross=isCrossStochDown; TimeFrameRestore (); Buy = isCrossStochUp AND C * MA ( V ,30)>10000000 AND ((targetPrice- Close )*100/ Close >3 OR 100* ATR (30)/ MA ( C ,30)>2); Sell = isCrossStochDown ; Buy = ExRem ( Buy , Sell ); Sell = ExRem ( Sell , Buy ); SetTradeDelays ( 1, 1, 1, 1 ); BuyPrice = SellPrice = Close ; AddColumn ( Close , "Close" , 1, IIf (buyCross, colorRed , IIf (sellCross , colorBrightGreen , colorBlack )), IIf (buyCross, colorBrightGreen , IIf (sellCross , colorRed , IIf ( Sell , colorYellow , colorPaleGreen ))) ); AddColumn ( ROC ( C ,1), "% ROC" , format=1.2, IIf (buyCross, colorRed , IIf (sellCross , colorBrightGreen , colorBlack )), IIf (buyCross, colorBrightGreen , IIf (sellCross , colorRed , IIf ( Sell , colorYellow , colorPaleGreen )))); AddColumn ( targetPrice, "target price" , format=1.2, IIf (buyCross, colorRed , IIf (sellCross , colorBrightGreen , colorBlack )), IIf (buyCross, colorBrightGreen , IIf (sellCross , colorRed , IIf ( Sell , colorYellow , colorPaleGreen )))); AddColumn ( (targetPrice- Close )*100/ Close , "% target" , format=1.2, IIf (buyCross, colorRed , IIf (sellCross , colorBrightGreen , colorBlack )), IIf (buyCross, colorBrightGreen , IIf (sellCross , colorRed , IIf ( Sell , colorYellow , colorPaleGreen )))); SetPositionSize ( 25, spsPercentOfEquity ); Filter = Buy ; |
2 comments
Leave Comment
Please login here to leave a comment.
Back
not showing any think pls rectify it thank you
I think this afl is for exploration / scanning only
It gives resluts when you scan or explore