So the basic idea here is to see the zones of buy and sell of weis model in mTF format.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.
alertcondition(a > 0, title='buy signal', message='Buy Signal Alert')
alertcondition(b > 0, title='sell signal', message='Sell Signal Alert')
but it was like nightmare every time the candle close it giving signal
can you plz ad
Buy Signal = bgcolor(a > 0 ? blue : na, transp=80)
Sell Signal = bgcolor(b > 0 ? red : na, transp=80)