Program formula language
As I mentioned in a previous post the formula language is array based. Almost all functions work on array and return an array as result. Using the available functions the user can write his own studies/indicators to perform simple or more complex calculations. More complex calculations can be performed by using the conditional statement iif ( expresion to evaluate, case true, case false ) which is also know as the ternary operator in old programming languages or -if then else statement- found in most programming languages. Aside from iif statement to perform more complex calculations a user can assign an array to a variable which can me then reused anywhere in the program. This variable will be an array as well . For example the function sma(close,20) calculates a simple moving average of the close price but if you want to reuse it in other calculation will be more simple to assing a shorter variable to reffer to it. So you would say vrb1 : sma(c...