i only care the current bar value and want to display the value right below current bar. below is what i came up with and its not working. I'm new to programming, can some one please help, please....
Thanks
Chak.
protected override void Initialize()
{
Add(new Plot(Color.FromKnownColor(KnownColor.Orange), PlotStyle.Line, "Plot0"));
ChartOnly = true;
Overlay = true;
CalculateOnBarClose = false;
}
/// <summary>
/// Called on each bar update event (incoming tick)
/// </summary>
protected override void OnBarUpdate()
{
// Use this method for calculating your indicator values. Assign a value to each
// plot below by replacing 'Close[0]' with your own formula.
Value.Set((RangeCounter(true)[0] + Last[0]));
}
Comment