Multiple trades on current candlestick
-
How do I stop my indicator from executing trades before the candle has fully formed/closed?
For example: using RSI, I want to execute a buy order when RSI crosses above 50 and a sell order when it crosses below 50.
The problem is that while the current candlestick is still forming, the RSI fluctuates and triggers multiple buy and sell signals.What logic can I use to ensure that trades are only executed after the candlestick has fully closed, to avoid false signals during candle formation? I've tried candle ID 1 & 2 but didn't work
-
once per bar block above your buy/sell block.
-
@Katlego-Moraba
Use the result of previous bar.