If you're looking to spice up your MetaTrader 5 charts, the DRAW_COLOR_CANDLES indicator is a fantastic tool that draws candlesticks for your chosen instrument in a dedicated window.
What makes it interesting is that the candlestick colors change randomly every N ticks. You can easily tweak the N parameter in the indicator's properties (just head over to the Inputs tab). By default, the indicator sets up eight vibrant colors for the graphical display using the #property compiler directive. Then, in the OnCalculate() function, one of these colors is randomly selected from the list, giving your charts a fresh look and feel.
For those keen on enhancing their trading skills, check out our article on The Drawing Styles in MQL5. It's packed with useful insights!


Comments 0