Gapup Bullish if sustains above trendline. Buy on open.
BANKNIFTY Gapup Bullish if sustains above trendline.
Backtest RenkoIndicator
Follow strict stop loss. Do your own research before investing or trading in any stock or indices or crypto. Disclaimer: This is not a financial, investment or trade advice. Its only for educational purpose.
Trade closed: stop reached
Sometimes I have identified an issue with the RenkoIndicator that it repaints, though I have tried to fix it with barstate.isconfirmed. but it seems that it's not working with Renko bar/box which is different from a traditional candle. Need to figure out a better way to fix this issue.
Note
I think the below explanation makes it clear why barstate.isconfirmed is not working with Renko bars. Need to dig deep to find a a workaround for this. Any ideas are welcome.
"Variable barstate.isconfirmed returns the state of current chart symbol data only. It does not take into account any secondary symbol data requested with the security function."
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.