You use Objects, more specifically ObjectCreate with OBJ_HLINE and then use ObjectSet to set properties such as colour and line thickness.

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
In my EA, there is current limit value for Buying or Selling operation !
I would like to draw 2 current limit lines by coding, instead of drawing manually !
So, which function should I study and use ?