fxDreema

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

    EA "On" & "OFF" Toggle Button on chart

    Questions & Answers
    2
    4
    1168
    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.
    • M
      mustafafr010 last edited by

      Hello

      Is there a way to place an EA "On" & "OFF" Toggle Button on the chart.

      This will allow me a Activate or Deactivate the EA from the chart without going to inputs and turning of LIve Trading option.

      FYI, i want to keep multiple charts with the same EA, therefore i cannot just press the "AutoTrading" button because other charts will have the EA active and others inactive.

      Thank you

      1 Reply Last reply Reply Quote 0
      • C
        CPBonzo last edited by

        Not exactly. Because any button would have to be part of the EA I don't think it could turn the EA of which it is part on and off. However, it is certainly possible to place a button on the chart such that it stops the EA from trading. To do so, having created the button and given it a name, one places two blocks befor ethe BUy and SELL blocks, one is "select object by name" set to select the button and the next is "check button state" and set this to pass if the button is pressed. That way trades are only taken when the button is pressed.

        1 Reply Last reply Reply Quote 0
        • M
          mustafafr010 last edited by

          Hi,

          Thanks for your reply.

          I tried applying the method but wasnt able to make it work.

          Please check this link to see what i did wrong.

          https://fxdreema.com/shared/UiU77UDKd

          Thanks

          1 Reply Last reply Reply Quote 0
          • M
            mustafafr010 last edited by

            @CPBonzo

            Thanks alot brother.. It worked..

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

            Online Users

            T
            J
            B
            A
            T
            M
            E

            24
            Online

            146.7k
            Users

            22.4k
            Topics

            122.6k
            Posts

            Powered by NodeBB Forums | Contributors