Hello Tradingview Community,
I've been playing around with some various volume-based indicators, and recently have been experiencing a delay in the entries for my strategy for 2 minutes in this scenario. If the time is adjusted, it also is delayed 2 bars.
In this example, the "Short" position should enter when the blue line Crosses under the upper green line,...
I just want a simple moving average cross over system I can backtest. I wrote the following code but it doesn't enter or exit the trade when I actually want it to, it just it a few candles after. Can someone please correct my coding for me? I'm guessing it's where I have entered my enter and exit conditions?