how to simulate trading in Data Playback?

Questions about MultiCharts and user contributed studies.
johnnykf88
Posts: 9
Joined: 07 Mar 2017
Has thanked: 2 times
Been thanked: 1 time

how to simulate trading in Data Playback?

Postby johnnykf88 » 06 Jan 2018

hello, i just tried the data playback feature but no idea how i may simulate the trades using the Signal. in real trading, when there is signal telling to buy / short, MC would submit the order and the corresponding markers would appear on the chart. So i expect it would do the same when playing back data with selected Signal.... but so far i can't manage to see this.

I can play back the data, but it order markers do not appear until i select "Recalculate Strategy" like the screen captured shown below.
dataplayback_20180106a.JPG
data playback runs ok but no trade marker appears
(35.84 KiB) Downloaded 455 times
dataplayback_20180106b.JPG
needs manually select Recalculate strategy
(30.54 KiB) Downloaded 455 times
dataplayback_20180106c.JPG
after "Recalculate strategy", the markers appear.
(39.7 KiB) Downloaded 455 times
So could someone help and tell me how to make the signal markers appear automatically?

Thanks for your attention and kindly help.

johnnykf88
Posts: 9
Joined: 07 Mar 2017
Has thanked: 2 times
Been thanked: 1 time

Re: how to simulate trading in Data Playback?

Postby johnnykf88 » 07 Jan 2018

ok, i found the signal markers appear during Data Playback as long as i changed the following code in my strategy:

before Change:
buy 1 contract next bar Close stop
.... where Close is simply the close of data. So i suppose "Close" means the value in Close of the current bar.

After Change:
buy 1 contract next bar Price stop
... where Price is a specific value which is higher than the current bar Close. So when the price up and gets higher than this value, it would trigger to submit market order. Am i correct?

But no idea why the signal markers couldn't be shown before the change.


Return to “MultiCharts”