Disliked{quote} I'm not too good at coding but this is what I wrote for equity % that I'm using currently, extern double ExpectedEquityTarget; // closes all orders once account equity is greater than expected equity target extern double IncreaseEquityPercent = 10.0; // Equity percentage int init() { ExpectedEquityTarget = AccountBalance() + (AccountBalance() * (IncreaseEquityPercent / 100)); // Calculate the amount balance should be increase by } int start() { if(AccountEquity() > ExpectedEquityTarget) { // check if the account equity is greater than expected...Ignored
Could you add a bit of code that will disable the EA and only re-enter trade the next day? I think this is what most people want out of their equity close option.
Many Thanks & Best Regards,
Daniel