Reply

On new open bar support?

7 replies

gin

Subscriber, bbp_participant, 89 replies.

Visit profile

1 year ago #259770

Can sq generate strategies based on new open bar only?

Good for long term strategies daily or h4

To backtest on metatrader 4

Or it is only for ticks?

0

tomas262

Administrator, sq-ultimate, 738 replies.

Visit profile

1 year ago #259773

Hello,

signals are normally evaluated on bar close / open. Do you mean you want to test strategy to match the MT4s “Control point” precision?

0

gin

Subscriber, bbp_participant, 89 replies.

Visit profile

1 year ago #259781

I want to test mt4 open bars only

0

gin

Subscriber, bbp_participant, 89 replies.

Visit profile

1 year ago #259782

Sq strategies are not compatible with ea mt4 open bars only?

 

0

tomas262

Administrator, sq-ultimate, 738 replies.

Visit profile

1 year ago #259820

Oh yes they are. If you have specific example you would like to discuss please share …

0

gin

Subscriber, bbp_participant, 89 replies.

Visit profile

1 year ago #259924

why do I have completely different results in MT4 backtest when doing ticks or open bar only?

Does not SQ strategy check for

bool NewBar()
{
static datetime lastbar;
datetime curbar = Time[0];
if(lastbar!=curbar)
{
lastbar=curbar;
return (true);
}
else
{
return(false);
}
}

or similar?

 

or is there another sub code in SQ MT4 that works on any event including ticks which messes up everything?

 

 

0

kasinath

Subscriber, bbp_participant, customer, community, 114 replies.

Visit profile

1 year ago #260349

Wondering about this too.

Would be good to know before I buy.

0

tomas262

Administrator, sq-ultimate, 738 replies.

Visit profile

1 year ago #260472

Yes, SQ always checks for a new bar. If you have differences in MT4 between ‘every tick’ and ‘open bar only’ it can be caused due to multiple reasons. Very hard to say without having a specific strategy code

0

Viewing 8 posts - 1 through 8 (of 8 total)