Search found 3 matches

by MCuser123
Sep 12 2024
Forum: MultiCharts
Topic: Auto trading in replay - positions don't reverse
Replies: 5
Views: 395

Re: Auto trading in replay - positions don't reverse

Weirdly, this behavior depends on the option "Preferences >> Trading >> Simulated Trading >> Start Simulated Trading Automatically". At least after I turn it off, positions start to reverse as expected. Not sure if this particular option matters, or just a change in setting that triggers s...
by MCuser123
Sep 08 2024
Forum: MultiCharts
Topic: Auto trading in replay - positions don't reverse
Replies: 5
Views: 395

Re: Auto trading in replay - positions don't reverse

if BuyCondition then begin buy("LE") this bar on close; end else if SellshortCondition then begin sellshort("SE") this bar on close; end else if SellCondition then begin sell("LX") this bar on close; end else if BuytocoverCondition then begin buytocover("SX")...
by MCuser123
Sep 07 2024
Forum: MultiCharts
Topic: Auto trading in replay - positions don't reverse
Replies: 5
Views: 395

Auto trading in replay - positions don't reverse

I'm observing a peculiar behavior when I run replay with my strategies. When a long signal is followed by a short signal, the short signal acts as a stop and just closes the long position, instead of reversing and opening a short position. Should be as simple as sell short contract count x 2, rather...