I changed the code and now it works fine. Thank you!
After backtesting the strategy and comparing the backtest to the live trades I saw that the bars from the same time (22.06.2020 1min HeikinAshi) are not ident.
I have made to screenshots for you from the same time, once made with the backseat, and once I let the chart run overnight.
Thanks in advance
Stefan
Comment