Professional Documents
Culture Documents
0 at
https://mozilla.org/MPL/2.0/
// � quantgym
study(title="Linear Regression of ADX", shorttitle="TrendFilter")
up = change(high)
down = -change(low)
minus = fixnan(100 * rma(down > up and down > 0 ? down : 0, len) / trur)
sum = plus + minus