Stuck WIth EMA Above Under Above

Forums ProRealTime English forum ProBuilder support Stuck WIth EMA Above Under Above

Viewing 5 posts - 1 through 5 (of 5 total)
  • #137059

    Hi

    I am trying to get a piece of code that measures a close below the ema above the ema and below the ema – I have come up with :-

    But its bust 🙁

    Any Help gratefully appreciated

     

    #137064

    Always use the ‘Insert PRT Code’ button when putting code in your posts to make it easier for others to read.

    Thank you 🙂

     

    1 user thanked author for this post.
    #137069

    Line 4:

    line 17:

    line 29:

    Lines 4 and 29 are identical, so I must be misunderstanding something.

    Moreover, my examples won’t detect adjacent occurrences only, but any occurrence.

    More detailed info on what you want to achieve would be beneficial.

    1 user thanked author for this post.
    #137143

    Thank you Roberto

    I really appreciate your help

    The reason for the duplicate is that I want to detect when the close is :-

    A. below both the 8 and 20 ema

    B. above both the 8 and 20 ema

    C. Back below both the 7 and 20 ema

    In that order

    I hope that’s clearer

     

    #137246

    There you go:

     

    1 user thanked author for this post.
Viewing 5 posts - 1 through 5 (of 5 total)

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