How to draw trendline using Buffer?

 

Is there any way to draw a trendline connecting to two points

without using Objects?

DRAW_LINES only have PLOT_DRAW_BEGIN but its not working for two connecting points
so i am curious to know what is the other way it can be done


Thanks

Documentation on MQL5: Custom Indicators / Indicator Styles in Examples / DRAW_LINE
Documentation on MQL5: Custom Indicators / Indicator Styles in Examples / DRAW_LINE
  • www.mql5.com
DRAW_LINE - Indicator Styles in Examples - Custom Indicators - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5