Fluid Indicator

Flexible Period Moving Average

The Fluid indicator is only used for intraday charts. The idea is to have a moving average with a length that corresponds to the number of bars elapsed since the start of the day. On the first bar of the day it is a one-period moving average, on the second bar it’s a two-period moving average, and so on.

We featured this indicator in one of the programming examples in June 2016. 

Download the PAC file ‌‍‍‍‍

FLUID.pac1.4 MB


Trading and investment carry a high level of risk, and CQG, Inc. does not make any recommendations for buying or selling any financial instruments. We offer educational information on ways to use our sophisticated CQG trading tools, but it is up to our customers and other readers to make their own trading and investment decisions or to consult with a registered investment advisor. The opinions expressed here are solely those of the author and do not reflect the opinions of CQG, Inc. or its affiliates.