TradingView
everget
18 apr 2018 17:35

Rocket RSI 

U.S. DOLLAR / CANADIAN DOLLARICE

Descrizione

Rocket RSI indicator script.

This indicator was originally developed by John Ehlers (Stocks & Commodities V.36:6, RocketRSI - A Solid Propellant For Your Rocket Science Trading).

Note di rilascio

- Added ability to choose the number of the poles of Super Smoother Filter
- Refactored

Note di rilascio

Refactored
Commenti
AlexManorov
awesome man!
everget
@AlexMayorov, thank you!
levith
get2PoleSSF(src, length) =>
arg = sqrt(2) * PI / length
a1 = exp(-arg)
b1 = 2 * a1 * cos(arg)
c2 = b1
c3 = -pow(a1, 2)
c1 = 1 - c2 - c3

ssf = 0.0
ssf := c1 * src + c2 * nz(ssf[1]) + c3 * nz(ssf[2])

src?arg?
everget
@levith, ? they were defined in the code, what's a problem?
levith
@everget, Sorry, I was wrong. Thank you for your answer.
Because arg was used twice, I was wrong.
Abdurasulov52381
Маладес
Altro