I changed to first two line to:
Plot( Squeeze(20, 1.5, 2 ), "Squeeze", colorBlack, ChartPoint, StyleSymbolCircle|StyleBringToFront );
UpdateColor( Squeeze(20, 1.5, 2 )>0, colorRed ) ;
No change in color. However, some of the points have value 1,
When I change the chart type as bellow
Plot( Squeeze(20, 1.5, 2 ), "Squeeze", colorBlack, ChartBar, StyleSymbolCircle|StyleBringToFront );
UpdateColor( Squeeze(20, 1.5, 2 )>0, colorRed ) ;
Colors are OK, Bars are red
Does it mean, that chartPoint does not support color?
I would like to have colored circles and bars showing other information. That is why it is crucial to color dots. Any suggestion?
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.