I'm trying to code my basic indicator in NT8, but need some translation work from TOS to C#.
User defined Input:
Period = 1 (I want this to change
Nonadjustable input:
Length = 10 = default length
Indicator zScore math here:
zScore = (price - Average(price, length)) / StDev(price, length);
plot zScore = Average(price, length* period);
Thank you for any help provided. I'm new to both coding and NT 8.
my main questions is what is the code for the following pieces of the formula above?
is price = to close[0]
is Average = aveclose[0]

Comment