if(ObjectFind("Test") == -1) { ObjectCreate("Test",1,WindowPlace,0,0); ObjectSet("Test",OBJPROP_PRICE1,Place1); //Place1 value is 50 ObjectSet("Test",OBJPROP_COLOR,ColourChangeTest); ObjectSet("Test",OBJPROP_STYLE,STYLE_DASH); } double TestLine = ObjectGet("Test",1); Alert(TestLine); // I get value 65 on alert output (was set at 50) double GVtest=GlobalVariableSet("Gtest",TestLine); double Gettest=GlobalVariableGet("Gtest"); Alert(Gettest); // This value is 50 and not 65 ( on a fresh GlobalVariable )