Thread: Ask!
View Single Post
  #1083 (permalink)  
Old 05-03-2008, 08:52 PM
WNW's Avatar
WNW WNW is offline
Senior Member
 
Join Date: Feb 2006
Location: Motown, USA
Posts: 372
WNW is on a distinguished road
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.
Reply With Quote