what if time-based signal on non-time based chart?

Questions about MultiCharts and user contributed studies.
2haerim
Posts: 502
Joined: 01 Sep 2006
Been thanked: 2 times

what if time-based signal on non-time based chart?

Postby 2haerim » 04 Jul 2008

MC plots a 100 ticks chart and a signal is applied which has the following line:

if time_s = 093000 then
buy at market;

1) Will the signal be generated at 093000 even if the current bar does not have 100 ticks yet? If not, will it be eventually generated when 100 ticks are collected no matter what time it is?

2) What if IntrabarOrderGeneration is on?

Can someone clearly distinguish all possible scenarios?

User avatar
Marina Pashkova
Posts: 2758
Joined: 27 Jul 2007

Re: what if time-based signal on non-time based chart?

Postby Marina Pashkova » 07 Jul 2008

MC plots a 100 ticks chart and a signal is applied which has the following line:

if time_s = 093000 then
buy at market;


If 093000 is the time of the current bar, then:

1) Will the signal be generated at 093000 even if the current bar does not have 100 ticks yet? If not, will it be eventually generated when 100 ticks are collected no matter what time it is?


If IOG is disabled, the order (since it's a 'buy at market order') the signal will be generated on the next bar.

2) What if IntrabarOrderGeneration is on?


A tick with the 093000 timestamp arrives and the order is sent on the next tick.


Return to “MultiCharts”