Skip to main content

CCI styleClipMinMax for Amibroker (AFL)

toma2spy about 15 years ago Amibroker (AFL)

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

enjoy tested and worked well

Screenshots

Indicator / Formula

Copy & Paste Friendly
_SECTION_BEGIN("CCI styleClipMinMax");
SetChartOptions(0,0,chartGrid100|chartGrid0|chartGrid100);
periods = Param( "Periods", 14, 1, 200, 1 );
maxClip = Param( "maxClip", 100, 1, 100, 1 );
minClip = Param( "minClip", -100, 1, 100, 1 );

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

C = CCI(periods);
PlotOHLC( C,C,0,C, "", IIf( C > 0, colorRed, colorBrightGreen ), styleCloud | styleNoLabel | styleClipMinMax, minClip, maxClip );

_SECTION_END();

2 comments

Leave Comment

Please login here to leave a comment.