Download MetaTrader 5

draw trendline

To add comments, please log in or register
Bro840
104
Bro840 2011.02.12 20:40 

how can i draw more than one trendline on chart.

i'm using the ObjectCreate function to draw trendlines on chart.

If i draw one trendline with this function and then use the same function again in order to create a second trendline, the first trendline disapears and only the new trendline can be seen.

some one can help me?? thanks!!!

Documentation on MQL5: Object Functions / ObjectCreate
  • www.mql5.com
Object Functions / ObjectCreate - Documentation on MQL5
Andriy Moraru
1261
Andriy Moraru 2011.02.13 11:25  
Bro840:

how can i draw more than one trendline on chart.

i'm using the ObjectCreate function to draw trendlines on chart.

If i draw one trendline with this function and then use the same function again in order to create a second trendline, the first trendline disapears and only the new trendline can be seen.

some one can help me?? thanks!!!

Do you use the same name for the object?
Bro840
104
Bro840 2011.02.13 14:10  
enivid:
Do you use the same name for the object?
omfg how could i be so blind i looked and looked again to find some id parameter and it always have been there . thank you very much. problem solved
To add comments, please log in or register