OPEN-SOURCE SCRIPT

Griffin Money Flow Index

This is a modification of the commonly used money flow index. The major change is to the way the average price is calculated. Typically this is done with a hlc3 method,
meaning the average of the period high, low, and closing prices. This calculation infers that volume is evenly distributed between those three points. Generally this is not the case.
My version calculates the average price by including the open price and making the assumption that the majority of the volume occurs within the body of the candle, between
the open and close. I calculate a weighted average that places more significance on the close and open, then an equal weighting on the high and low.

In general this will result in a trend that does not differ greatly from the regular MFI calculation however there may be subtle changes.
Money Flow Index (MFI)

オープンソーススクリプト

TradingViewの精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?


他のメディア:

免責事項