Not logged in
Viewing 2 posts - 1 through 2 (of 2 total)

Forums>StrategyQuant>Application Support>How To compare MA values shift 1 & 2 to get angle

  • #113039 |
    Customer
    40 Posts

    The indicator angle function doesn’t seem to make sense. It’s like the co-efficient value should be on the right of the operator instead of being with the indicator, so specifying the difference in price value between shift 1 and 2 can work.

     

    Please, is there a way to compare the price values of moving average from shift 1 to shift 2?

     

    Here’s what I have so far;

     

    ((PriceDifference(EMA( 20 , Close )[2] – EMA( 20 , Close )[1]) > 0.0005)

     

    Not working, so tried this:

     

    (((EMA( 20 , Close )[1] – EMA( 20 , Close )[2]) > 0.0005)

     

    Still not working, then tried inserting ConvertToRealPips (5) for the end value. Still no luck. Someone please help..

     

     

     

     

     

    #128102
    Customer
    40 Posts

    Problem fixed.

     

    For those of you that want to know, I used the second code.

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

You must be logged in to reply to this topic.