in NT7 it is possible to mix time based and range based charts in one chart-window (which I find great). Is it possible to do the same in a strategy? So trading the minute-chart while using the renko in the strategy conditions?
f.e.
protected override void Initialize()
{
Add(PeriodType.Renko, 20);
CalculateOnBarClose = true;
}
protected override void OnBarUpdate()
{
if (BarsInProgress != 0)
return;
// if Renko-SMA is rising
if (SMA(BarsArray[1], 50)[0] > SMA(BarsArray[1], 50)[1])
{
// do something...
}
}
Thanks a lot.
Joerg

Comment