I'm trying to normalize the data obtained from an EMA by its maximum value over a period of 256 candles. Something like this....
public Series <double> ema_set;
public Series <double> ema_set;_norm
double ema14 = EMA(...)[0];
ema_set = ema14;
ema_set_norm = ema_set / ema_set.Max();
But it's not working like this, or when using other alternatives like Math.Max().
Any suggestions?
Thanks guys

Comment