Backtest rsi different time frames

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #194740 quote
    mariamfi
    Participant
    New

    Hello

     

    If i want to use RSI of 1H time frame but for backtesting 15min time frame.

     

    How can i do that?

    #194741 quote
    robertogozzi
    Moderator
    Master

    Use the MTF (Multiple Time Frame) support. Searching for this word will return tons of info on how you can deal with it.

    Anyway, this is the code. You can use the variable Rsi1H in your 15-minute TF:

    Timeframe(1h,UpdateOnClose)
    Rsi1H = Rsi[14](close)
    Timeframe(15mn)
     .
     .
    graph Rsi1H
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Backtest rsi different time frames


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
mariamfi @mariamfi Participant
Summary

This topic contains 1 reply,
has 2 voices, and was last updated by robertogozzi
3 years, 8 months ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 06/06/2022
Status: Active
Attachments: No files
Logo Logo
Loading...