Maybe try the suggestions below:
- Add all plots in the initialize method. Understand that they are just placeholders for the values you are to set in the case statements.
- Instantiate all DataSeris as well in Initialize method.
- You may call your other methods, but reserve the types of statements here to those that you would typically see in OnBarUpdate()
- Don't use the word Indicator. It might not be conflicting here, but since it's the name of the class, it's safer to use another word.
Comment