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!

Time Frame settings for building H1 SPY strategy?

4 replies

dodger

Subscriber, bbp_participant, customer, community, sq-ultimate, 4 replies.

Visit profile

4 years ago #276431

When testing an H1 strategy on SPY, should I set ‘Limit Time Frame’ to regular trading hours to get the most realistic results?

If I do set the time frame to 09:30 – 16:00 (for an H1 strategy), how does SQX handle the 30 min period between 09:30 and 10:00?

Thanks,
Dan

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

4 years ago #276495

Hello,

the signal is evaluated on bar close. For H1 timeframe the closest close is at 10:00. If the trade entry is allowed at that time it will be triggered and processed. I suppose you are using MultiCharts / TradeStation engine

0

dodger

Subscriber, bbp_participant, customer, community, sq-ultimate, 4 replies.

Visit profile

4 years ago #276516

Thank you, Tomas.  Yes, I am using the MultiCharts engine.

I notice after running the Optimizer using a ‘Limit Time Range’ setting of 09:30 to 16:00, the List of Trades shows ‘Open time’ all within that range but many ‘Close time’ values outside of that range.  Is there a way to limit SQX to open and close trades ONLY within regular market hours?

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

4 years ago #276683

Hi,

did you enable “Exit at end of range”? If so try to use 15:30 instead. Another cause of this can also be holiday (shorten trading session) so the exit occurs next session

0

dodger

Subscriber, bbp_participant, customer, community, sq-ultimate, 4 replies.

Visit profile

4 years ago #276708

When I enable “Exit at end of range”, all trades are closed at 16:00, which is what I would expect by enabling that option.

What I am trying to test is an hourly strategy that only trades during market hours but can keep positions open overnight.  How do I configure SQX settings for that?

0

Viewing 4 replies - 1 through 4 (of 4 total)