Get Pointsizes and direction from different timeranges

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #101406 quote
    Ruven JR. Maerson
    Participant
    New

    Hello Guys,

    glad to be part of this great community. Hopefully i can give sth. back soon.

    I am experimenting with the programming after reading the documentation (very short) and watching the tutorial videos. Great to get an idea. But is there an advanced documentation out there? I saw the advanced videos, but this is not enough to understand the programming deeply, i think.

    What is the easiest way to get the pointsize with the direction of  the last 1 hour, 4 hour, 7 days and so on, when i use e.g. the 5 min Chart like:

    last 1 hour: 83 (long)
    last 4 hours: 43 (short)
    last 3 days: 285 (long)

    As i understand i would use the current price and then get the opening price of the timeframe above.

    I would like to use it for an indicator which is using some probability calculation combining also pointsize and directions of different timeframes. As i said i am experimenting a bit 😉

    In ProOrder i can use timeframes for this i think, but in indicator i cannot, correct? Which options do i have?

    Sorry when the question was posted before but the search function does not find sth. in this direction and you cannot filter to only search the forums – why?

    I appreciate any ideas

    Thank you

    Ruven

    #101410 quote
    GraHal
    Participant
    Master

    What is the easiest way to get the pointsize

    Are we talking the same thing here?

    Pointsize / pipsize is fixed for each market and can be found by hovering over the ! on any market (an example is shown at the red arrowhead on attached).

    Ruven.jpg Ruven.jpg
    #101412 quote
    Vonasi
    Moderator
    Master

    GraHal – that’s an (for information) and not a 

    Unless your laptop is upside down.

    GraHal thanked this post
    #101499 quote
    Nicolas
    Keymaster
    Master

    I may be wrong but I think that Ruven is talking about an indicator that tell how many points and in which direction the market has moved since the last opening of each timeframe candlestick.

    (waiting for more explanation).

    The advanced training videos teach you how to cook! Then .. you decide what recipes you’ll do with this new ability 😉

    #101513 quote
    Ruven JR. Maerson
    Participant
    New

    I may be wrong but I think that Ruven is talking about an indicator that tell how many points and in which direction the market has moved since the last opening of each timeframe candlestick.

    Exactly Nicolas! My idea is an idicator which gives me from now (the current price) how many points the price is up or down since the last 1 Hour, 4 Hours, Days etc. Maybe you can give me a simple example which way i should go. Thank you!

    I will give the advanced Videos a try, but i normally prefer advanced or extended documentation which i can refer to, when needed. Is there any out there? The documentation from the help section seems to be just for the first steps.

    Ruven

    #101535 quote
    Nicolas
    Keymaster
    Master

    Well, there is no built-in instruction for that, you have to make the calculation by yourself.

    To get the last hour price change, you can try with:

    if hour<>hour[1] then //hour change on the current bar 
     start=close //reset the starting price of the calculation 
    endif
    
    diff = (close-start)/pointsize //make the different in pips/point
    
    return diff

    Or you could change the condition to reset the start price at precise hours:

    if hour=000000 or hour=040000 or hour=080000 then //hour change on the current bar 
     start=close //reset the starting price of the calculation 
    endif
    
    diff = (close-start)/pointsize //make the different in pips/point
    
    return diff

    (not tested)

    #101555 quote
    Ruven JR. Maerson
    Participant
    New

    Hey Nicolas,

    thank you for your ideas. You are a real pro. Reffered to my question above. Are there any extended documentation out there? I wonder that i didnt find sth.For the metatrader i used since years, there are plenty books and Tutorials out there. Also the documentation is way bigger and more complete.
    Anyway i really like the prorealtime plattform, so i will give a try.

    #101556 quote
    Nicolas
    Keymaster
    Master
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.

Get Pointsizes and direction from different timeranges


ProBuilder: Indicators & Custom Tools

New Reply
Summary

This topic contains 7 replies,
has 4 voices, and was last updated by Nicolas
6 years, 7 months ago.

Topic Details
Forum: ProBuilder: Indicators & Custom Tools
Language: English
Started: 06/25/2019
Status: Active
Attachments: 1 files
Logo Logo
Loading...