// Downloaded From https://www.WiseStockTrader.com
Plot(C,"",colorBlack,styleCandle);
Val1=Param("Val1",3,1,50,0.1);
Val2=Param("Val2",3,1,50,0.1);
sinecycle=Prec(5*sin(BarIndex()/Val1+Val2),1);
Cycleb1=sin(BarIndex());
Cycles1=sin(BarIndex());
Plot(sinecycle,"Cycle",colorBlue,styleLine|styleNoLabel|styleOwnScale,-5,50);