I was manually checking the "Trades" result, and I found a contradiction between the trace and the "Trades" result.
My primary bar is 1H, my trading bar is 5 minute. For every entry signal, I submit the order twice because I have two ways to take profits (I have two signal names and I set the stop and profit target twice as well). The following is the contradiction that I see between the trace and the "Trades" result
Trace: The trace is saying that I submitted two orders -> the orders are filled -> the positions were stopped out -> cancel the profit target orders and the stoploss orders. When I look at the chart, it's actually what happened, although, I don't know why it would cancel stoploss orders as the stoploss were hit.
However, in the "Trades", I see a different result. It says that the orders were filled -> one order hit the profit target ($0.20), and the second position exited at the stoploss 1.2107 (-$0.20). The analyzer suggests that these two trades were $0 in profit, but it's actually a -$0.40 loss.
I have attached my trace as well as a screenshot of the "Trades". The trace is fairly short, search for "12/10/2020 5:20:00" for what I described above.
Please let me know if I am doing something wrong to cause this.
Thanks!
Comment