Hello,
I am having the same problem. In my templates I use flags=343, in my case after calling ChartApplyTemplate the "Allow Trading" is disabled on the Expert Advisor included on the template, so my system doesn't allow me to trade at all.
Did you find any solution yet ? Thanks in advanced !!
Regards
Pablo
I would like to know if is there a way to Set (by Script) the Long & Short, Only Long or Only Short options, when the EA is loaded...
I tried to do this Saving 3 Templates, each one with one of these options selected (Long & Short, Only Long, Only Short). When i looked in those files, i noticed a difference on the parameter FLAGS, with the values (343 - Long & Short, 342 - Only SHort, and 341 - Only Long)
I'm using MQL4...