Hi guys, I've the mq4 of this macd-osma indicator that can show different colors if a macd bar is higher or lower than the previous one. Now i'm using it with green and red colors (and a yellow SMA), green if the current bar is higher than the previous (macd above 0) or the current bar is lower than the previous (macd under 0) and viceversa for the red.
Now.. What i need, if possible, is the color change when a bar pass from under the SMA to above it (red to green) or when a bar pass from above the SMA to under it (green to red). Don't consider the current bar lower or higher than the previous one. If the bar closed touching the SMA, it must show the previous candle's color.
I post a pic to let you understand what I mean.
The sma that i mean is the "SignalMA" that can be found in the indicator's settings.
Thanks to all who will accept this challenge !
Hi guys, I've the mq4 of this macd-osma indicator that can show different colors if a macd bar is higher or lower than the previous one. Now i'm using it with green and red colors (and a yellow SMA), green if the current bar is higher than the previous (macd above 0) or the current bar is lower than the previous (macd under 0) and viceversa for the red.
Now.. What i need, if possible, is the color change when a bar pass from under the SMA to above it (red to green) or when a bar pass from above the SMA to under it (green to red). Don't consider the current bar lower or higher than the previous one. If the bar closed touching the SMA, it must show the previous candle's color.
I post a pic to let you understand what I mean.
The sma that i mean is the "SignalMA" that can be found in the indicator's settings.
Thanks to all who will accept this challenge !
Attached File(s)
MACD_OsMA_4ColorH_2LVar1_mtf~.mq4
7 KB
|
954 downloads