Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Question - multi-timeframe example code, 15min bar crossover 1D bar #1210

Unanswered
kaustv-datta asked this question in Q&A
Discussion options

Could I get a code snippet for the following case please?

My data
1 min candles (OHLCV).

My strategy
Go Long: 15min candle close crosses over pervious day's high
Go Short: 15min candle close crosses below pervious day's low

I want to know what the most efficient way would be to upsample from 1min to 15min and daily data and then generate signals based on two higher timeframes. I have seen the multi-timeframe example on the website, but it showed how to work with an indicator, but not ohlcv.

Thanks!

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant
Converted from issue

This discussion was converted from issue #1031 on February 03, 2025 22:05.

AltStyle によって変換されたページ (->オリジナル) /