The problem of SL/PT wiht ATR is still not fixed (b124)
1 replies
eastpeace
7 years ago #247702
b124,
multicharts.
I found that EL code has not changed.
The initial stop loss, or target will still change.
I posted it here,
https://roadmap.strategyquant.com/tasks/sq4_5100
0
Mark Fric
7 years ago #247731
yes, we made it differently.
We originally wanted to make it as same as MetaTrader has it, but then decided to leave it like it was – SL/PT will be computed and set every bar.
The reason is that in EasyLanguage you cannot store value to a gloval variable, so when you’ll stop the strategy and then start it again you’d lose the values of SL/PT that were stored in memory and opened trades would have no SL/PT.
Mark
StrategyQuant architect
0
Viewing 1 replies (of 1 total)