Download MetaTrader 5

Channel - MQL function or generic formulas

To add comments, please log in or register
Faisal Mahmood
245
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"

Enrico Lambino
5542
Enrico Lambino  
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
32555
Alain Verleyen  
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
5542
Enrico Lambino  
Alain Verleyen:

?

You probably mean ObjectGetShiftByValue

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