Reply

How To compare MA values shift 1 & 2 to get angle

1 replies

Julianrob

Customer, bbp_participant, community, 54 replies.

Visit profile

9 years ago #113039

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..

 

 

 

 

 

0

Julianrob

Customer, bbp_participant, community, 54 replies.

Visit profile

9 years ago #128102

Problem fixed.

 

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

0

Viewing 1 replies (of 1 total)