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!

How can I create a customised ‘Daily’ data source for backtesting (futures)

2 replies

avys

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

Visit profile

1 year ago #288330

Hello,

I want to create and test futures daily strategy, where ‘day’ is defined as 9:30 to 16:00 New York time. These bars can easily be created from the @ES 1 minutes bars, but there is no way to create a custom timeframe like this in the ‘custom’ menu. This can easily be done in tradestation. @ES.D is not good since the day there is defined as 00:00 to 23:59 (which are not-to-good hours to trade usually, because liquidity is low).

If not in a standard way, is there any way to do it through custom Java programming?

Thanks

Avy

0

Tomas Matejka

Administrator, sq-ultimate, 2 replies.

Visit profile

1 year ago #288375

Hi,

you need set session in SQX -> Data -> Sesions

Then use it under Builder -> Trading options -> Session

This will practically “cut” the data into desired time range

0

avys

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

Visit profile

1 year ago #288407

Hello Tomas,

I think that this will be a very limited solution. As far as I understand (I am very new to StrategyQuantX) this will limit all charts in the strategy. If I understand correctly, this will not solve my problem.

I want to use a minute (15, 20, 30 or 60) minutes futures chart as my main chart,, and create a subchart that has ‘daily’ candles, where I can define the start and end of the ‘day’. This can be any hours that I choose, and run indicators on this ‘daily’ chart. How can I do this? (in Tradestation this is a breeze…)

Avy

0

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