// Downloaded From https://www.WiseStockTrader.com _SECTION_BEGIN("PVT"); function PVT() { return Cum( Volume * ROC( C, 1 ) * 0.01 ); } Plot( PVT(), _DEFAULT_NAME(), ParamColor( "Color", ColorCycle ) ); _SECTION_END(); PVTMA = Wilders( PVT(), 20 ); colOpn = IIf( PVTMA > Ref( PVTMA, -1 ), colorGreen, colorRed ); Plot( Wilders( PVT(), 20 ),"",colOpn,styleLine ); PVTMA = Wilders( PVT(), 10 ); colOpn1= IIf( PVTMA > Ref( PVTMA, -1 ), colorBlue, colorRed ); Plot( Wilders( PVT(), 10 ),"",colOpn1,styleLine );