Skip to main content

EHSAN Design PALS RSI Overbought & Oversold for Amibroker (AFL)

ehsanghafari almost 11 years ago Amibroker (AFL)

  • Rating:
    3 / 5 (Votes 6)
  • Tags:
    oscillator, trading system, amibroker

Enjoy and help me for next formulas for next indicators by your comments ;)

it help you when sell and when by.

thanks

Ehsan Ghafari

in iran

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("RSI 2 Periods");
SetChartBkGradientFill(ParamColor("Inner panel upper", colorBlack), ParamColor("Inner panel lower", colorBlack));
SetChartOptions(0,0,chartGrid30|chartGrid70);
 
maxClip = Param( "maxClip", 70, 1, 100, 1 );
minClip = Param( "minClip", 30, 1, 100, 1 );
 
a = Param( "Periods1", 5, 1, 200, 1 );
Plot( RSI( a), "RSI", ParamColor( "Color1", colorGold ), ParamStyle("Style1")  );
 
b = Param( "Periods2", 14, 1, 200, 1 );
Plot( RSI( b), "RSI", ParamColor( "Color2", colorRed ), ParamStyle("Style2")  );
 
Upper=Param("Upper", 70, 50, 100, 1);
Plot(Upper,"Upper",ParamColor( "ColorUpper", colorRed ),ParamStyle("StyleUpper"));
Lower=Param("Lower", 30, 0, 50, 1);
Plot(Lower,"Lower",ParamColor( "ColorLower", colorGreen ),ParamStyle("StyleLower"));
 
Buy=Cross(RSI(a),Lower) OR Cross(RSI(b),Lower);
Sell=Cross(Upper,RSI(a)) OR Cross(Upper,RSI(b));
 
PlotShapes(IIf(Buy,shapeUpArrow,shapeNone),colorGreen);
PlotShapes(IIf(Sell,shapeDownArrow,shapeNone),colorRed);
 
Colorrsi=ParamToggle("Display(ON - OFF)","Off|On",1);
if(Colorrsi)
{
r = RSI(a);
PlotOHLC( r,r,50,r, "", IIf( r > 50, colorDarkRed, colorDarkGreen ), styleCloud | styleNoLabel | styleClipMinMax, minClip, maxClip );
}
 
_SECTION_END();

7 comments

almost 11 years ago

RSI Overbought & Oversold pe mera dekh hu ab tak ye bhaho achha indicator hai
thanks for this indicator

almost 11 years ago

سلام احسان جان
آفرین پسر
اگر با میانگین 16 کار کنی شاید بهتر باشه
لطفا با من تماس بگیر
SM_SEYYED_M@YAHOO.COM
با سپاس
سید مهدی سیدمیر

over 10 years ago

سلام دکتر سید میر

باز جای شکرش باقیه اینو کپی نکردین تو تلگرام بگین سیستم جدید شماست

4. abbasi
about 10 years ago

قربون هرچی ایرانیه.ماشالله احسان خان

about 10 years ago

Administrator, you have to oblige these funny guys to leave comments in the English language!

6. khatera
about 10 years ago

Enjoy and help me for next formulas for next indicators by your comments ;)

about 10 years ago

@rob you are right. It makes it difficult for other users and me but it happens rarely.

Leave Comment

Please login here to leave a comment.