thank u very much from yr idea and time, i appreciate it
i also not that familiar on draw object block.
my desire function is to get data value from "horizontal line", then assign to a variable. This is to create No matter how i suddenly close MT4 then open again, i wish able to remain the data for variable, because in fact when we close MT4, all variable become 0 as initial. we need a draw object help
Such as GOLD buy order placed 1900, SL 1895, TP 1910, horizontal line is drawn at 1895 and 1910. The horizontal line is to trace back the SL and TP, this customer want.