Programming with values from different resolutions, possible?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #4612 quote
    Willy
    Participant
    New

    Hello! I was thinking about making an indicator that tells you when the Stochastic value is over or under a sertain value in several different resolutions(weekly, Daily etc..) but i cant figure out how to get my indicator to find values from a different resolution then the one  that my PRT is set to. Is this even possible to do?

    //Willy

    #4625 quote
    Willy
    Participant
    New

    I know that you can use the TIMEFRAME function in screeners and it is something like that im looking for in my indicator..

    #4629 quote
    Nicolas
    Keymaster
    Master

    Hello Willy,

    The multitimeframe support will be available in a next prorealtime version. Actually, the best you can do is to do some little calculation to get higher timeframe values with multiplication of bars per period :

    Examples :

    _ Because there 4 bars of 1 hour into a 4 hour bar, multiplicate your indicators periods by 4

    _ There 12 bars of 5 minutes in 1 hour, so multiplicate your indicators periods by 12 to get 1h indicator on your 5 minutes chart

    (see image below)

    Of course, the results you get will not be as accurate as the real higher timeframe values but it is a very useful shortcut when you don’t have no other option.

    #4631 quote
    Willy
    Participant
    New

    Thanks alot Nicolas! I will do some calculations then.

    #5090 quote
    Real Pro
    Participant
    Average

    I am having the same difficulty.

    Say I’m using an MA from an hourly timeframe, and I want to access that value whilst in the 5 min timeframe.

    How would I go about that please?

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

Programming with values from different resolutions, possible?


ProBuilder: Indicators & Custom Tools

New Reply
Author
author-avatar
Willy @willy Participant
Summary

This topic contains 4 replies,
has 3 voices, and was last updated by Real Pro
9 years, 10 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 03/30/2016
Status: Active
Attachments: No files
Logo Logo
Loading...