Linkon Cam System 16 JMX Col Bar 3
This particular AFL, Linkon Cam System 16 JMX Col Bar 3, suggests a more complex system involving multiple components such as JMX and color bar indicators. The integration of Amibroker data feed here indicates a reliance on market data to compute and generate signals based on the specified parameters. The ‘System 16’ might refer to a defined methodology or strategy embedded within the AFL.
/ //Trend Manager- Translated by karthikmarar from MT4 code for inditraders.com forum //AFL works on amibroker version 5.20 and above SetChartBkColor(colorBlack); p=Param("period",7,3,20,1); pl1=ParamToggle("Plot Stoploss line","No,Yes",0); pl2=ParamToggle("Plot Setup signals","No,Yes",0); Hx=IIf(HRef(L,-p),Ref(L,-p),L); Hxl=IIf(HRef(L,-p),Ref(L,-p),L); spana=(Hx+Lx)/2; spanb=Ref(spana,-2); for( i = p; i < BarCount; i++ ) { if (spana[i]>spanb[i]) { H1[i]=spana[i]; L1[i]=spanb[i]; O1[i]=L1[i]; C1[i]=H1[i]; } else { H1[i]=spanb[i]; L1[i]=spana[i]; O1[i]=H1[i]; C1[i]=L1[i]; } } SetBarFillColor( IIf(C>spanb,colorBlue,colorRed) ); PlotOHLC(O1,H1,L1,C1,"",IIf(H>spana,colorBlack,colorBlack),ParamStyle("Plot Style",styleBar,maskPrice)); Plot(C,"",ParamColor("Bar Color",colorLime),128+4); pd=(C>spanb AND Ref(C,-1)>Ref(spanb,-1)); nd=(CValueWhen (buysetup, H) +0.01; Short=Sell=Ref (Shortsetupvalid, - 1) ==1 AND L