How can get value of Trend line in EA

 
How can Object create for trend line and How can get value of Trend to set up break out entrt
 
Aung Swar:
How can Object create for trend line and How can get value of Trend to set up break out entrt


ObjectGetValueByShift

ObjectGetValueByShift - Object Functions - MQL4 Reference
ObjectGetValueByShift - Object Functions - MQL4 Reference
  • docs.mql4.com
The function calculates and returns the price value for the specified bar (shift related to the current bar). The price value is calculated by the first and second coordinates using a linear equation. Applied to trendlines and similar objects. To get the detailed error information, one has to call the GetLastError() function. When this function...
Reason: