//52-week high/low High52 = security(syminfo.tickerid, "W", highest(high, 52)) Low52 = security(syminfo.tickerid, "W", lowest(low, 52)) //WMA WMA10 = wma(close, 10) WMA20 = wma(close, 20) WMA50 = wma(close, 50) WMA100 = wma(close, 100) WMA200 = wma(close, 200) //Standard Deviation with WMA lenSD = input(20, minval=1) sdavg13 = input(title="WMA SD",...
greenDay = close >= close redDay = close< close highVolume = highest(volume, 10) Redvolume= iff(redDay,volume,0) Greenvolume= iff(greenDay,volume,0) TopGreenV= highest(Greenvolume, 10) TopRedV=highest(Redvolume, 10) pocketPivot = volume > TopRedV pocketPivotDay =pocketPivot and greenDay plotshape(pocketPivotDay? 1:na,style=shape.triangleup,...