EA "On" & "OFF" Toggle Button on chart
-
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
-
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.
-
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
-
Thanks alot brother.. It worked..