Changing static variable to dynamic

 

[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?