Return value of the Money Flow indicator, over the last N periods for selected price. Values are bounded between -1 and 1.
Syntax:
1 |
MoneyFlow[N](price) |
Example:
1 2 3 4 5 6 7 8 9 10 |
mf = MoneyFlow[100](close) LRmf = linearregression[20](mf) if(LRmf>0) THEN bullishmarket = 1 ELSE bullishmarket =0 ENDIF RETURN bullishmarket |