I am trying to build the indicator which would calculates the slope of the line connecting highest highs of the current and previous periods.
for ex., for current highest high I have
hi1=MAX(High,period)[0]
but when NT can't calculate the value of the similar formula
hi2=MAX(High,period)[period]
Moreover, for some strange reason, my NT installation can't even fetch data for Close[10] or Low[10]
what am I doing wrong?

Comment