I cannot figure out how to calculate an EMA on the High of a Multi-Time Frame (as opposed to the Close)... I am trying to use the code below..
eg:
//Init Func
Add(PeriodType.Minute, 1);
Add(PeriodType.Minute, 5);
//UpdateBars Func
double value = EMA(BarsArray[2], 20)[0] //This works but is based on the close
double value = EMA(Highs[2][0], 20)[0]; //This does not work!
Help!!

Comment