extern int kktextNumber = "$$$";
- int = string makes no sense.
- kktextNumber is not used.
- Perhaps you should read the manual. ObjectCreate
- Object Functions - MQL4 Reference What subwindow is "$$$"?
bool ObjectCreate( string object_name, // object name ENUM_OBJECT object_type, // object type int sub_window, // window index datetime time1, // time of the first anchor point double price1, // price of the first anchor point datetime time2=0, // time of the second anchor point double price2=0, // price of the second anchor point datetime time3=0, // time of the third anchor point double price3=0 // price of the third anchor point );
ObjectCreate( kktextObjectName, OBJ_TEXT, "$$$", kktextTime, kktextPrice ⋮ ⋮ ⋮ );
- Where do you set the object's font to Wingdings?
- Where do you set the object's text? Usually by number:
enum Wingding { WD_THUMBSUP=67, WD_THUMBSDOWN, WD_DOT_LARGE=108, WD_SQUARE_FILLED_MEDIUM=110, WD_SQUARE_EMPTY_MEDIUM, WD_DIAMOND_SMALL=115, WD_DIAMOND_LARGE,WD_SQUARE_FILLED_MEDIUM_ROTATED=117, WD_SQUARE_FILLED_SMALL_ROTATED=119, WD_CIRCLE_EMPTY_0=128, WD_CIRCLE_EMPTY_1, WD_CIRCLE_EMPTY_2, WD_CIRCLE_EMPTY_3, WD_CIRCLE_EMPTY_4, WD_CIRCLE_EMPTY_5, WD_CIRCLE_EMPTY_6, WD_CIRCLE_EMPTY_7, WD_CIRCLE_EMPTY_8, WD_CIRCLE_EMPTY_9, WD_CIRCLE_EMPTY_10, WD_CIRCLE_FILLED_0, WD_CIRCLE_FILLED_1, WD_CIRCLE_FILLED_2, WD_CIRCLE_FILLED_3, WD_CIRCLE_FILLED_4, WD_CIRCLE_FILLED_5, WD_CIRCLE_FILLED_6, WD_CIRCLE_FILLED_7, WD_CIRCLE_FILLED_8, WD_CIRCLE_FILLED_9, WD_CIRCLE_FILLED_10, WD_DOT_SMALL=158, WD_DOT_MEDIAN, WD_CIRCLED_DOT=164, WD_SQUARE_FILLED_SMALL=167, WD_STAR_3=169, WD_STAR_4, WD_STAR_5, WD_STAR_6, WD_STAR_5_CIRCLED=181, WD_STAR_5_HOLLOW, WD_ARROW_UP_THIN=225, WD_ARROW_DN_THIN, WD_ARROW_UR_THIN=228, WD_ARROW_DR_THIN=230, WD_ARROW_UP_THICK=233, WD_ARROW_DN_THICK, WD_ARROW_UR_THICK=236, WD_ARROW_DR_THICK=238, WD_ARROW_UP_EMPTY=241, WD_ARROW_DN_EMPTY, WD_ARROW_UR_EMPTY=246, WD_ARROW_DR_EMPTY=248, WD_SQUARE_EMPTY_SMALL=250, WD_CROSS_SIGN, WD_CHECK_SIGN, WD_CROSS_SIGN_BOX, WD_CHECK_SIGN_BOX};
William Roeder:
- int = string makes no sense.
- kktextNumber is not used.
- Perhaps you should read the manual. ObjectCreate
- Object Functions - MQL4 Reference What subwindow is "$$$"?
- Where do you set the object's font to Wingdings?
- Where do you set the object's text? Usually by number:
Thank you very much, doing that now
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
I've been tying to amend this script to give me a text object "$$$" drop on chart.
it works, but says "Text" and i've been unable to make it say '$$$' or etc.
Would someone mind possibly pointing me in the right direction,
would be appreciated, thank you.