Also can you point me to some help or a code example showing how to use the value of other symbols? For example my ES chart may have my custom indicator below it which is based on some market breadth symbol. What do I substitute for <<?>> below to get the current value of data feed symbol IRNT.Z?
protectedoverridevoid Initialize()
{
Add("IRNT.Z", BarsPeriod.Id, BarsPeriod.Value);
Add(new Plot(new Pen(Color.DarkCyan,3), PlotStyle.Bar, "AddDecRatio"));
DrawOnPricePanel = false;
Overlay = false;
}
protectedoverridevoid OnBarUpdate()
{
if (CurrentBarArray[1] > 0)
{
x = <<?>>;
// do some math on x here
AddDecRatio.Set( x );
}
}
Comment