-pimpmytrade- Snd Smc Course Today
plotshape(swHi, "Supply", shape.labeldown, location.abovebar, color.red, text="S") plotshape(swLo, "Demand", shape.labelup, location.belowbar, color.green, text="D")
// Plot zones bgcolor(not na(swHi) ? color.new(color.red, 85) : na) bgcolor(not na(swLo) ? color.new(color.green, 85) : na) -PimpMyTrade- SnD SMC Course
// Supply zone (resistance) var float supplyTop = na var float supplyBottom = na if not na(swHi) supplyTop := high[length] supplyBottom := low[length] supplyBottom plotshape(swHi, "Supply", shape
Let me know your exact use case and I’ll build out the full feature for you. -PimpMyTrade- SnD SMC Course