OPEN-SOURCE SCRIPT

Colored Moving Averages With Close Signals[Whvntr][TradeStation]

Mis à jour
Plots the first time the close price is above or below the colored portion of the chosen MA. The MA's formula is from TradeStation's indicator: "Colored Moving Averages Can Help You Spot Trends". I modified that indicator with customizations that include: Buy and Sell signals. Each time the current bar closes above the MA, while it's red (bearish), there's a Sell label at the start of that MA trend. Likewise: each time the current bar closes below the MA, while it's white (bullish), there's a Buy label at the beginning of that MA trend. You can now, also, easily see which MA you are selecting by hovering your cursor over the tooltips icon. I've included a modified Hull MA as default because I've found this SMA combination with the WMA to be a very smooth oscillation. I've also added some different types of MA's. Colored moving averages are helpful to determine when a trend may be reversing.

MA's
‎1 · Modified Hull MA: (SMA of the WMAs Hull Formula)
2 · Hull MA
3 · Exponential Moving Average
4 · Weighted Moving Average
5 · RMA Moving Average used in RSI
6 · Volume Weighted MA
7 · Simple Moving Average

This indicator isn't endorsed as a guarantee of future, favorable, results.
Notes de version
Sidenote: Nor is this indicator endorsed by TradeStation (I modified their indicator)
Notes de version
Plot is editable in Style
Notes de version
Added an MA Tooltip. Updated the default MA length to 5 from 8.
Notes de version
Alternate settings idea: MA #5(RMA), length 7

https://www.tradingview.com/x/92vY79tj/
coloredmasHull Moving Average (HMA)moving_averagesignalsSimple Moving Average (SMA)whvntrWeighted Moving Average (WMA)

Script open-source

Dans le plus pur esprit TradingView, l'auteur de ce script l'a publié en open-source, afin que les traders puissent le comprendre et le vérifier. Bravo à l'auteur! Vous pouvez l'utiliser gratuitement, mais la réutilisation de ce code dans une publication est régie par nos Règles. Vous pouvez le mettre en favori pour l'utiliser sur un graphique.

Vous voulez utiliser ce script sur un graphique ?

Clause de non-responsabilité