Persistent Variable After Input CHange - page 2 12 New comment rwh0965 2023.04.01 22:12 #11 This creates it, but when I change an input, it still blanks it out. I don't have anything in the deinit now. if(ObjectFind(0,"dd_label") < 0) { ObjectCreate("dd_label", OBJ_LABEL, 0, 0, 0); ObjectSetText("dd_label","Max Daily Drawdon",9, "Consolas", Black); ObjectSet("dd_label", OBJPROP_CORNER, 0); ObjectSet("dd_label", OBJPROP_XDISTANCE, horizontal_offset+10); ObjectSet("dd_label", OBJPROP_YDISTANCE, vertical_offset+160); } if(ObjectFind(0,"dd_val") < 0) { ObjectCreate("dd_val", OBJ_LABEL, 0, 0, 0); ObjectSetText("dd_val", rightAlign(DayLowFloatingProfit, 9, 2), 9, "Consolas", Black); ObjectSet("dd_val", OBJPROP_CORNER, 0); ObjectSet("dd_val", OBJPROP_XDISTANCE, horizontal_offset+335); ObjectSet("dd_val", OBJPROP_YDISTANCE, vertical_offset+160); } 12 New comment
This creates it, but when I change an input, it still blanks it out. I don't have anything in the deinit now.