Download MetaTrader 5

Channel - MQL function or generic formulas

To add comments, please log in or register
No time for trading? Subscribe to signals!
Faisal Mahmood
245
Faisal Mahmood 2015.12.31 11:25 

I what to know how channel objects are constructed, i.e. is there a function to look into the values or is there a formula for these?

The channels I am after are:

"Linear Regression Channel"
"Standard deviations Channel"
"Equidistant Channel"
"Andrew's Pitchfork"

Enrico Lambino
4323
Enrico Lambino 2016.01.03 18:13  
Faisal Mahmood:

I what to know how channel objects are constructed, i.e. is there a function to look into the values or is there a formula for these?

The channels I am after are:

"Linear Regression Channel"
"Standard deviations Channel"
"Equidistant Channel"
"Andrew's Pitchfork"

You will need to create the object first using ObjectCreate (or manually), then access a specific value on the drawn object using ObjectGetDouble.
Alain Verleyen
Moderator
30743
Alain Verleyen 2016.01.04 14:40  
Enrico Lambino:
You will need to create the object first using ObjectCreate (or manually), then access a specific value on the drawn object using ObjectGetDouble.

?

You probably mean ObjectGetShiftByValue

Enrico Lambino
4323
Enrico Lambino 2016.01.04 19:47  
Alain Verleyen:

?

You probably mean ObjectGetShiftByValue

Oops. Yes, you are right. ObjectGetShiftByValue it is.
To add comments, please log in or register