Weekly E-mails:  Crypto Trading Strategy 5 Weeks of Onboarding Reads. Latest Airdrops (Thu 7 AM EST). Or all of it.

Dismiss   Pick Your Preference
This site uses cookies (More).

 

Script Spotlight: Automatic Divergences - #CryptoTrading

In this series we are picking scripts for technical analysis that recently popped up in the TradingView daily popular feed.
Blog
  .  Published  · By KarlVonBahnhof

If you don’t have a TradingView account yet, make one here for free. If you care for high leveraged trading, you’re probably looking for BitMEX as well, keep your cool though.

PPO Divergence Alerts (PPOD)

Full script

PPOD is a script that plots labels under or above candles where a divergence on PPO occurred.

PPO or Price Oscillator is a technical indicator very similar to MACD. It is calculated the same way as MACD but it presents the final value as a percentage.

  • MACD takes the difference in values between those two Moving Averages and an EMA of those Moving Averages, then plots that difference between the two lines as a histogram.

  • PPO does the same but it then calculates a percentage. This makes value comparisons simpler over longer durations of time.

The PPOD script is this PPO Divergence script only re-styled so that it will plot labels instead of a line indicator below the chart. It can be rewritten for use with other oscillators.

Parameters: (lookback period to look for divergences, PPO fast line, PPO slow line, PPO signal line, PPO smoothing)

Does it work?

This is the PPOD indicator on 1D chart of BTCUSD on Bitfinex using the default settings: (55,12,26,9,2).

Here the strongest signals are the red and pink labels that signify a bearish and bullish divergence on that timeframe. The red and green arrows show where the PPO was overbought and oversold - it is an oscillator which means you can use similar patterns as you would with MACD or RSI.

We can see on 1D the PPOD caught the 20k top although only after two other bearish div alerts at range tops. It also registers the current bottom.

On 4H you can see it registers the recent 8400 top couple of candles after the fact, but then it prints another divergence on the bounce which ended up being a pivotal point. That’s not bad.

If you are a scalper, you will run into problems on short timeframes and on the 1W chart the overbought/oversold fits better than the actual divergences:

In both cases it is important to remember what divergences actually show: If a divergence happens, there is a mismatch between the price and the buy or sell momentum. That strengthens the potential for a reversal but it is not itself a trigger to trade on that reversal. Whether you find a divergence or not does depend a lot on your settings, and I don’t think the same settings will necessarily be suitable for all market conditions.

Now specifically to shorter timeframes - If the volatility is high, there will always be divergences. They show the price is overshooting, nothing else. The only actionable information to take from that is “maybe I should become a market maker”, I think. It means nothing for trades that are meant to last longer than a couple of minutes.

Divergences are not useless for scalpers and daytraders though. One good strategy is to start the day looking at 4H to see what will most likely be the dominant direction of the session. Some days it is better to primarily focus on quick longs, some days on quick shorts.

In the most basic way you could simply plot an MA to see whether the price is above or below it. Divergences can be used in a similar way for confirmation.

Removing the Lines Is NOT An Advantage

There is one problem I have with line indicators reduced to simple alerts though: You do not get to see whether your indicator settings are not complete rubbish.

Say, you are a scalper and want to use PPO Divergence alerts on 5M chart. You will load the chart, find that the default settings don’t fit and you will start tweaking them.

Maybe you will find that settings with very low smoothing and big difference between the fast and slow lines work best, and you decide to go with that. The alert script keeps printing the alerts just the same but you don’t know there is more noise than signal unless you plot the actual underlying line indicator with your settings.

Plotting a single symbol works much better with events that do not have development. You can do it nicely with “rektlines”: Find singular events that will trigger most of the bots - something like an MA cross, an Ichimoku TK cross, MACD cross. Calculate 10% and 5% level against the position of the bot and you have a level where the bot positions on 10x and 20x leverage will get liquidated.

In this kind of case plotting a single symbol is completely fine but I would not use PPO Divergence alerts only without also using the line indicator.

Better Alternative: The Adaptive RSI Divergences

Full script

I can recommend using scripts that will paint the divergence along with the underlying indicator, though. Looking for divergences is a pain.

You can use the PPOD but I prefer this Adaptive Divergences script which plots the actual div lines.

Also, this particular script is an implementation of John Ehlers’ Adaptive RSI. The length value is not specified by user, it adopts according to the price development. The script looks for price cycles and bases the length values on them which gives less false signals. Do try this one.

About the author

Written by KarlVonBahnhof

KarlVonBahnhof also on Reddit, Chris belongs to the crypto trader class of 2013. Located in the Americas most of the time, you're most likely to meet at r/BitcoinMarkets though.

 

Last added to Crypto Airdrops, Bounties & Opportunities
Name Date How to access Official URL Additional Info
DAPPT Airdrop New Opportunity LIVE until 16 July The dapp.com pre-listing airdrop that we published in June is done now and users can withdraw their airdrop rewards. Dapp.com now opened another opportunity to earn money - there is a TRX reward for trading the DAPPT token. How to get money:Sign up on PIEXGO where DAPPT is listed with code 3I2QDP. Make at least one trade on DAPPT/USDT market. PIEXGO will snapshot user holdings every hour before 15:00 (UTC +8). Users will share a total of 30,000 TRX according to proportions of their average daily DAPPT holdings. DAPPT withdrawal PIEXGO exchange
MAXUM Crypto Airdrop As available New deflationary ERC-20 token (with a token burn rate of 2% per transaction). Because the only issue there is with the token ecosystem is inflation, or whatever. Drops for classic shilling (Twitter) and Telegram join. info form
PDATA Bounty Until 7 July PDATA is seeking to increase their brand awareness and would like to reward content producers in their native language with $20 in PDATA tokens in exchange for published articles and or videos. Maximum of 20 submissions. You should fill the pre-signup form ASAP, deadlines just now. info form
Product Protocol ERC20 Airdrop Until 22 Juny 2019 Product Protocol is a opensource protocol for crowdfunding/crowdlending campaigns based on digital assets issuing. Drops up to 18 USD worth of tokens for classic social media engagement. info join
INNOU Crypto Airdrop Limited INNOU is a new digital ecosytem and complete decentralized multimedia app. During their pre-ICO/ICO they are giving away up to 120 tokens (11 USD) for easy social media tasks. The 'Join' link takes you directly to the Telegram airdrop bot. info join
FanEspo Big Competition (ERC20) Regular Fanespo is launching a new promotion contest worth $400 in FAN tokens. Details will pop up on you when you sign up on site. Overall, the eSports platform FanEspo is giving away the total of $1.6 million of tokens in contests. You need to have a FanEspo account, the tokens you get are testnet but they will be transferred into real tokens upon launch. details make acct
Ethereum Card Airdrop Until end of June 2019 The escrow service on Ethereum is giving away up to 100 ETHCD tokens (15 USD) for a signup through referral and social media joins. Sign up with email and in your dashboard click "Join Airdrop". info sign up
Lunox LNX Airdrop Until end of June 2019 A retail marketplace that for some reason uses blockchain technology. Drops ERC20 tokens for social media shilling. info form
Bethereum Photo Contest Until end June 2019 Bethereum, the betting platform on ETH, is giving away prizes in a social media campaign to the platform users who take a photo of the platform in an unexpected place, post it as a comment and hashtag it #BethereumAnywhere Twitter. The monthly prizes of 25K Bether, AND 3 grand prizes of 100K BETHER! join platform photo thread
BlockWage Airdrops + Bounties Recurring Platform for freelancers marketplace. Airdrops randomly announced via Discord, there's also the possibility of Masternodes. join web
BitForex Exchange Launch Promo Limited The new altcoin trading platform is dropping exchange tokens to new signups. You get 20 BF for your signup with code 2178778 and can earn more for referrals, limited at 30k BF. details make acct

More in #: Series SCRIPTSPOTLIGHT

Blog  #trading   10 Jun 2019, 03:42 UTC
Script Spotlight: Detrended Price Oscillator (DPO)
Blog  #trading   29 Jun 2019, 09:14 UTC
Script Spotlight: A/D Levels
Blog  #trading   29 Jun 2019, 09:14 UTC
Script Spotlight: Automatic Divergences