I wrote a very simple code “when MACD histogram is positive and over MA buy 1 share”
I set the backtest to start on May 7th. this screen clearly shows it starts on May 7th but I get the Buy/Sell arrows only starting the 14th of May.
Anyone knows why??
Here is ascreenshot with some explanations I added
https://www.screencast.com/t/iGI4uWHfXhi
Please add the code and attach pictures in forum next time, thank you.
ok.
BTW. The problem was solved by a full restart of the system (for some reason, just closing and reopening did not solve the issue)