MoneyFlow

Category: Indicators

The Money Flow indicator is a technical analysis tool used to measure buying and selling pressure over a specified number of periods, based on price movements and volume. The indicator provides values that are normalized between -1 and 1, which helps in identifying trends and potential reversal points in the market.

Syntax:

MoneyFlow[N](price)

This function takes two parameters:

  • N: The number of periods over which the Money Flow is calculated.
  • price: The price type (e.g., close, open, high, low) used in the calculation.

Example:

mf = MoneyFlow[100](close)
LRmf = linearregression[20](mf)
IF(LRmf > 0) THEN
  bullishmarket = 1
ELSE
  bullishmarket = 0
ENDIF
RETURN bullishmarket

In this example, the Money Flow indicator is calculated over the last 100 periods using the closing price. A linear regression is then applied to these Money Flow values over 20 periods to determine the trend direction. If the result of the linear regression is positive, it suggests a bullish market trend, otherwise, it suggests a bearish trend.

Additional Information:

  • The Money Flow indicator is useful for identifying periods where there is significant buying or selling pressure, which might indicate potential continuation or reversal of the current trend.
  • Normalization of the indicator values between -1 and 1 allows for easy interpretation and comparison across different securities or time frames.

This indicator can be a valuable tool in a trader’s arsenal for assessing market sentiment and making informed trading decisions, without directly providing financial advice.

Logo Logo
Loading...