Say I load different data series in my strategy. Then, load the strategy on the primary data series in my chart. I also, load all the secondary appropriate data series on the chart as well. How can I BackBrush of the secondary data series and their chart regardless of what is happening on the primary data series.
[CODE] else if (State == State.Configure)
{
AddDataSeries("AUDUSD", new BarsPeriod { BarsPeriodType = BarsPeriodType.Day, Value = 1 }, "Forex");//9
AddDataSeries("NZDUSD", new BarsPeriod { BarsPeriodType = BarsPeriodType.Day, Value = 1 }, "Forex");//10
}
i'm setting a bool to true after XYZ happens. AUDUSD and NZDUSD bools are independent. I'd like to color the appropriate backbrush when the bool is set to true. Is that possible?
if(EnvironmentIsLong_CAD==true) { // BackBrush = Brushes.Aqua; } if(EnvironmentIsShort_CAD==true) { // BackBrush = Brushes.Coral; }
I'm able to use the above but that is only for the primary data series. is it possible to color a backbrush on secondary data series independently? IsGlobal is not an option for me b/c each bool is independent and I only want to appropriate chart to have it's own backbrush.
I did look under this and didnt find an answer:
Comment