Jump to content
  • 0

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 :)

Link to comment

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.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • General Statistics

    • Total Topics
    • Total Posts
    • Total Members
    • Most Online
      10/06/21 10:53

    Newest Member
    Joined 01/12/21 18:33
  • Posts

    • Hi I would like to buy a few gold sovereign coins to keep for a couple of years or so then sell on later in the hope of beating hyper inflation I was told not to buy them online or mail order because the postage is very expencive and I was told to buy them in person I live in Manchester, UK. Surgestions please on where to look if considering buying. Buying somewhere that is safe so I know I am getting real gold and somewhere that dose not charge an extortion on broker fees? I was also told to avoid jewelers has there transaction fees where extortion   Thanks
    • Hi Looking at buying a cheap and safe cold wallet in the UK Any surgestions please?
    • Stunning interview with Robert F. Kennedy Jr about his new book 'The Real Anthony Fauci'.  'Bill Gates, Big pharma and the global war on democracy and public health'. Over 40 years a lawyer on environmental issues in the interview he drops bombshell after bombshell of meticulously researched facts from his book around public servant Fauci, who stands to make billions, Gates + Pharma (who have already made billions), the CDC, FDA and NIH, the vaccines and VAERS, also the explosion of numbers suffering chronic disease since the 80s and more. (50 min)      
  • Create New...