Skip to main content

RSI styleClipMinMax for Amibroker (AFL)

remi almost 12 years ago Amibroker (AFL)

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

RSI styleClipMinMax

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("RSI styleClipMinMax");
SetChartOptions(0,0,chartGrid30|chartGrid50|chartGrid70);
 periods = Param( "Periods", 12, 1, 200, 1 );
 maxClip = Param( "maxClip", 70, 1, 100, 1 );
 minClip = Param( "minClip", 30, 1, 100, 1 );

Plot( RSI( periods), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );

r = RSI(periods);
 PlotOHLC( r,r,50,r, "", IIf( r > 50, colorRed, colorBrightGreen ), styleCloud | styleNoLabel | styleClipMinMax, minClip, maxClip );

_SECTION_END();

1 comments

Leave Comment

Please login here to leave a comment.