OPEN-SOURCE SCRIPT

CBA 6MA Cross Volume and Price Analysis

This script does the following:

1.Defines and plots six moving averages (14, 21, 35, 50, 100, 200).

2.Detects MA "crossovers and crossunders" between any of the moving averages.

3.Calculates up and down volumes based on whether the closing price is above or below the opening price.

4.Compares the current volume, up volume, and down volume with their previous values.

5.Uses the price change to infer buying pressure (when price increases and up volume increases) and selling pressure (when price decreases and down volume increases).

6.Plots an "X" for buy pressure below the bar and an "O" for sell pressure above the bar.
Chart patternsCycles

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer