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)
開源腳本

本著真正的TradingView精神,該腳本的作者將其開源發布,以便交易者可以理解和驗證它。為作者喝彩吧!您可以免費使用它,但在出版物中重複使用此代碼受網站規則的約束。 您可以收藏它以在圖表上使用。

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。

想在圖表上使用此腳本?
//@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")