I was wondering if anyone could help me out with a problem i have been trying to figure out for a while.
I use a macd paintbar to color bars. At the moment it is programed to do the following: the price is coming down on red bars. when the macd line crosses the zero line up, the bar is colored blue. what i am looking for is à way to automaticly print the first two bars after the cross not blue but yellow. If the third bar still is above the zero line, the bar must be colored blue. If its not, the bar must be go back to red. In conclusion: after a cross of the zero line, the first 2 bars must be yellow.
I really hope that someone can help me with this.
Comment