Download MetaTrader 5

Next

Returns the next color from the palette.

uint  Next()

Return Value

Color.

Note

If all colors from the palette have already been passed through, new colors are automatically generated in order to replace the old ones in the palette.