// Downloaded From https://www.WiseStockTrader.com pivot01=((Ref(C,-1)-L)-(H-Ref(C,-1))/IIf((H-Ref(C,-1))==0,0.01,(H-Ref(C,-1)))); Periods = Param("Periods", 10, 2, 300, 1, 10 ); Plot( MA( pivot01, Periods ), "1", ParamColor( "Color1", colorBlue ), ParamStyle("Style") ); pivot02=((C-L)-(H-C)/IIf((H-C)==0,0.01,(H-C))); Periods = Param("Periods", 10, 2, 300, 1, 10 ); Plot( MA( pivot02, Periods ),"2", ParamColor( "Color2", colorRed ), ParamStyle("Style") ); Cc=C-Ref(C,-1); P = Cc; Periods = Param("Periods", 10, 2, 300, 1, 10 ); Plot( MA( Cc, Periods ), "3", ParamColor( "Color3", colorBlack ), ParamStyle("Style") );