Money Flow Oscillator

<< Click to Display Table of Contents >>

Navigation:  NinjaScript > Language Reference > Common > System Indicator Methods >

Money Flow Oscillator

Previous page Return to chapter overview Next page

Description

The Money Flow Oscillator measures the amount of money flow volume over a specific period. A move into positive territory indicates buying pressure while a move into negative territory indicates selling pressure.

 

Syntax

MoneyFlowOscillator(int period)

MoneyFlowOscillator(ISeries<double> input, int period)

 

Return Value

double; Accessing this method via an index value [int barsAgo] returns the indicator value of the referenced bar.

 

Parameters

input

Indicator source data (?)

period

Number of bars used in the calculation

 

 

Examples

ns

// Prints the current value of a 10 period Money Flow Oscillator
double value = MoneyFlowOscillator(10)[0];
Print("The current Money Flow Oscillator value is " + value.ToString());