
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
All of a sudden the text created by the object code shown below does not appear on my bar chart.
The objects list properly displays the name as "Objname4" but the description column now displays the word "Label" instead of the msg4 text?
The program compiles without error. What must I do to correct the problem?
ObjectCreate("ObjName4", OBJ_LABEL, 0, 0, 0);
msg4= "ratio: spread[$]//band[$]="+DoubleToStr(spread*conv_fac/(sell_buy_diff*conv_fac)*100, 0)+"%"
+" ratio: band//avg lng="+DoubleToStr(( sell_buy_diff/(avg_bar_length) )*100,0)+"%";
ObjectSetText("ObjName4",msg4,12,"Arial Black", Black);
ObjectSet("ObjName4", OBJPROP_CORNER, 0);
ObjectSet("ObjName4", OBJPROP_XDISTANCE, 0);
ObjectSet("ObjName4", OBJPROP_YDISTANCE, ydist_base_displace + v4);