BTCUSD
D HIGH
D LOW

Data:   Charts:

Kc  · 09/01/22

Script Spotlight: A/D Levels

Altcoin Trading Blog
04/08/22 · Crypto technical analysis

About This Blog Post

  1. Uses bitforex  ( + more posts) 
  2. Filed as ScriptSpotlight
  3. On the same topic: Script Spotlight: Detrended Price Oscillator (DPO)
  4. On the same topic: Script Spotlight: Automatic Divergences
  5. On the same topic: Ichimoku Cloud for Crypto Trading
Welcome to AltcoinTrading's ScriptSpotlight series. In ScriptSpotlight, we review pine scripts that are available from the FREE version of Tradingview public library. If you don't have a TradingView account yet, make the free one here.
In this series we are picking and reviewing TradingView scripts for technical analysis that recently popped up in the daily popular feed.
Subscribe to our RSS feed
Airdrops / Blog
 

Coinrule

A/D Levels by ParCorn on TradingView

Script Spotlight: A/D Levels

The A/D here stands for accumulation and distribution, but this particular indicator does not analyze trend at all.

It is simply looking for reversal candles on your timeframe. Once it finds a reversal candle, it draws a support line from its price level.

Full script code

The Script Breakdown

The script defines parameters for the candle - the size of the candle body and candle wick.

It then runs through the chart and finds the instances of candles with “bullish wick” and “bearish wick” which is the short-term reversal signal.

The size of the wick and candle body is relative to the true range.

True Range of a day’s trading is the difference between the day’s high and low, extended with yesterday’s close if it lies outside today’s range.

There is also a second set of rules for 2-candle scissor reversal.

Both the 1-candle and 2-candle reversal is plotted the same way, as lines of accumulation and distribution starting from the reversal candle.

Last feature of the script is it colors the bar if the price crosses and closes over support or resistance.

Does it work?

The author himself does not comment on the use of the script but the featured timeframe on the script page is 5M. He uses the A/D Levels together with volume profile, session range and volume-weighted average price.

You will see the changed candle color better if you remove candle border color in your chart settings on TradingView.

In my charts, yellow bars indicate break through support and white bars break through resistance.

Scalping: 5M Chart

Here is the A/D Levels script on Bitfinex BTCUSD 5M as retrieved on Sep 29.

Script Spotlight: A/D Levels

I found that it printed ridiculous amounts of supports and resistances over ranges.

At the first sight it looks confusing but once you are able to look more at the bigger picture and less at the individual lines, it does say a lot about levels of resistance and support.

You can always make the required wick ratio higher though, so that the script does not detect every little wick. The default value is 0.55 (55% of TR).

Higher Timeframes

Script Spotlight: A/D Levels

For the 30M timeframe and made the criteria for acceptable wick ratio even higher.

It did made sense to me, even considering the repeated breaks through the support lines that quickly bounce back.

It is important to note though that the script only remembers the latest reversal candle in the time series. Above you see that in the action between 6350 and 6500 where the resistance stops dead in the air because there was another passing reversal candle found later. You will need to use some judgement when evaluating the chart.

On the 1D chart, it is quite useful when you keep the default settings (0.55, 0.25).

It does not print support on volatile days’ wicks because it compares with the true range. You can also see where support turns resistance:

Script Spotlight: A/D Levels

Summary

A single candle does not provide enough information to really judge the market. For scalping, evaluating a candle close might often be a little late. Other than that it is easy to print candles on the short timeframe.

I would recommend it as a source of helpful information about that’s going on at the market but I would not trade it as actual support/resistance lines.

For short-term positions, TensorCharts’ heatmap and trades counter is more precise than the A/D Levels, it does not make much sense to resort primarily to candle shapes.

Nonetheless, I am surprised the indicator actually provides quite a good information once you play with it for a few minutes.


Disclosure: All products featured on AltcoinTrading.NET are independently chosen, but some of the links on this page are affiliate links. Read our full content disclosure to learn more.


You just read AltcoinTrading's ScriptSpotlight series. In ScriptSpotlight, we review pine scripts that are available from the FREE version of Tradingview public library. If you don't have a TradingView account yet, make the free one here.


This post belongs to series #scriptspotlight

 

Want to *really* learn crypto charting & technical analysis?

Hate to break it to you, but there's no trading school, no neatly structured course and no simple how to.
Read our articles to get familiar with the tools, but try everything hands on. Trading will press your emotions, you can only really learn it as you go.

All the good crypto charting tools and platforms are accessible for FREE in either TradingView app or at Bitfinex. Just start!

Get TradingView Signup at Bitfinex

 

Latest Airdrops & Bounties - Updates every evening (UTC)

airdrop Lend x DAOmaker Airdrop - There is a mandatory task to vote on a project at DAOmake...
airdrop PocketInfinity Airdrop II - A Gleam airdrop with all tasks mandatory. Prize pool is 2...
airdrop MegaGleam Airdrop Batch 9 - This is a long Gleam with optional daily bonus tasks. Poo...
airdrop TigerDogi Airdrop - LATOKEN is running a bunch of new airdrops: ZFM, OMG, RFX...
bounty Lithium Ventures Airdrop - Sign in with a Web3 wallet like Metamask and complete sim...
bounty Slice Chrome Extension - The Slice app is a Chrome extension that pays you for bro...
bounty PLUR Talk NFT Retroactive Airdrop - A community platform for NFT holders built on MATIC. Foll...
exchange promo LATOKEN ZFM Airdrop and Bounty - until 5 Dec
exchange promo Football Frenzy Promo - until 18 Dec
exchange promo Zero-Fee OTC Thanksgiving Promo - until 1 Dec
exchange promo World Cup Promo on Bitmart - until 30 Nov
exchange promo Get VIP for depositing - until 10 Dec