OPEN-SOURCE SCRIPT

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

מעודכן
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.
הערות שחרור
Sidenote: Nor is this indicator endorsed by TradeStation (I modified their indicator)
הערות שחרור
Plot is editable in Style
הערות שחרור
Added an MA Tooltip. Updated the default MA length to 5 from 8.
הערות שחרור
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)

סקריפט קוד פתוח

ברוח TradingView אמיתית, מחבר הסקריפט הזה פרסם אותו בקוד פתוח, כך שסוחרים יוכלו להבין ולאמת אותו. כל הכבוד למחבר! אתה יכול להשתמש בו בחינם, אבל השימוש החוזר בקוד זה בפרסום כפוף לכללי הבית. אתה יכול להכניס אותו למועדפים כדי להשתמש בו בגרף.

רוצה להשתמש בסקריפ זה בגרף?

כתב ויתור