Indicators displays red instead of green when going upward
Posted: Mar 26 2010
Dear All,
This is what I have written:
If you look at the screenshot, it is red although the indicator is going up.
Is there anything wrong with what I have written?
Many thanks.[/code][/quote]
This is what I have written:
Code: Select all
if indicator > indicator[1] then plot1(indicator,"indicator",green,default,2);
if indicator < indicator[1] then plot1(indicator,"indicator",red,default,2);
Is there anything wrong with what I have written?
Many thanks.[/code][/quote]