time frame and indicators

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #22858 quote
    Abz
    Participant
    Veteran

    hello,

    is it possible to backtest in 5 min time fram but use indicators in days?

    i want to backtest in 5 min time fram but my RSI value has to be 14 days.

    #22859 quote
    Wing
    Participant
    Veteran

    Then multiply the RSI parameter value. If what your trading is open for 24 hours per day, it looks like this: (60/5)*24*14 = 4032 => RSI[4032]

    #22861 quote
    GraHal
    Participant
    Master

    Hi Abz

    Forgive the daft question from me … are you asking cos RSI is usually for 14 periods as RSI[14](close)?

    If No, then you could set the period for the number of 5 mins in 14 days (20,160) so RSI[20160](close) and run on the 5Min TF ... but such a wide variation is unusual surely?

    Cheers
    GraHal

    #22865 quote
    Abz
    Participant
    Veteran

    hello

     

    thanks for respond

    yes im looking for 14 days of RSI on oil or gold and other indicators as well and i thougt that pro realtime had a limitation of how many bars it coud look back and then 4032 woud be to much?

    #22866 quote
    GraHal
    Participant
    Master

    Ha apart from my calc being out by a factor 5! 🙂 Yes you would need to load 4050 preload bars

    DefParam PRELOADBARS
    
    GraHal
    
    
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.

time frame and indicators


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Abz @abbas_sadiq Participant
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by GraHal
9 years ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 01/28/2017
Status: Active
Attachments: No files
Logo Logo
Loading...