Jump to content
  • 0
Sign in to follow this  

ProRealTime - ProBuilder Timeframe




How can I set the timeframe in the code I'm trying to write for an indicator... I'm working on 2 minute charts but want to calculate levels based on the previous hours high/low and close....


I've tried using the TIMEFRAME command but can't seem to get it to work... the first part of the code is :


TIMEFRAME(60 minutes)

myH = ( HIGH[1] )
myL = ( LOW[1] )
myC = ( CLOSE[1] )


Thank you :)

Share this post

Link to post

1 answer to this question

Recommended Posts

  • 0



If you haven't figured out yourself meanwhile, the timeframe command only exists in ProScreener and can not be used in an indicator.

Also an indicator in the current version of PRT has no possibility to access anything from another timeframe than the chart it is running on.

Hopefully future versions will have this possibility.

Share this post

Link to post

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

You are posting as a guest. If you have an account, please sign in.
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Member Statistics

    • Total Topics
    • Total Posts
    • Total Members
    Newest Member
    Joined 25/10/20 20:04
  • Posts

    • Are you seeing what I'm seeing, Jasmin? 🤯
    • Look, I will gladly get paid to do technical analysis and never put another trade on in my life 😘
    • Here's the value of the Vanguard S&P 500 ETF tracker at the start of February and most recent price:     Here's the SPDR  S&P U.S. Dividend Aristocrats by comparison       The SPDR index has an annual yield of 2.53% and a five-year annualized return of 12.19% The Vanguard index has an annual yield of 1.47% and a five-year annualized return of 16.39%   So my question is, why would anybody choose the Dividend Aristocrat index over the S&P 500 index?