JustUncleL

Coloured MA R3-16 by JustUncleL

Dilihat 1702
257
1702 3
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:
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.
Catatan Rilis: Corrected bar colouring is some charts.
Corrected Anchor calculation for week/months.
Catatan Rilis: Minor Update:
Changed MA type input selection to an options list, new with V3 Pinescript.
Catatan Rilis: ... 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.
Catatan Rilis: 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.
Hilangkan dari Skrip-Skrip Favorit Tambahkan ke Skrip-Skrip Favorit
JustUncleL
Love your stuff, fantastic work and such a wonderful addition to this community.
Jawab
There is a small bug that sometime causes the Trend bars not to be coloured when the Grab candle option is used, if this happens in your case replace lines 158 and 159 with this:

barcolor(col_bars? useGrabClr? grabcol: stdcol :na, title = "Bar Colours")
Jawab
Here is the Grab candle coloured Trend Bars:


And "Anchor" set to 1440, this displays the 8EMA of the Daily on the 60min chart:
Jawab
Beranda Penyaring Saham Penyaring Forex Penyaring Crypto Kalender Ekonomi Bagaimana Cara Kerjanya Fitur-Fitur Chart Harga Akun Tata Tertib Moderator Solusi Website & Broker Widget-Widget Solusi Charting Dapatkan Bantuan Permintaan Fitur Blog & Berita Yang Sering di Tanyakan Wiki Twitter
Profil Pengaturan Profil Akun dan Penagihan Dapatkan Bantuan Ide Terpublikasikan Pengikut Telah Mengikuti Pesan Pribadi Obrolan Keluar