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")