FX365_Thailand

Color Changing MACD

Japanese below / 日本語説明は下記

This indicator shows MACD with its colors changing based on trend strength.

The purpose of this indicator is to visually understand phases of trends, which are beginning, advancing and ending, measuring the range between MACD line and signal line.

Since MACD is originated from moving average, the range between MACD line and signal line gradually expands as trends progress while the range gets narrowed as trends come closer to the end. The indicator visualizes this characteristics.


The colors change as follows:
Green: In bullish trend, the range between MACD and signal gets expanded from previous candle, which indicates up trends continue

Purple: The range between MACD and signal gets narrowed from previous candle, which indicates trends gradually come to end.

Red: In bearish trend, the range between MACD and signal gets expanded from previous candle, which indicates down trends continue

See the chart below.



Features
  • Coloring
MACD line and signal line's colors change according to the logic above.
You can also fill the gap between MACD line and signal line with the same color changing logic as lines.
  • Signals
Golden cross and death cross signals can be displayed.
  • Alert
Alerts can be set when golden and death crosses occur.


---------------------

トレンドの強弱で色が変わるMACDのインジケーターです。トレンドが初期、進展期、終了期と移り変わる様子を視覚的に判断できることを目的に開発しています。
トレンドの強弱はMACDラインとシグナルラインの幅で判断します。

MACDは移動平均線を元にしたインジケーターであるため、トレンドが進展するにつれMACDラインとシグナルラインの幅は徐々に広がります。一方で、トレンドが終盤に差し掛かかるにつれ上記の幅は狭まります。インジケーターはこのMACDの特徴を色で可視化します。


色は以下の通り変化します。
緑:上昇トレンドにおいて、MACDラインとシグナルラインの幅が前のローソク足のそれよりも拡大している場合
=>トレンドの勢いが強まっていることを示唆

紫:MACDラインとシグナルラインの幅が前のローソク足のそれよりも縮小している場合
=>トレンドの勢いが弱まっていることを示唆

赤:下降トレンドにおいて、MACDラインとシグナルラインの幅が前のローソク足のそれよりも拡大している場合
=>トレンドの勢いが強まっていることを示唆


サンプルチャート


機能

  • 色変更
上記のロジックでMACDとシグナルラインの色を変更します。また両ラインの間をラインと同じロジックで塗りつぶすことも可能です。
  • シグナル
ゴールデンクロスとデッドクロスでシグナルを表示
  • アラート
ゴールデンクロスとデッドクロスでアラートを設定可能

■”なぜ”がわかる相場分析
・チャートの動きというファクトを元に
・客観的かつロジカルに
・初心者でもわかるように
相場展望を解説

Followすると投稿の度に通知が届きます。
bit.ly/3s888QI

■Editor's Pick
bit.ly/3pkLCEl

■Blog
bit.ly/2VPAMJk

■Indicator
bit.ly/3lmWYFk

■Membership
bit.ly/3zvLkPG
Script open-source

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzarlo gratuitamente, ma il riutilizzo del codice è subordinato al rispetto del Regolamento. Per aggiungerlo al grafico, mettilo tra i preferiti.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questo script sui tuoi grafici?