JustUncleL

Coloured MA R3-16 by JustUncleL

JustUncleL Wizard מעודכן   
This indicator is an implementation of the coloured trend Moving Average, that includes some unique features. The Moving Average plot is coloured relative to it's direction and optionally display coloured Trend Bars using the standard 2-tone colours, or Grab candle style 4-tone colours.

Options:
1) Anchor Time Frame to a Highter Time frame, eg. set anchor to 1440 and length set to 8, the script will re-size the MA length needed to display on the current TF, say 60.

2) You can select between 11 different types of moving averages, each MA line can be a different type:
  • SMA = Simple Moving Average.
  • EMA = Exponential Moving Average.
  • WMA = Weighted Moving Average
  • VWMA = Volume Weighted Moving Average
  • SMMA = Smoothed Simple Moving Average.
  • DEMA = Double Exponential Moving Average
  • TEMA = Triple Exponential Moving Average.
  • HullMA = Hull Moving Average
  • SSMA = Ehlers Super Smoother Moving average
  • ZEMA = Near Zero Lag Exponential Moving Average.
  • TMA = Triangular (smoothed) Simple Moving Average.

3) Option to display coloured Candles around the Ribbon, the colouring -
Standard candle colours:
  • Lime = candle closed above Ribbon.
  • Red = candle closed below Ribbon.
The Grab candles scheme:
  • Lime = Bull candle closed above Ribbon.
  • Green = Bear candle closed above Ribbon.
  • Red = Bull candle closed below Ribbon.
  • DarkRed = Bear candle closed below Ribbon.
הערות שחרור:
Corrected bar colouring is some charts.
Corrected Anchor calculation for week/months.
הערות שחרור:
Minor Update:
Changed MA type input selection to an options list, new with V3 Pinescript.
הערות שחרור:
... Minor Bug Fixes

  • Corrected Anchor calculation for non-Intraday.
  • Added implied GPL Copyright notice.
  • Corrected some header notes.
3) Option to display coloured Candles based on MA direction, the colouring uses:
Standard candle colour scheme:
  • Lime = MA trend direction up.
  • Red = MA Trend Direction Down.
Grab candles colour scheme:
  • Lime = Trend up, Bull candle.
  • Green = Trend Up, Bear candle.
  • Red = Trend Down, Bull candle.
  • DarkRed = Trend Down, Bear candle.
הערות שחרור:
Minor Update
  • Change Anchor to be based purely on Minutes, so 1 month=30240mins (21 trading days),1 week=7200mins (5 trading days), 1 Day=1440mins. This makes it more consistent across intraday and extraday chart Timeframes.
הערות שחרור:
Revision 16-Dec-2019 R4-1
  • Upgraded to Version 4 Pinescript
  • Updated zerolag formula.
  • Added Alert for each change in direction of moving average (color change).
  • Added option to change the lookback length for Direction change detection.
  • Added option to color background with MA Direction.


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

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

כתב ויתור

המידע והפרסומים אינם אמורים להיות, ואינם מהווים, עצות פיננסיות, השקעות, מסחר או סוגים אחרים של עצות או המלצות שסופקו או מאושרים על ידי TradingView. קרא עוד בתנאים וההגבלות.

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