Measure the distance between price and Moving average

Created at 14 Feb 2021, 02:04
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
Fron's avatar

Fron

Joined 08.01.2020

Measure the distance between price and Moving average
14 Feb 2021, 02:04


Good Day, 

Is there a function where i can measure the price and Moving average before they  cross or touch ? 

here is the best example i can explain

vivapeiro


@Fron
Replies

PanagiotisCharalampous
15 Feb 2021, 09:20

Hi Fron,

I am not sure what kind of function are you looking for. This is just a subtraction.

Best Regards,

Panagiotis 

Join us on Telegram


@PanagiotisCharalampous

Fron
18 Feb 2021, 22:48

RE:

PanagiotisCharalampous said:

Hi Fron,

I am not sure what kind of function are you looking for. This is just a subtraction.

Best Regards,

Panagiotis 

Join us on Telegram

I was thinking something like a Gauge like function, it would tell the Percentage of the distance betweeen the two points price and MA,  as price  draws closer to the other or once  it crosses still calculate the differance from price and MA 


@Fron