Advanced Chaikin Money Flow (CMF)TL;DR: change the aggregation to EMA to achieve similar results to Twiggs Money Flow. Play with the rest of parameters to get the desired results.
This script allows customization of CMF. It also includes all the improvements made by Twiggs Money flow. 
Regular CMF does not take price gaps into account as you can see in the chart below. True range fixes this issue, as done in Twiggs Money flow (TMF).
More info here: www.incrediblecharts.com
Customization Options:
- You can change the effect of volume by setting volume exponent. 0 to 10 reduces the effect and 10+ increases it. In exchanges with too much wash trading, you may want to reduce volume effect.
- You can factor in price in CMF. It gives you a slightly different results. See my Volume x price (VxP) indicator for why it might be useful.
- The range can be changed to percentage (similar to RSI)
PS: I do not recommend using CMF in today's Crypto markets. Chaikin uses the same multiplier in CMF and Accumulation/Distribution Line (ADL). ADL is a totally broken indicator for BTC. If you look at the period after ATH (chart below), you will notice that ADL keeps increasing implying accumulation. While it is clear that there was distribution going on. The reason might be the artificially inflated prices in Crypto that is achieved by the help of bots and having "certain" exchanges as a price reference. So, my reasoning is that if ADL is a broken indicator, so should be CMF. CMF diverges from BTC price frequently. This is a double edged sword IMO. Still CMF is a much better indicator than ADL because it works relative to prior periods which covers some of its flaws.
Note for super nerds: Twiggs Money Flow includes true range and Welles Wilder's Moving Average (WWMA). I have seen some other scripts using their own calculations for WWMA which is not efficient. WWMA is equal to built-in RMA/SMMA which is equal to EMA with length 2x-1.
Wskaźnik przepływów pieniężnych Chaikina (CMF)
Money Flow Indicator (Chaikin Oscillator)    Indicator plots Money Flow Indicator (Chaikin). This indicator looks 
    to improve on Larry William's Accumulation Distribution formula that 
    compared the closing price with the opening price. In the early 1970's, 
    opening prices for stocks stopped being transmitted by the exchanges. 
    This made it difficult to calculate Williams' formula. The Chaikin 
    Oscillator uses the average price of the bar calculated as follows 
    (High + Low) /2 instead of the Open.
    The indicator subtracts a 10 period exponential moving average of the 
    AccumDist function from a 3 period exponential moving average of the 
    AccumDist function.    
 You can change long to short in the Input Settings
 WARNING:
  - For purpose educate only
  - This script to change bars colors.
Money Flow Indicator (Chaikin Oscillator) Strategy    Indicator plots Money Flow Indicator (Chaikin). This indicator looks 
    to improve on Larry William's Accumulation Distribution formula that 
    compared the closing price with the opening price. In the early 1970's, 
    opening prices for stocks stopped being transmitted by the exchanges. 
    This made it difficult to calculate Williams' formula. The Chaikin 
    Oscillator uses the average price of the bar calculated as follows 
    (High + Low) /2 instead of the Open.
    The indicator subtracts a 10 period exponential moving average of the 
    AccumDist function from a 3 period exponential moving average of the 
    AccumDist function.    
 WARNING:
  This script to change bars colors.
Klinger Volume Oscillator (KVO) Backtest The Klinger Oscillator (KO) was developed by Stephen J. Klinger. Learning 
 from prior research on volume by such well-known technicians as Joseph Granville, 
 Larry Williams, and Marc Chaikin, Mr. Klinger set out to develop a volume-based 
 indicator to help in both short- and long-term analysis.
 The KO was developed with two seemingly opposite goals in mind: to be sensitive 
 enough to signal short-term tops and bottoms, yet accurate enough to reflect the 
 long-term flow of money into and out of a security.
 The KO is based on the following tenets:
 Price range (i.e. High - Low) is a measure of movement and volume is the force behind 
 the movement. The sum of High + Low + Close defines a trend. Accumulation occurs when 
 today's sum is greater than the previous day's. Conversely, distribution occurs when 
 today's sum is less than the previous day's. When the sums are equal, the existing trend 
 is maintained.
 Volume produces continuous intra-day changes in price reflecting buying and selling pressure. 
 The KO quantifies the difference between the number of shares being accumulated and distributed 
 each day as "volume force". A strong, rising volume force should accompany an uptrend and then 
 gradually contract over time during the latter stages of the uptrend and the early stages of 
 the following downtrend. This should be followed by a rising volume force reflecting some 
 accumulation before a bottom develops.
 You can change long to short in the Input Settings
 Please, use it only for learning or paper trading. 
Klinger Volume Oscillator (KVO) Strategy The Klinger Oscillator (KO) was developed by Stephen J. Klinger. Learning 
 from prior research on volume by such well-known technicians as Joseph Granville, 
 Larry Williams, and Marc Chaikin, Mr. Klinger set out to develop a volume-based 
 indicator to help in both short- and long-term analysis.
 The KO was developed with two seemingly opposite goals in mind: to be sensitive 
 enough to signal short-term tops and bottoms, yet accurate enough to reflect the 
 long-term flow of money into and out of a security.
 The KO is based on the following tenets:
 Price range (i.e. High - Low) is a measure of movement and volume is the force behind 
 the movement. The sum of High + Low + Close defines a trend. Accumulation occurs when 
 today's sum is greater than the previous day's. Conversely, distribution occurs when 
 today's sum is less than the previous day's. When the sums are equal, the existing trend 
 is maintained.
 Volume produces continuous intra-day changes in price reflecting buying and selling pressure. 
 The KO quantifies the difference between the number of shares being accumulated and distributed 
 each day as "volume force". A strong, rising volume force should accompany an uptrend and then 
 gradually contract over time during the latter stages of the uptrend and the early stages of 
 the following downtrend. This should be followed by a rising volume force reflecting some 
 accumulation before a bottom develops.
 WARNING:
 This script to change bars colors.
Twiggs-ss
The modified indicator money flow Chaikin -LasyBear. Drastically accumulation and a sharp distribution of the painted color
Indicators: Twiggs Money Flow [TMF] & Wilder's MA [WiMA]TMF is a CMF (Chaikin Money Flow) variation that addresses some of the gaps in the original indicator. More info: www.incrediblecharts.com
TMF uses true range, rather than daily Highs minus Lows. Also, uses Wilder's MA rather than SMA/EMA. 
Since I had to write Wilder's MA (WiMA) for TMF, I have published that also as a separate indicator. WiMA is like EMA, but with a different "alpha" value. 
How to include this in your charts?
-----------------------------------------------
 - Click on "Share" button (top right on this chart). A dialog box opens up. 
 - Click on "Make it mine" button. This will create a copy of my published chart for you to edit. 
 - You can click on "{}" button next to the indicator name to get access to the source code. 
 - Save it to your CustomScripts library. 






