fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search

    EA running balance

    Questions & Answers
    2
    4
    1224
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      james last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • fxDreema
        fxDreema last edited by

        Now I san suggest something like this what I just posted in another topic: http://fxdreema.com/forum/topic/1952

        1 Reply Last reply Reply Quote 0
        • J
          james last edited by

          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! 🙂

          1 Reply Last reply Reply Quote 0
          • fxDreema
            fxDreema last edited by

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

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            Online Users

            E

            7
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors