A serious question about the programme - page 3

 
after changing object properties, use the ObjectsRedraw function
 
The Profit - Loss value is updated with every tick and the processing of data from the indicator is very slow :(
 
We tried ObjectsRedraw, it turns out that the indicator readings in the label are corrected only with a new candle. And it should be corrected with every tick...
 
I couldn't get the output speed with the indicator. Moved it to EA and it seems to have stopped lagging...
 
"Dad, who were you talking to just now?"
 
We make an indicator similar to a zigzag. But when a new candlestick appears, this new candlestick connects with the previous candlestick (e.g. the 5th candlestick). How to make a new candle connects to the 5th candle and not to the previous one (e.g. the 6th).
 
Is there a "new candle - redraw window" command?
 
the window is redrawn automatically after each new tick
 
When switching from one time scale to another, the incorrect display disappears until a new candle appears. That is, when switching from scale to scale, the window is somehow not redrawn as it is within one scale.
 
We need to insert a block of correct recalculation on the arrival of a new bar into the advisor's logic.