The indicator plots arrows on the bar, if its close price is greater than close price of the previous bar.
The color, width, shift and code of the arrow char changed randomly after N ticks. The N variable is defined as input parameter, it can be changed using the "Properties" window. Note that initial properties of the plot1 graphic plot (DRAW_ARROW) are defined using the #property preprocessor directive, further these properties changed randomly (OnCalculate() function).
See also: The Drawing Styles in MQL5.
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/334
The Acceleration/Deceleration Indicator (AC) measures acceleration and deceleration of the current driving force.Average Directional Movement Index (ADX)
The Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.