// Downloaded From https://www.WiseStockTrader.com P = ParamField( "Price field" ); change = Param("% change",5,0.1,25,0.1); Plot( Zig(P, change), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") ); Buy=Zig(p,Change)>Ref(Zig(p,Change),-1) AND Ref(Zig(p,Change),-1)Ref(Volume,-1) AND ((Volume-Ref(Volume,-1))/Volume)< ((Close-Ref(Close,-1))/Close);