// Downloaded From https://www.WiseStockTrader.com
Buy = Ref(H,-1)>=Ref(HHV(H,40),-1) AND L;
 
Sell=0;
ApplyStop(stopTypeNBar,stopModeBars,25);