Hello ,
if i understood your requirement , is this you want ?
please check this
per=Optimize("Period",Param("Period",14,2,20,1),2,20,1);
percentchange=Optimize("Zig %",Param("Zig %",2,1,20,1),1,20,1);
az= RSI(per);
Plot( az,"",colorWhite,4);
ZZ = Zig(az,LastValue(PercentChange)) ;
Plot(zz,"",4,1);
this plots zz on rsi . and same zz can be applied on price chart
Thank you
if i understood your requirement , is this you want ?
please check this
per=Optimize("Period",Param("Period",14,2,20,1),2,20,1);
percentchange=Optimize("Zig %",Param("Zig %",2,1,20,1),1,20,1);
az= RSI(per);
Plot( az,"",colorWhite,4);
ZZ = Zig(az,LastValue(PercentChange)) ;
Plot(zz,"",4,1);
this plots zz on rsi . and same zz can be applied on price chart
Thank you