// Downloaded From https://www.WiseStockTrader.com _SECTION_BEGIN("PZO_ind"); // PZO indicator function PZOsc( Period ) { R = sign( Close - Ref( Close, -1 ) ) * Close; VP = EMA( R, Period ); TV = EMA( Close, Period ); return Nz( 100 * VP / TV ); } Period = Param( "PZO period", 14, 2 , 200 ); PZO = PZOsc( Period ); Plot( PZO, "PZO" + _PARAM_VALUES(), colorBlue, styleThick ); // grid lines PlotGrid( 60 ); Plot( 40, "", colorLime ); Plot( -40, "", colorRed ); PlotGrid( -60 ); _SECTION_END();