I want to plot the live daily pivot (i.e. H+L+C / 3 )
The current day's high + current day's low + today's last ) / 3
and static daily pivot (i.e. H+L+C / 3 )
The previous days high + previous days low + previous days close) / 3
This needs to plot on an intra-day volume chart...
Here is what I have thus far please.
protected override void OnBarUpdate() { if (Bars == null) return; pivotLIVE = (CurrentDayOHL().CurrentHigh[0] + CurrentDayOHL().CurrentLow[0] + Close[0] ) / 3; pivotPREVIOUS = (Bars.GetDayBar(1).High + Bars.GetDayBar(1).Low + Bars.GetDayBar(1).Close ) / 3;
Comment