:
Strategy settings
The values in each formula of the form EMA(X,Y)>A, mean:
1) X,Y – time: a number after which there is a letter s or m or h (respectively: seconds, minutes, hours) or, if there is no letter, then the number is considered seconds, for example, in the formula EMA(30m,1)>1, X=30 minutes and Y = 1 second.
2) Sign > (more) or sign < (less)
3) A – value of what to compare it to (in percentage)
Principle of calculation: the average price Y seconds ago is compared to the average price X seconds ago:
Price(Y) / Price(X) > 1 + A / 100
In other words, Price(Y) is greater than Price(X) by A percent or less if there is a sign “<" (less) in the formula.