There is no problem with the first version added here, a different version has been working in the demo for the last 2 days.You can use this version safely (
#13)
. There is a problem with the newly updated code. When the transactions were closed, it had to start over with 0.01 lot.Even if gold falls by $200, the account does not explode with the new code.In the new code, earnings in both directions are transferred to the main account and the account grows very quickly..A correction will be made.I will add the new expert after the problems are fixed