READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

Enable/disable trading rules Tabs

1 replies

pipnotic

Subscriber, bbp_participant, community, 6 replies.

Visit profile

11 years ago #114087

Hi, Marc

 

This one should be very easy to implement, yet quite handy: why not have a “Enable/Disable” box for each trading rule Tab?

 

In this way we can easily switch between combinations of rules when compiling EAs for back-testing, without the need to create boolean variables to “activate/deactivate” them, or even worse, create rules and then delete them! 🙂

 

I suppose this option would just “mask out” the code of the particular tab each time a MQL code is generated!

 

Cheers!

0

seaton

Customer, bbp_participant, community, 157 replies.

Visit profile

11 years ago #132178

I do this by creating a boolean variable tradingEnabled, and then put this in the relevant rules I want to be able to turn off.

 

if you need more fine grain control, create more of them  on a 1:1 for each rule and have it at to top of the rule condition.

 

 

You could go one step further and have rules dynamically turn off / on depending on market conditions.

0

Viewing 1 replies (of 1 total)