Download MetaTrader 5

Changing static variable to dynamic

To add comments, please log in or register
Akif Mushtaq
130
Akif Mushtaq  

[code]
bool static double Buy_Limit = High[1]
[/code]
.....once above condition is true, execute order. And then reset value of Buy_Limit so that it can re-evaluate new High[1].

How can i change a static variable to dynamic, and then back to static as needed in an EA?

To add comments, please log in or register