Levi Swan / Publications
Forum
Having a problem, maybe you can help?
I am new to coding MQL4 and having a problem with something... I want to assign a variable before OnTick. so I only want to be in 1 trade at a time. something like this. bool CanTrade = true; if(Cantrade==true) { "buy or sell depending on conditions..." static bool CanTrade = false; } then