Rainbow indicator for Amibroker (AFL)
klvenkatt almost 14 years ago Amibroker (AFL)
This is a simple Rainbow Indicator with feedback from here: Link here
Please do check for my rainbow chart also and use in conjunction. Have been able to get good results. By the way this formula does not reference future data.
Indicator / Formula
Copy & Paste Friendly
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();0 comments
Leave Comment
Please login here to leave a comment.