EA running balance
-
I'd be really grateful for a little help and advice. Although I haven't tried yet, I'm planning to run a single EA over several different symbols from my broker.
What I'd like to be able to do is have a comment on each chart showing the running profit/loss (balance) of each symbol.
How can this be achieved?
-
Now I san suggest something like this what I just posted in another topic: http://fxdreema.com/forum/topic/1952
-
Oops! I'm feeling rather foolish! Thank you so much for your very quick help. I did look at that one, but it didn't seem to provide quite what I needed. Anyway - as I say, I'm feeling foolish! - I overlooked the "On Trade event - trade closed" block. Using this, a formula and a variable "Current_Balance" its easy to do this:
On init - Current_Balance = AccountBalance
On trade - Trade closed event: Current_balance = Current_Balance + event trade attribute profit amount of trade.Simple!

-
Hmmm... maybe I missed something from the idea. But ok, if you got it yourself
