Indicators: Dominant_Color

 

Dominant_Color:

An indicator of the dominant direction of closing of bars.

It has two parameters:

  • Period - period;
  • Method - calculation method.

Calculation:

DC = MA(Diff)

where

Diff = Close - Open

Author: Scriptor