TradingView
jac001
Jan 30, 2024 2:44 AM

30thJan24 Expiry Gapup Bullish if sustains above trendline. Long

FINNIFTY FUTURESNSE

Description

NSE:FINNIFTY1! 30thJan24 Expiry 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.

Comment

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."
More