How do you solve the problem with code? Is there an article at Codebase?
if the price change more then a point then move the objects of the indicator
version for mq5 is ready for proofreading in codebase mql5
version of mq4 it can be a bug in
void OnChartEvent(const int id,
const long &lparam,
const double &dparam,
const string &sparam)
//--- find the highest and lowest values of the chart
but if i place this logic in int OnCalculate( ......
it works there also ....
if you tried then show your attempt for getting help making it so we can guide you places where you go wrong
I try a lot, but the queries are too often, it is requested each tick for drawing the objects.
Would be the best if the creation of all past (day names) objects are in the OnInit-block and the creation of new day names take place only in the very first tick of a first new day bar, like TimeDayOfWeek(Time) != TimeDayOfWeek(Time) to avoid unnecessary queries.
a name and a date of the object