Stable_Camel

Unemployment Momentum Model

This model uses a Smoothed RSI to measure the momentum of the Civilian Unemployment Rate as published by FRED. The behavior of the unemployment rate makes it ideal for applying momentum-based timing techniques because it tends to rise sharply in a short time period and then declines gradually over a longer period. Using other basic momentum-based timing techniques also works well (e.g., EMA crossover, MACD, ROC, etc.)

Please note that you cannot trade the unemployment rate directly. This model is meant to help you understand the state of the current economy in the context of unemployment.

Kory Hoang (stably.io)
Script de código abierto

Siguiendo el verdadero espíritu de TradingView, el autor de este script lo ha publicado en código abierto, para que los traders puedan entenderlo y verificarlo. ¡Un hurra por el autor! Puede utilizarlo de forma gratuita, aunque si vuelve a utilizar este código en una publicación, debe cumplir con lo establecido en las Normas internas. Puede añadir este script a sus favoritos y usarlo en un gráfico.

Exención de responsabilidad

La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.

¿Quiere utilizar este script en un gráfico?
//@version=2
strategy("Unemployment Momentum Model", overlay=true)

price = close

basis = rsi(price, input(3))
rsiema = ema(basis, input(6))
trigger = input(50)

strategy.risk.allow_entry_in(strategy.direction.long)

if (crossover(rsiema, trigger))
    strategy.entry("RISING", strategy.long, comment="RISING")

if (crossunder(rsiema, trigger))
    strategy.entry("FALLING", strategy.short, comment="FALLING")