Hi, well I’m sure its obvious to someone, but when I try to put in the syntax for a wilderaverage the help is of no help. I want the syntax for wilderaverage 4 periods, horizontal shift -1. vertical shift 0 applied to close
No matter how I write it, parenthesis, brackets, commas. I can’t seem to put it in without syntax errors, yet the help states you can spcify them , just doesnt tell you the correct syntax.
A simple thing, but I must be missing something.
Anyone spell this out for me? Be appreciated.
Thanks
Horizontal shift is just a way to get the current value moved visually on the right or the left , so what do you expect exactly?
LOL.. 🙂 hmmm, ok, clearly not thinking about it too deeply here…. that being the case its not of much value… I’ll mess about a bit more… Twas looking at crosses that may be of some value scalping. Wanted that variance in current time of course. I’ll mess about with programming perhaps..
Cheers Robert.
Get the Xth previous value of a variable:
x = 5 //period offset
var = wilderaverage[20](close)
varX = var[x]
return varX
Ok cheers Nicolas. I will take a mosey at that.