Question - multi-timeframe example code, 15min bar crossover 1D bar #1210
              
                Unanswered
              
          
                  
                    
                      kaustv-datta
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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!
Beta Was this translation helpful? Give feedback.
All reactions