|
Coding help needed
Any help appreciated..
This would go in an EA as a component of the trade-closure routine.
I need to create a variable that always returns the highest historic balance of the account. I think this would require an array?
In practical terms, the language would be saying. "if my open profit is X-pips higher than the all-time high balance in the account, close all trades."
If someone can help with the variable I think I can code the rest.
Thanks in advance.
Last edited by WNW : 05-04-2008 at 04:42 AM.
|