After searching and reading what's available online (http://www.ninjatrader.com/support/f...ead.php?t=4991) and downloading the "SampleBoolSeries.zip", I'm still confused about the steps required.
How do I call the OHLC from the "PriorDayOHLC" indicator (variables are below)? Do I create BoolSeries and used them in the calculations? What is needed for the #region Properties?
Thanks for the help.
#region Variables
// Wizard generated variables
// User defined variables (add any user defined variables below)
private DateTime currentDate = Cbi.Globals.MinDate;
privatedouble currentOpen = 0;
privatedouble currentHigh = 0;
privatedouble currentLow = 0;
privatedouble currentClose = 0;
privatedouble priordayOpen = 0;
privatedouble priordayHigh = 0;
privatedouble priordayLow = 0;
privatedouble priordayClose = 0;
privatebool showOpen = true;
privatebool showHigh = true;
privatebool showLow = true;
privatebool showClose = true;
#endregion
void Initialize()
{
Add(new Plot(Color.Orange, PlotStyle.Hash, "Prior Open"));
Add(new Plot(Color.Green, PlotStyle.Hash, "Prior High"));
Add(new Plot(Color.Red, PlotStyle.Hash, "Prior Low"));
Add(new Plot(Color.Firebrick, PlotStyle.Hash, "Prior Close"));
Comment