+91-0000000000

}

Monday – Friday : 9:00 AM – 6:30 PM

Chart High Low Line

Leveraging the Amibroker data feed to mark high and low points on charts is crucial. Developing an Amibroker AFL to visualize and utilize this data facilitates the identification of critical price extremes, aiding in setting effective stop-loss or take-profit levels.

/_SECTION_BEGIN("MACD");
SetChartBkColor( ParamColor("background",colorBlack) ); 
A2 = Param("EMA1",12,200,1,0);
A3 = Param("EMA2",26,200,1,0);

A1=EMA(C,A2)-EMA(C,A3); 
BBtop=BBandTop(A1,10,1); 
BBbot=BBandBot(A1,10,1);
Color=IIf(a1<0 AND a1>Ref(a1,-1), colorLime,IIf(a1>0 AND a1>Ref(a1,-1),colorBrightGreen,IIf(a1>0 AND a1

Open chat
1
Hi, how can I help you?