READ-ONLY

The forum is now a read-only archive.

For bug reports & platform questions → [email protected]

Our community lives on Discord and YouTube — come join us!

The problem of SL/PT wiht ATR is still not fixed (b124)

1 replies

eastpeace

Customer, bbp_participant, community, sq-ultimate, 298 replies.

Visit profile

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

Administrator, sq-ultimate, 2 replies.

Visit profile

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)