I am getting 2 Warning but I tried " (string) (Font_name) " New comment Vikram J U 2023.12.19 08:10 Sir, I am getting 2 Warning but I tried " (string) (Font_name) " . double Balance = AccountInfoDouble(ACCOUNT_BALANCE); double Equity = AccountInfoDouble(ACCOUNT_EQUITY); string Balance_text = "Balance = "+DoubleToString(Balance); string Font_name = "Tahoma"; // Set Create Object properties ObjectCreate(0,"l_Balance",OBJ_LABEL,0,0,0); // Object Font name ObjectGetString(0,"l_Balance",OBJPROP_FONT,((string)(Font_name))); // Object Font Size ObjectGetInteger(0,"l_Balance",OBJPROP_FONTSIZE,24); // Object Label Text ObjectGetString(0,"l_Balance",OBJPROP_TEXT,((string)(Balance_text))); // Set distance from left boarder ObjectGetInteger(0,"l_Balance",OBJPROP_XDISTANCE,5); // Set distance from upper boarder ObjectGetInteger(0,"l_Balance",OBJPROP_YDISTANCE,10); After I tested it but it doesn't work label to chart... Please see this Attached photo 👇 Files: Screenshot_i185.png 111 kb Fabio Cavalloni 2023.12.19 09:02 #1 I think you want to use ObjectSet instead of ObjectGet Vikram J U 2023.12.19 09:14 #2 Fabio Cavalloni #: I think you want to use ObjectSet instead of ObjectGet I am sorry Sir.. I wronged this "ObjectGetInteger" But I used this "ObjectSetInteger" if it is working... Thanks you Sir New comment
Sir,
I am getting 2 Warning but I tried " (string) (Font_name) " .
After I tested it but it doesn't work label to chart...
Please see this Attached photo 👇