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
オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

免責事項

これらの情報および投稿は、TradingViewが提供または保証する金融、投資、取引、またはその他の種類のアドバイスや推奨を意図したものではなく、またそのようなものでもありません。詳しくは利用規約をご覧ください。

チャートでこのスクリプトを利用したいですか?