Any ideas why conditional color wouldn't be working correctly? Here's what I've got:
I've got a bar chart of:
sma(mom,14)
Period: 5
Plotting that as a bar chart and in viewing it have the following color condition:
close> ref(close, 1)
That should mean that if the current close is greater than the previous close it should color green. However, it's all over the place. Sometimes it works,
but other times the condition is clearly not met and it's still coloring it green, or vice versa and not coloring it.
I have used your formula and everything is correct. Bars are green when today's close is higher than yesterday's close.
If you still have issues, please contact support with a screenshot of what you think is wrong.
Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.