// Downloaded From https://www.WiseStockTrader.com //green puddles// // by: spectremind// SetChartOptions(0,0,ChartGrid20 | ChartGrid80 ); r = StochD(12); Plot( r, "StochD", colorOrange ); PlotOHLC( r,r,50,r, "", IIf( r > 50, colorRed, colorGreen ), styleCloud | styleClipMinMax, 20, 0 ); Ref1= Ref(EMA(Close,200),-20); Ref2= Ref(EMA(Close,200),-5); Val= StochD(12,3,3); Refval= Ref(Val,-1); Buy = StochD(12,3,3) <20 AND Ref2 > Ref1 AND Refval < Val; Sell =Cross(C,EMA(12,26)); Buy= ExRem(Buy,Sell); Sell=ExRem(Sell,Buy);