// Initialize method of a custom indicator protected override void Initialize() {
// Lines are added to the Lines collection in order Add(new Line(Color.Gray, 30, "Lower")); // Stored in Lines[0] Add(new Line(Color.Gray, 70, "Upper")); // Stored in Lines[1] }
// Dynamically change the upper line's color and thickness based on the indicator value