I'm trying to create a Heiken Ashi series out of my base time frame, and use the "HAOpen" portion of that series as input into another indicator.
Here's the code I'm using - is this the correct usage?
private HeikenAshi myHeikenAshi;
if (useHeikenAshi)
{
myHeikenAshi = HeikenAshi(BarsArray[z]);
momentumIndicators.Add(CRGMomentum(myHeikenAshi.HAOpen));
Print (Time[0] + ": " + "Added HeikenAshi successfully.");
}

Comment