HLA / Publications
Forum
Strategy Tester - Back Test On MA Crossover - Weird Result
Hi all, I wrote an EA on MA crossover strategy but got weird result when I did a back test on it. As you can see from the images above, there is a buy order executed at 11:05 but the two MA lines did not cross. There shouldn't be any trade. I am on Exponential MA method, 5 minutes chart, next buy
Trade Size = x% of account balance | Stop Loss = y% of account balance
Hi all, I am trying to : 1. set the trade size to x% of account balance and 2. set the stop loss to y% of account balance However, I found that trade size formula depends on stop loss and vice versa. This creates dependent loop between them. This is the function that I found in another thread