Salt Lake City, UT
Experience: Intermediate
Platform: SC, NT, MT
Broker: AMP
Trading: NQ ES YM Bonds
Posts: 265 since Mar 2010
Thanks Given: 50
Thanks Received: 386
|
the examples in NT are a good place to start - they show you how to add a data series
for example the base chart can be the 1 minute chart
you could then add the 5 minute data series and the 15 minute data series
to obtain the high of the current bar you use Highs[0][0] for the 1 minute, Highs[1][0] for the 5 minute and Highs[2][0] - notice the s on the end....
in the onbarclose method you can also have a barsinprogress sections
if (BarsInProgress == 0) // chart base bar
{
}
else if (BarsInProgress == 1) //1st added data series
{
}
else if (BarsInProgress == 2) // 2nd added data series
{
}
I have an indi in the elite download called volprofile. It adds a 1tick data series
NOTE: there are some data series that you can add together, but they muck up the chart/graph. For example mixing time based data series and volume based data series can be done, but the bar charts do not draw correctly. I believe mixing those types in NT 7 requires you to keep track of the bar draws/prints and they get much more complex.
hope that helps....
|