← Back to all indicators

MT5Separate windowOscillators

AO Run Length

Counts how many bars in a row the difference between a short and a long average has kept the same direction of change. Rising runs are positive and falling runs negative; bars with an equal value count toward the run.

Coming soon · MT5 only · no licence file needed

Download and installation · Manual

AO Run Length default settings
MetaTrader 5 display example (default settings) — SMA 5/34, median price. Green and red bars grow step by step and return to 1 on the opposite side when the direction of increase/decrease changes.
Examples with changed settings are in the manual.

Main settings

InputDefault
Fast Period5
Slow Period34
MA MethodSimple(SMA)
Applied PriceMedian (High + Low) ÷ 2

Detailed description of the settings (manual)

Usage specifications

Forming bar and recalculation

While the latest bar's price is moving, the displayed values and colors can also change. They are recalculated when history is added or corrected or settings change. Permanent non-repainting is not guaranteed.

Conditions for comparison

Compare with the same symbol, timeframe, settings and loaded history. The display is not a forecast of future price movement.

Starting position

SMA, SMMA and LWMA start from bar Slow+1, and EMA from the 2nd bar. The default display starts from the 35th bar.

Flat sections

If the calculated values are exactly the same, the direction is kept and the count keeps increasing. It does not directly represent the strength of price movement.

Difference from AO

The default inputs use the same formula as the standard AO (SMA 5/34, median price), but what is drawn is the run count, not the AO value. There are no notifications.

Only 1 instance of the same product on 1 chart

This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.

For on-screen display only

This product shows calculation results through plot buffers and does not place orders. It does not guarantee profit or future price movement.

Usage specifications (manual)

Full manual

How to read the display, the settings, installation and what to check when something goes wrong, on one page. The product is in preparation for release; the manual is published so that you can review its content.

Open the manual

  1. MT5 display and examples of changed settings
  2. How to read it in 30 seconds
  3. What it measures
  4. Situations for reading the display
  5. Steps for checking the display
  6. Installation and checking the package contents
  7. Settings
  8. Usage specifications
  9. Troubleshooting and usage notes
  10. Technical information and specification details