The problem is that the plot is added to the intialize method which is called only once at the start of the program.
// variables Color MyColor = Color.Blue; // Initialize method Add(new Plot(new Pen(MyColor, 2), PlotStyle.Bar, "Volume")); //On Bar Update Method // logic here if(Close[0] > Open[0]) MyColor = Color.Green; etc ....
How can I make that works ?
Thank you
Comment