ObjectSet changes not appearing on chart

 

Hello,

I'm attempting to get my advisor to draws its technical analysis on the chart in real time.

When I use ObjectSet to change parameters that would otherwise change the shape and size of the object, the changes are not being updated on the chart. In the code that draws prices from the technical analysis, the changes are being reflected. The only problem I have is the display of these objects.

I've tried using ChartRedraw() and WindowRedraw() but none of these have helped.

I have succeeded only by deleting the object entirely and redrawing it with the new parameters each time, but this seems redundant if I have one set object constantly being modified.


Thanks for your time!

 
  1. Do you really expect an answer? We can't see your broken code, there are no mind readers here, and our crystal balls are cracked.
  2. WindowRedraw is only necessary if your EA does not return from OnTick/start.