Draw TrendLine

 
Hi there,

Sorry for the basic question but - is it possible to programmatically draw a trendline between 2 points (ie. Close of 4AM bar and Close of 10AM bar)?

Thanks in advance!
 
stepwise:
Hi there,

Sorry for the basic question but - is it possible to programmatically draw a trendline between 2 points (ie. Close of 4AM bar and Close of 10AM bar)?

Thanks in advance!



Sure.

See ObjectCreate with OBJ_TREND parameter.
 
RickD:

Sure.

See ObjectCreate with OBJ_TREND parameter.
yes u can do
 
MohammedSafar:
yes u can do
You took almost 5 years to reply to that post . . . wow ! I'll come back in 2017 to see what you say to this post . . .
 
You can do it
 
Reason: