Hi Team, recently started playing around with building a trade system, however run in some behaviour i can’t explain.
I built a simple indicator:
If 2 consecutive green bars, return 1, if 2 consecutive red bars, return -1
Then I added a very simple trading system. Buy when the indicator returns 1, sell when indicator returns -1. It also draws a black arrow on the graph in these instances.
I also configured simple SL and TP.
When I run the system on dax against past data (21 ticks), i get seemingly weird behaviour. a buy or sell should occur at the start of the next bar according to my understanding, but this is not always the case. also some buy/sells seem to happen in middle of nowhere. Any thoughts what I’m missing?