Download MetaTrader 5

Drawing a trendline on the chart

To add comments, please log in or register
How to test a program before buying?
Eric Pedron
241
Eric Pedron 2010.08.25 20:53 

Hello, is there a function that will draw a line from the high of one bar1 to the high of another bar2 on the chart? Thanks..

 

ObjectCreate(0,"Resistance",OBJ_TREND,0,HighRightLocation,High, HighRightLocation2, HighRight); This does not work :( 

Documentation on MQL5: Standard Constants, Enumerations and Structures / Objects Constants / Object Types
  • www.mql5.com
Standard Constants, Enumerations and Structures / Objects Constants / Object Types - Documentation on MQL5
To add comments, please log in or register