tradingview-scripts
tradingview-scripts copied to clipboard
TradingView Scripts
This repo contains all of the scripts I wrote for TradingView.
Bands
The scripts here are bands with usually an upper, mid and bottom ranges.
VWMA Bands
The bands are composed of these:
- Upper: VWMA with highs as source
- Mid: VWMA with HL2 as source
- Bottom: VWMA with lows as source
I find the best period for the band is 5. It's important for the band to be closer to the price. VWMA is a volume based average, to widen the band, volume must increase.
There is a threshold setting which is gonna be different for assets and timeframes. Experiment with your own ideas.
Oscillators
The scripts here are oscillators usually being used to spot overbought or oversold conditions which is a load of crap. Using these as divergences spotter bodes well.
Money Flow Index
Money Flow Index indicator script taken from https://www.tradingview.com/script/g58H59ub-Money-Flow-Index-Beasley-Savage/.
Histograms
The scripts are are histograms to spot weaknesses we can exploit. Also good for divergences if applicable.
CM Williams Fix Vix Red Green
Modified from https://www.tradingview.com/script/og7JPrRA-CM-Williams-Vix-Fix-Finds-Market-Bottoms/ to also draw red bars for shorting opportunities.
Divergences
The scripts here will plot bullish and bearish divergences both hiddens or regulars.
Awesome Oscillator Divergences
This is by far the most accurate divergence indicator in any timeframe. It's hard to go wrong with AO.
CCI Divergences
Modified TradingView's built-in Divergences Indicator script to use Commodity Channel Index indicator as the oscillator.
CCI High/Low Divergences
Modified TradingView's built-in Divergences Indicator script to use Commodity Channel Index indicator as the oscillator. There are 2 oscillators with bullish divergences calculated from candle lows while bearish divergences are calculated from candle highs.
MFI Divergences
Modified TradingView's built in Divergences Indicator script to use Money Flow Index indicator as the oscillator. Money Flow Index indicator script taken from https://www.tradingview.com/script/g58H59ub-Money-Flow-Index-Beasley-Savage/.
OBV Divergences
This indicator uses On Balance Volume indicator as the oscillator to spot for divergences.
Stochastic RSI Divergence
This indicator uses Stochastic RSI indicator as the oscillator to spot for divergences.
Averages
The scripts here will plot moving average indicators.
Tri VWMA
Use 3 VWMA ribbons with only 1 indicator.
Reversals
The scripts here mainly highlight reversals.
Engulfing - EMA
This script will highlight bullish and bearish engulfing candles with arrows on your chart. Using EMA as a confirmation if you wish to draw the arrows.
Engulfing - VWMA
This script will highlight bullish and bearish engulfing candles with arrows on your chart. Using VWMA as a confirmation if you wish to draw the arrows. Also shows a second VWMA line for reference.
Pivots
Pivot Points to show support/resistance.
Daily Pivot Points
Uses the previous day's values to project today's pivots. Automatically updated when daily candles are closed.