Thank you both for replying.
I changed the code to exitshort grahal, thank you for the tip! i’ve only been coding for a week so im still learning. That fixed my problem with the longs below the moving average!
ma = powerful enough trend to long/short, ma2 = ema to stop trades that have weak trends, and ma3 should be the one that decides if to short or long, sorry for the confusion.
The Ma visible on the pictures is the long/short filter. The long trades are all visible during regular backtests but during WF almost all of them disappear. 107 trades is missing..