1) I know I can't use the Predefined Brushes because You cannot change their attributes. So first I defined a New SolidcolorBrush. That seemed to work but it quickly blew out as it seems to keep adding new brushes each time OnbarUpdate is called to process the code the logic and quickly reaches the max and errors out.
2) So referring to the documentation I added a CustomBrush to the User Dialog knowing that I should be able to alter the brush Opacity and this way won't have to keep generating Brushes. I Frooze the brush at each point But Now it still Blows out on New brushes but generates DirectX erros telling me the chart Rendering failed as well. Since I only generate the new brush once in the userDialog as per the documentation I do not understand this.
This Should not be this difficult but it has been dogging me for weeks. Attached is the Simple Code. Put two data Series on a chart with the shorter one candleStick and the Longer one a Box. Overlay them in the same panel. Put one copy of the indicator on each and load in Playback and by the time it Syncs up with the selected date you should replicate my problem.
One thing to add. It doesn't just generate Errors. It corrupts settings. Such as the Symbol it is applied to. It wiped the CL 01 -16 - 49 out and replace it with just close which generated its own error.
Thanks to anyone who can help.
Jerry