Join our facebook group for Amibroker afl code discussion https://www.facebook.com/groups/603980776889348

RSI-Based-Trading-System

RSI-Based-Trading-System
RSI-Based-Trading-System



//www.aflcode.com
r = RSI(5);
Plot (EMA(r,3),"ema3",colorWhite,styleLine);
Plot (EMA(r,5),"",colorBlue,styleLine);
Plot (EMA(r,8),"",colorBlue,styleLine+styleNoLabel);
Plot (EMA(r,10),"",colorBlue,styleLine+styleNoLabel);
Plot (EMA(r,12),"",colorBlue,styleLine+styleNoLabel);
Plot (EMA(r,15),"",colorBlue,styleLine+styleNoLabel);

Plot (EMA(r,25),"",colorYellow,styleLine);
Plot (EMA(r,30),"",colorRed,styleLine+styleNoLabel);
Plot (EMA(r,35),"",colorRed,styleLine+styleNoLabel);
Plot (EMA(r,40),"",colorRed,styleLine+styleNoLabel);
Plot (EMA(r,45),"",colorRed,styleLine+styleNoLabel);
Plot (EMA(r,50),"",colorRed,styleLine+styleNoLabel);
Plot (EMA(r,50),"",colorRed,styleLine);

PlotOHLC( 6, 6 , 0 , 0 , "", IIf(EMA(r,3)>EMA(r,5),colorBrightGreen,colorRed), styleCloud | styleNoLabel);
Previous
Next Post »