Hi Guys
Trying to code a local time clock script but I'm not much of a programmer. Got a partial code in this regard. Anyone care to share such script if available or code it. It should be an easy task for a programmer. If possible to have the main clock and a reversed clock counting backwards in seconds. It's just going to be used to count the end of each candle, however I don't want an indicator because the indicator will just wait for chart ticks.
Something like that probably
Trying to code a local time clock script but I'm not much of a programmer. Got a partial code in this regard. Anyone care to share such script if available or code it. It should be an easy task for a programmer. If possible to have the main clock and a reversed clock counting backwards in seconds. It's just going to be used to count the end of each candle, however I don't want an indicator because the indicator will just wait for chart ticks.
Something like that probably
Inserted Code
double ld_0; double l_price_8; ObjectDelete(ScriptName); ObjectCreate(ScriptName, OBJ_LABEL, 0, 0, 0); ObjectSetText(ScriptName, "", 20, "Arial Black", CLR_NONE); ObjectSet(ScriptName, OBJPROP_COLOR, Yellow); ObjectSet(ScriptName, OBJPROP_CORNER, 1); while (ObjectFind(ScriptName) == 0) { ObjectSetText(ScriptName, TimeToStr(TimeLocal(), TIME_SECONDS), 20, "Arial Black", CLR_NONE);