How to use Toggle Blocks?
-
I'm planning to make a couple of different strategies that I would like to switch from one to another if I wish. I haven't done anything with the blocks yet but you can see what I'm trying to do. If I was on my chart, I would like the option to go into my EA settings and toggle to another strategy if I want to. Does anyone have an idea on how to do that?https://fxdreema.com/shared/yo5mz5VX
-
@fxbam This block will switch other blocks on or off when something triggers it to activate, I would use a button to do what you want. You can see how here:
https://fxdreema.com/forum/topic/14594/create-buttons-that-work-in-mt4-mt5-live-demo-back-test
-
@jstap I'll take a look, thank you.
-
I guess what I'm trying to do is be able to switch the 2 Buy buttons and the 2 Sell buttons if I want to.
-
@fxbam In that button project are two buttons that change a bool variable, in your project use a button like that so when you click it it uses the bool to switch between buys and sells.