sonthanhthuytu:
Lines that I create by ObjectCreate are always set on Red by default.
I wonder if we can customize the color as expected ?
Thanks for every help.
Dear sonthanhthuytu,
Use your MetaEditor to get the answer. Open your MetaEditor > Navigator window Ctrl + D > dictionary tab > Object Function > ObjectSet and use OBJPROP_COLOR.
sonthanhthuytu:
Yes, read the Documentation . . . Object functions and more specifically ObjectSet() with OBJPROP_COLOR
Lines that I create by ObjectCreate are always set on Red by default.
I wonder if we can customize the color as expected ?
Thanks for every help.
For example ...
ObjectCreate( "regress",OBJ_REGRESSION,0,Time[last],Open[last],Time[first],Open[first]); ObjectSet ( "regress", OBJPROP_COLOR, Yellow);

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
Lines that I create by ObjectCreate are always set on Red by default.
I wonder if we can customize the color as expected ?
Thanks for every help.