different Pivot Points TimeFrame

Forums ProRealTime English forum ProOrder support different Pivot Points TimeFrame

Viewing 6 posts - 1 through 6 (of 6 total)
  • #57867

    Hi,

    I have two strategies but one based on crossing the Daily PP, the other one is based on crossing 4hrs PP.

    Looking at the code into both strategies, I do not see any differences…

    Q: How can the system recognise the different TF ??

    Thank you.

     

    #57871

    Just a thought … is one Strat running on Live and the other Strat on Demo?

     

    #57872

    Your 4 hours pivot points calculation at line 2 is incorrect, it is the Daily one (same as the one at line 6).

    Also, it is not a good idea to name 2 different variables with the same label like you did (indicator1 and c1). Code is read from top to bottom, so your first condition c1 will always be overridden by the one at line 7.

    #57873

    It doesn’t. The pivot points are just calculated off of yesterdays High, Low and Close which will be exactly the same whatever time frame you are in. The Pivot points will be at exactly the same levels.

    #58569

    I have added pictures to make it clearer 🙂 (so far thank you for your interest).

    Pictures shows the PP set up on 4 hours.

    The strategy below (c1: price crosses over  the PPr1 4hr)…but the code doesn’t show it, same as daily…

    #58572

    And daily details.

    I do not have glasses yet… perhaps I will consider bying a pair ;)) cause I do no see the difference…

    Thx

     

Viewing 6 posts - 1 through 6 (of 6 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login