Shortcoming of the text help In the next text tutorial you make an SMA with a loop (and at the end they say you didn't need a loop for this). There seems to be built in "functions" which you can call within your code for your indicator. Within the example they use: barsAgo which appears to be a built in function - but nowhere can I find a list of all these built in functions. There should be because they will have a syntax with which they are called and function does something - which they assume they know so you should and they don't bother to say if you use this name as you own variable name stuff will blowup - or perhaps it won't work...?? http://screencast.com/t/Af7KZp3sD