need help again

 

I'm working on an EA, and it's based on trendlines that i put on chart. How can i get the current  value of my trendline in my EA?  thanks. 

 

int OnTick ()
{
if (Bid < (trendline current value) ) // How can i extract current trendline value?

{ ...}

}
 

ObjectGetValueByTime()

ObjectGetValueByShift()


If you are writing code in mql4, please post in the dedicated section.