Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
Simple EMA ADX Trading System by Sosrodiningrat @2017 for Amibroker (AFL)
This just a simple trading system using EMA ADX crossing. You can optimize the value for different condition. Not for real trading, just for education purpose.
By Sosrodiningrat @2017
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 25 26 27 28 | //Simple EMA ADX Trading System by Sosrodiningrat @2017 function ParamOptimize(description,defaultVal,minv,maxv,step){ return Optimize (description, Param (description,defaultVal,minv,maxv,step),minv,maxv,step);} //parameter and optimizer SetTradeDelays (1,1,0,0); BuyPrice = O ; SellPrice = O ; b1=ParamOptimize( "b1" ,42,2,100,1); b2=ParamOptimize( "b2" ,2,2,100,1); b3=ParamOptimize( "b3" ,48,2,100,1); b4=ParamOptimize( "b4" ,49,2,100,1); s1=ParamOptimize( "s1" ,59,2,100,1); s2=ParamOptimize( "s2" ,80,2,100,1); s3=ParamOptimize( "s3" ,46,2,100,1); s4=ParamOptimize( "s4" ,2,2,100,1); Buy = Cross ( EMA ( ADX (b1),b2), EMA ( ADX (b3),b4)); Sell = Cross ( EMA ( ADX (s1),s2), EMA ( ADX (s3),s4)); Buy = ExRem ( Buy , Sell ); Sell = ExRem ( Sell , Buy ); Plot ( C , "" , colorBlack , styleCandle ); PlotShapes ( IIf ( Buy , shapeUpArrow , shapeNone ), colorBlue ,0, L ,-12); PlotShapes ( IIf ( Sell , shapeDownArrow , shapeNone ), colorRed ,0, H ,-12); //=============================================== |
0 comments
Leave Comment
Please login here to leave a comment.
Back