Bar colour when price closes above/below MA (EMA,HMA,SMA)

M333

New member
Joined
Jan 6, 2020
Posts
2
Likes
0
Hello.

I would like to request ability to colour price bars when closing above/below a MA (EMA,HMA,SMA).


Many thanks.
 

Spin

Well-known member
Joined
May 22, 2019
Posts
477
Likes
191
I believe I can help :)

Add a MA to your chart (I chose EMA for this example) and click on the second tab 'Advanced'

165

EDIT: I only grasped half of the problem. MW's solution only colors the bars depending on the slope of the line / indicator / MA. The request made by the OP would require custom coding (but is certainly possible)
 
Last edited:

MotiveWave_Jason

Moderator
Staff member
Joined
Mar 26, 2019
Posts
224
Likes
101
Hello,

Spin is correct, the bar color is based off the MA slope.

I will add a request to color based on bar close above/below MA line.

Regards.
 

Spin

Well-known member
Joined
May 22, 2019
Posts
477
Likes
191
I coded this. Will appear in the market in a couple of days. Watch this space !! :)
 
Top