+91-0000000000

}

Monday – Friday : 9:00 AM – 6:30 PM

NPO Period Candlesticks

NPO Period Candlesticks, within Amibroker, utilize a specialized approach to presenting market data. Non-Period Overlapping (NPO) techniques refine candlestick formations, offering a clearer representation of price movements. This Amibroker feature assists traders in precise trend identification and pattern recognition, augmenting decision-making processes.

/
// Normalized Price Oscillator AFL by Karthikmarar for the thread "Experiments in Technical Analysis" at Traderji.com
_SECTION_BEGIN("NPO");
_N(Title = StrFormat("{{NAME}} - {{INTERVAL}} {{DATE}} Open %g, Hi %g, Lo %g, Close %g (%.1f%%) {{VALUES}}", O, H, L, C, SelectedValue( ROC( C, 1 ) ) ));


n=Param("period",60,5,100,1);


np = (C - MA(C,n))/StDev(C,n); 
npo=(np+(2*Ref(np,-1))+(2*Ref(np,-2))+Ref(np,-3))/6;

Plot(npo,"Normalized Price",colorWhite,1);
PlotGrid(2,colorRed);
PlotGrid(3,colorYellow);
PlotGrid(-2,colorRed);
PlotGrid(-3,colorYellow);



graphx=10;
PlotGrid(1,colorGreen);
PlotGrid(-1,colorGreen);
PlotOHLC( npo,npo,1,-1, "", IIf( npo> 1, colorLime ,colorRed), styleCloud | styleClipMinMax, -1, 1); 

Open chat
1
Hi, how can I help you?