The script allows to easily watch the date and time of several cities selected by the user from more than 30 important cities all over the world. It also shows GMT, Server time and Local time. The cities on the screen are automatically sorted by the date and time. You can save your setting on the Inputs tab and use them in future. Notice: Daylight saving time is not considered.
The ColorLine indicator shows the line of the price moving average on the chart. The line has diffrent colors (100 bars have the same color). The color settings of the line is changing every 5 ticks, there are 3 color schemes. Indicator for demonstrating the DRAW_COLOR_LINE style. Draws a line at Close prices in colored pieces of 20 bars. The thickness, style and color of the line sections are changed randomly. The indicator code is published in the MQL5 Documentation in the section Indicator S
The script SphereSample.mq5 illustrates control of graphic objects using the classes from the Standard Library (Base class of objects array CArrayObj , CChartObjectText ).
The ColorBars Indicator paints bars with different colors depending on the volume changes. If the volume has increased, the color is green, overwise the color is red.