Rainbow Indicator Amibroker AFL. AFL Code for Rainbow Indicator works in all the versions of Amibroker even in 5.5
SetChartBkColor(ParamColor(“Background Color”,colorDarkGrey));
SetChartOptions(0,chartShowArrows | chartShowDates);_SECTION_BEGIN(“BBands”);
Top= BBandTop(Close, 10, 1 );
Bot= BBandBot( Close, 10, 1 );Plot (Top,”Top”,colorGreen,styleThick+styleNoLabel);
Plot (Bot,”Bot”,colorGreen,styleThick+styleNoLabel);_SECTION_END();
_SECTION_BEGIN(“KeltnerBands”);
Mov_Avg = MA(C, 10);
KUP = Mov_Avg + 1 * ATR(10);
KDOWN = Mov_Avg – 1 * ATR(10);Plot (KUP,”KUP”,colorRed,styleDashed+styleNoLabel);
Plot (KDown,”Kdown”,colorRed,styleDashed+styleNoLabel);_SECTION_END();
_SECTION_BEGIN(“EMA”);
EMA10=EMA(C,10);
EMA12=EMA(O,12);Plot(EMA10,”EMA10″,colorBrightGreen,styleThick+styleStaircase+styleNoLabel);
Plot(EMA12,”EMA12″,colorGold,styleOwnScale+styleThick+styleStaircase+styleNoLabel);_SECTION_END();
_SECTION_BEGIN(“RSI21″);
RSI21=RSI(21);
Plot(RSI21,”RSI21″,colorRed,styleOwnScale+styleThick);_SECTION_END();
| You are reading this article on analystcalls.in, Stay tuned for career, Education news, Jobs, Exam Results, Answer keys, Interviews & Job discussions, Stock Market Technical and Trading Analysis and Calls, Latest Trendy News! For regular updates like us on Facebook and Subscribe by Email to get immediate updates. |
