I am very pleased to see this working. However the position sizing seems to be wrong. I have the Money Management Method set to Risk Management (2)
I have the Risk percentage set to 1.0
However the trade size was not set correctly to risk 1% of the account.
What I would like is if I get 2 TP levels that the total risk is 1% however in this case with two TP levels which seemed to be placed correctly the risk was much higher than 1% per trade.
Is the risk set based on the SL level?
Is the risk per trade or per signal?
I have written a number of EAs myself and have a robust Risk setting function for MT4 I can send if you wish.