I have this EA that manages my daily profits and trading hours.
If i reach the profit target, i want him to validade if the OPEN trades are positive. If so, the EA turn off the autotrading and close de open positions. Then i need him to close any pending position.
I dont know how to correct it, its not responding properly.
As i dont know how to code, i just gathered various codelines and Chat GPT did the rest =)
if someone can help it will be much appreciated
If i reach the profit target, i want him to validade if the OPEN trades are positive. If so, the EA turn off the autotrading and close de open positions. Then i need him to close any pending position.
I dont know how to correct it, its not responding properly.
As i dont know how to code, i just gathered various codelines and Chat GPT did the rest =)
if someone can help it will be much appreciated
Attached File(s)