Return variation percent % between the close of the last bar and close of the current bar.
Syntax:
1 |
Variation(price) |
Example:
1 2 3 4 5 6 7 |
//looking for statistical abnormal variation var = variation(high) averagingvar = 3*STD[20](exponentialaverage[20](var)) RETURN var, averagingvar |