rtrader
05-22-2010, 04:10 PM
In v7, I notice that when I create a drawing object programatically in an indicator - e.g. a regression channel - and then clicking on it, the properties "Attach to" is greyed out even when unlocked. It cannot be changed as far as I can see.
Is there any way of:
1) Creating a drawing object - in code only - on one chart and propagating it across other charts?
2) Creating a manually drawn object on one chart, propagating it across other charts (via "Attach To") but then have an indicator on one chart which will modify it. This should in turn modify the other objects on the other charts.
All I have found is a reference to global objects tags having "@" as the first character and "global" as a prefix to the drawing object name but no other information on how the above might be done.
Any help or code would be much appreciated. Thanks.
Is there any way of:
1) Creating a drawing object - in code only - on one chart and propagating it across other charts?
2) Creating a manually drawn object on one chart, propagating it across other charts (via "Attach To") but then have an indicator on one chart which will modify it. This should in turn modify the other objects on the other charts.
All I have found is a reference to global objects tags having "@" as the first character and "global" as a prefix to the drawing object name but no other information on how the above might be done.
Any help or code would be much appreciated. Thanks.