CryptoSignalScanner - MACD Multiple Time FramesDESCRIPTION:
After receiving some multiple request to provide a MACD indicator that displays multiple timeframes at the same time I created this simple script.
You can use this script for free and adjust it as much you like.
With this script you can plot 6 MACD lines & 6 Signal lines.
• Current Timeframe MACD Line
• Current Timeframe Signal Line
• 15 minute candle MACD Line
• 15 minute candle Signal Line
• 30 minute candle MACD Line
• 30 minute candle Signal Line
• 1 hour candle MACD Line
• 1 hour candle Signal Line
• 2 hour candle MACD Line
• 2 hour candle Signal Line
• 4 hour candle MACD Line
• 4 hour candle Signal Line
HOW TO USE:
• When multiple MACD lines on an uptrend are grouped together it is time to SELL.
• When multiple MACD lines on a downtrend are grouped together it is time to BUY.
• The higher to length of the MACD lines the stronger the BUY/SELL signal.
FEATURES:
• You can show/hide the preferred MACD lines.
• You can show/hide the preferred Signal lines.
How MACD works
The MACD indicator is generated by subtracting two exponential moving averages (EMAs) to create the main line (MACD line), which is then used to calculate another EMA that represents the signal line. In addition, there is the MACD histogram, which is calculated based on the differences between those two lines. The histogram, along with the other two lines, fluctuates above and below a center line, which is also known as the zero line.
The MACD indicator consists of three elements moving around the zero line:
• The MACD line. By default the MACD line is calculated by subtracting the 26-day EMA from the 12-day EMA.
MACD line = 12d EMA - 26d EMA
• The signal line. By default the signal line is calculated from a 9-day EMA of the MACD line.
Signal line = 9d EMA of MACD line
• Histogram. The histogram is nothing more than a visual record of the relative movements of the MACD line and the signal line.
It is simply calculated as: MACD line - signal line
REMARKS:
• This advice is NOT financial advice.
• We do not provide personal investment advice and we are not a qualified licensed investment advisor.
• All information found here, including any ideas, opinions, views, predictions, forecasts, commentaries, suggestions, or stock picks, expressed or implied herein, are for informational, entertainment or educational purposes only and should not be construed as personal investment advice.
• We will not and cannot be held liable for any actions you take as a result of anything you read here.
• We only provide this information to help you make a better decision.
• While the information provided is believed to be accurate, it may include errors or inaccuracies.
Good Luck,
SEOCO
Btc!
BTC Dominance & Counter-Trend IndicatorThis script looks at BTC dominance in price-action and scores it (out of the last 100 closed bars). Essentially this looks at the price action of the current security/crypto and tracks whether it traded in-trend with BTC or against the trend with BTC to show when BTC is most prominently dominating.
Currently the code is restricted to the previous 100 trades prior to the bar (you can change this) but only because, for whatever reason, pine scripting doesn't actually allow you to calculate the number of bars currently in the view (lots of people asking for this via StackOverflow but no response yet). Essentially every bar shows the number of trades out of the last 100 that traded in-synch with BTC, the lower the number, the less dominant BTC has been against that security.
Green highlight means it traded positive (upwards) against BTC going down, and red means it traded negative against BTC going up.
Low Timeframe POCI have recently made a High Timeframe POC script (HFT POC) which is pretty popular. Thanks for this!
There are many requests to include lower timeframes in this script, that is why I created this script. I could have incorporated all the timeframe POC's into one indicator but I went this route to keep things more organized between all the different timeframes.
Currently included: Daily, 6H, 3H and 1H
/* DEFINITION */
Point Of Control (= POC) is a price level at which the heaviest volumes were traded.
/* HOW TO TRADE WITH THIS INDICATOR */
The basis for POC is determining bias on whichever timeframe you choose.
1. Identify a POC on the timeframe of your choosing.
/* If you choose the lowest timeframe (1H here) then always make sure to look at the higher timeframes to see how it is trading against a HTF POC.
2. When the price is moving away from the POC (either to the upside or downside) this can confirm or invalidate a trade.
3. You can now enter the trade on bias or wait for a retest of the same POC.
/* EXAMPLE TRADES /*
Here is a screenshot of some of the trades that are possible using these Low Timeframe POC's and some common sense.
s3.tradingview.com
Hunt Bitcoin CoT Buy/Sell signalWhy Bother another CoT signal?
Its different & focused on the Insider's.
Performance -
This Indicator provided a
1. Signal 1 = 26th March 2019 = SUPER LONG at $4,500 that saw a near $14,000 run up
2. Signal 2 = 18th & 24th June 2019 = SHORT at the second & final level $11,700 after repeated attempts & failure in the $13K range, the mini Echo Bitcoin Bull of 2019
3. Signal 3 = 17th December 2019 = LONG $6,900, Bitcoin rallied to Mid $10,500's
4. Signal 4 = 18th Feb 2020 = SUPER SHORT from $9,700's to a final extreme Low of $3,000, calling the CV-19 collapse
5. Signal 5 = 17th March 2020 = LONG from $5,400 no closure point yet
6. Signal 6 = 29th June 2020 = SUPER LONG reiterate from $10,700 no closure sell signal yet
7. Signal 7 = 17th May 2020 = LONG another accumulate LONG with no sell signal yet generated at Post H&S's low of $33,000
Note - This indicator only commences March 2019, as Bitcoin futures were a recent introduction and needed to settle for 6 months in both use and data, no signals were meaningful prior & data was light.
What is Provided. - Please note the need to also add the Hunt Bitcoin Historical Volatility Indicator for full understanding.
We provide 3 things with the 3 indicators.
'Insider' indications from Largest players in the futures market.
1. Bitcoin Macro Buy Signals.
a) The Bitcoin Commitment of Traders results see us focus solely on Largest 4 Short Open Interest & Largest 4 Long Open Interest aspects of the CoT Release data.
When the difference - is tight, a kind of pinch, these have been great Buy signals in Bitcoin.
We call this difference the Delta & When Delta is 5% or less Bitcoin is a Buy.
2. Bitcoin Macro Sells.
a) A sell signal is Triggered in Bitcoin at any point the Largest 4 short OI > or = to 70
3. AMPLIFIER Trade signals 'Super' Longs or Shorts -
Extreme low volatility events leads to highly impulsive & volatile subsequent moves, if either of 1 or 2 above occur, combined with extreme low volatility
a 'Super Long' or 'SUPER SELL' is generated. In the case of the short side, given Bitcoins general expansive and MACRO Bull trend since inception, we seek an additional component
that is an extreme differential/Delta reading between 4 biggest Longs & Shorts OI.
Namely CoT Delta also must be > 47.5%
We also have a Cautionary level, where it is not necessarily a good idea to accumulate Bitcon, as a better opportunity lower may avail itself, see conditions below.
So the required logic explicitly stated below for all Signals.
1. Long - Hunt Bitcoin CoT Delta < or = 5
2. SUPER Long - Hunt Bitcoin CoT Delta < or = 5; and 2 Day Historical Bitcoin Volatility = or < 20
3. Short - Largest 4 Sellers OI = or > 70
4. SUPER Short - Largest 4 Sellers OI = or > 70; AND..
Hunt Bitcoin CoT Delta = or > 47.5 AND 2 Day Historical BTC Volatility = or < 20
5. Caution - Largest 4 Sellers OI = or > 67.5 AND Hunt Bitcoin CoT Delta = or > 45
WARNING SEE Notes Below
Note 1 - = Largest 4 Open Interest Shorts
Note 2 - = Largest 4 Open Interest Longs
Note 3 - = Hunt Cot Delta = (Largest 4 sellers OI) -( Largest 4 Buyers OI)
Caution = Avoid new Bitcoin Accumulation Right Now, A sell signal might follow Enter on next Long
Note 4 - The Hunt Bitcoin COT Delta signal is a Largest 'Insider' Tracking tool based on a segment of Commitment of Traders data on Bitcoin Futures, released once a week on a Friday.
It is a Macro Timeframe signal , and should not be used for Day trading and Short Timeframe analysis , Entries may be optimised after a Hunt Bitcoin CoT Signal is generated by separate shorter Timeframe analysis.
Note 5 - The Historical Bitcoin Volatility is an additional 'Amplifier' component to the 'Hunt Bitcoin Cot Delta' Insider Signal
Note 6 - The Historical Bitcoin Volatility criteria varies by timeframe, the above levels are those applying on a Two Day TF Chart, select this custom timeframe in Trading View.
if additional criteria are met for LONG & SHORT insider signals, they may become 'Super Longs/Shorts', see conditions box above.
BTC FTX Futures PremiumsThis indicator shows the future BTC premiums on FTX.
The purple area is the Daily December Futures contract subtracted by the current price.
The blue area is the Daily September futures contract subtracted by the current price.
The green area is the Daily June futures contract subtracted by the current price.
You can use this to try and understand market sentiment.
If the current price dumps but the premium remains the same it likely means that sentiment is unchanged.
The opposite is true, if the price pumps and the premium is the same it means the market likely wasn't convinced by the movement.
The difference between the current price and the futures price can help determine how bullish or bearish a market or at extremes the level of euphoria.
Bitfinex BTC/ETH Open InterestThe Bitfinex Exchange is providing the Open Long and Short positions as data feeds in Tradingview. This information can be valuable in order to judge how the big players are positioned.
This indicator allows to analyze this Bitfinex Open Interest data for BTC and ETH. By default it shows the Total Open Interest (Longs + Shorts) in BTC. A 10 period EMA is applied to the data.
The following alternative displays are available:
- Show ETH instead of BTC
- Show Long positions separately
- Show Short Positions separately
- Show the results in USD (Number of coins multiplied by period closing price)
- Show RSI instead of absolute value (see below)
Instead of displaying the absolute value, it is possible to show the RSI (current default length is 20) to make the changes easier visible. If RSI display is selected, then the Overbought, Oversold and Middle Line are shown automatically. Additionally a histogram is displayed which shows the difference between the RSI and the EMA of the RSI.
PineGIF - Display Gifs & Images In Tradingview [LuxAlgo]Pinescript is not designed to create or display images, let alone gifs, but it's very fun to try, and that's what this script does. This script allows the user to display three different gifs. In this post, we explain how we managed to display images/gif's using pinescript tables.
1. Image Pre-Processing
Due to pinescript limitations, we can't possibly display images with an excessively high resolution. As such we targeted pixel art as a primary image source. We used a pixel art gif of the magnificent Octocat (the mascot for the source-code hosting service GitHub) for our first try.
We first extract each frame from the gif and resize them to a 50x50 resolution which returns frames made of 2500 pixels. This process was done using python.
Getting Individual Pixels RGBA Values
Python can easily return a matrix containing each pixel's rgba value. For convenience, we converted the rgba values to hex.
We then create a simple code allowing us to return a pinescript array containing the 2500 pixel hex colors. We do this process for each frame.
2. Defining Table Cell Color
In the code, each frame is its own array. We create a new table with dimensions equal to len(frame1)^2 (we assume height = width).
The color of a cell is defined by the color of the image pixel at the same exact location. When a new bar is created, we do this exact process using a different frame which ultimately allows a new frame to be displayed.
3. Playing The GIFs
By default, the script will play the gif of the Tradingview cloud logo raining. In order to play the gif, simply use the replay mode. The replay speed allows the user to determine the frame rate (0.1 for the raining cloud and Nyan cat works best, 0.5 for Octocat).
We included the frames of the Octocat and Nyan cat gifs in the script.
4. Some Other Cool Images
Displaying static images is possible and involves the same process described above.
An original idea of the lizard, implemented by the wizard.
BTC COT Delta BBitcoin CME COT Delta Strategy
---------------------------------------
Reading 4 largest long positions and 4 largest short positions, this script uses (shorts - longs) to produce a long/short signal.
• When delta <= buy threshold, a "long" signal will appear on the chart.
• When shorts >= sell threshold, a "short" signal will appear on the chart.
To see the indicator below, since it's not possible to mix the two, use this script:
** This is not a trading advice, it's for research purposes only. Do not trade based upon these signals.
INDICES against BTC & ETHThe idea is the following; you can easily chart the FTX perp indices against (currently) two baselines, ETH & BTC.
I always choose ETH since it is way harder to outperform ETH at the moment. Doing this helps me see certain trends and/or fractal that might happen again in the future.
Since I already made D.A.M (Defi against Majors / Pricing Defi categories against BTC & ETH: ) I came across the idea of doing the same thing but with the perp indices that FTX offer. At first, I wanted to add this to D.A.M but it has no place in this indicator since this will not only look at Defi but the macro market as a whole.
The indicator currently only looks at the following indexes (weighting can be found here: https:// help. ftx. com/hc/en-us/articles/360027668812-Index-Calculation) :
DRGN: THE DRAGON INDEX
ARPA, BTM, IOST, NEO, NULS, ONT, QTUM, TRX, VET
ALT: ALTCOIN INDEX
BCH, BNB, EOS, ETH, LTC, XRP, TRX, DOT, LINK, ADA
MID: THE MID CAP INDEX
ALGO, ATOM, BAT, CRO, DASH, DCR, DOGE, HT, IOTA, LEO, NEO, OKB, ONT, QTUM, VET, XEM, XLM, XMR, XTZ, ZEC, ZRX, OMG, COMP, BSV, FTT, YFI, UNI, SNX, MKR, AAVE
SHIT: THE SHITCOIN INDEX
AE, AION, ARDR, ARPA, BCD, BEAM, BTG, BTM, BTS, BTT, CHZ, CKB, DGB, ELF, ENJ, GNT, GRIN, GT, HBAR, HC, ICX, IOST, KMD, KNC, LAMB, LRC, LSK, MANA, MATIC, MCO, NANO, NULS, OMG, POWR, PUNDIX, REN, REP, RVN, SC, SNT, STEEM, THETA, TOMO, VSYS, WAVES, XVG, XZC, ZEN, ZIL, ZRX
PRIV: THE PRIVACY INDEX
BEAM, DCR, GRIN, KMD, XMR, XVG, XZC, ZEC, ZEN
DEFI: THE DECENTRALIZED FINANCE INDEX
KNC, MKR, ZRX, REN, REP, SNX, COMP, TOMO, RUNE, CRV, DOT, LINK, MTA, SOL, CREAM, BAND, SRM, SUSHI, SWRV, AVAX, YFI, UNI, WNXM, AAVE, BAL
High Timeframe POCBecause the big Bitcoin crash I have been looking a lot at high timeframe metrics. I never spent much time learning POC so I decided to create a little script for determining these on higher timeframes.
Currently included: Monthly, 3 months and 6 months.
/* DEFINITION */
Point Of Control (= POC) is a price level at which the heaviest volumes were traded.
Value Area High/Low (=VAH/VAL) is a range of prices where the majority of trading volume took place. Naturally, Value Area High being the top price level and Value Area Low being the lowest. POC always is between the two.
/* HOW TO TRADE WITH THIS INDICATOR */
The basis for POC is determining bias on whichever timeframe you choose.
1. Identify a POC on the timeframe of your choosing.
/* If you choose a "low" timeframe (monthly here) then make sure to look at the higher timeframes to see how it is playing against a higher timeframe POC.
2. When the price is moving away from the POC (either to the upside or downside) this will confirm or invalidate the trade.
3. You can now enter the trade on bias or wait for a retest of the same POC.
/* EXAMPLE TRADES /*
Here is a screenshot of some of the trades that are possible solely using the POC and some common sense.
s3.tradingview.com
Bitcoin Daily Support/ResistanceA new indicator for tradingview.
Indicator Overview
The 2-Year MA Multiplier is intended to be used as a long term investment tool.
It highlights periods where buying or selling Bitcoin during those times would have produced outsized returns.
To do this, it uses a moving average (MA) line, the 2yr MA, and also a multiplication of that moving average line, 2yr MA x5.
Note: the x5 multiplication is of the price values of the 2yr moving average, not of its time period.
Buying Bitcoin when price drops below the 2yr MA (green line) has historically generated outsized returns. Selling Bitcoin when price goes above the 2yr MA x 5 (red line) has been historically effective for taking profit.
Why This Happens
As Bitcoin is adopted, it moves through market cycles. These are created by periods where market participants are over-excited causing the price to over-extend, and periods where they are overly pessimistic where the price over-contracts. Identifying and understanding these periods can be beneficial to the long term investor.
This tool is a simple and effective way to highlight those periods
MA 50/100/150 was historically good support and resistance. When we cross them we have a new trend that is established.
GBTC PremiumThis script simply shows the premium (when positive) and discount (when negative) associated with GBTC as compared with its estimated NAV based on BTC underlying holdings. This will of course need to be updated frequently for accuracy, but it serves as a rough estimate for educational purposes.
Price DEFI Categories against BTC & ETH/* Work in progress. The indicator is not finished. *\
The indicator shows the pricing of 3 DEFI categories against 2 possible baselines, BTC and ETH.
To do:
* Make a simple array in the source code to enter and remove new projects to the category. -> Maybe can also make it so that the source code does not have to be altered (projects can be added through input etc.)
* Adjust weightings depending on project data but this is not as important since weightings are being priced in by the market.
* Try to find a way to update input to string instead of booleans. As of currently, I could not seem to use input strings into plot functions because of an error.
* and more. Leave some feedback, that would be highly appreciated!
Moving Average BandsUse this script to find buy and sell zones for BTC based on momentum of the move relative to the average asset price over a given period. The script plots a series of offset bands above and below the Simple Moving Average. When price crosses another band further from the SMA, the background is rendered brighter. The brighter the background, the stronger the buy and sell signal is, as the expectation is that price wants to return to the SMA. Settings are adjustable to fine tune to various time frames and assets. Good settings for BTC Daily are length 30, layers at 10, 20, 30, and 40.
On 1H BTC/USD I use length 200, layers at 5, 10, 15, 20 to find decent swing trading opportunities.
On BTC/USD 1D chart, combine with Bitcoin Logarithmic Growth Curve from @mabonyi (original by @quantadelic )for confluence of very reliable signals.
Bitfinex Spot PremiumOverview
A tool to display the spot price premium of Bitfinex coins vs the other big 3 exchanges.
Premium is calculated against:
- Coinbase
- Binance
- FTX
The average is calculated through volume weighting. The absolute difference between the Bitfinex spot price and the calculated average is then displayed on the histogram.
Interacting with the tool
Colours: Green bars indicate a positive premium (Bitfinex spot price is greater than the average), Red bars indicate a negative premium. The ability to grey out smaller premiums is also enabled with the "Grey Small Vals" checkbox, this can be used to further emphasise larger premiums.
Ticker: The ticker input allows you to detect the Bitfinex premium for any coin traded within all 4 exchanges (Bitfinex, Coinbase, Binance, FTX). Just input the coins ticker symbol, for example, "BTC", "ETH", "UNI".
Indicator Ideology
Bitfinex is known for being the home of crypto "smart money". Therefore, positive premiums indicate stronger buying from "smart money". Although this premium is a good sign of bullish/ bearish market conditions, for example, consecutive days of a negative Bitfinex premium have been pretty good at indicating short term tops in BTC, this indicator should only be used as a confirmation signal.
Stochastic TrendDear community,
I've made another simple trading bot for you to use. This bot is based on the Stochastic Oscillator. It only produces long trades currently.
I changed the oscillation period to a much longer one, which in turn creates opportunities to trade long term trends.
The bot goes long when the Entry lines is crossed from below and it will close its long position once the Exit line has been crossed from above.
Korea PremiumA simple indicator based on the percentage price difference between Korean crypto markets and western markets.
It currently shows the premium for BTC & ETH.
If it's positive (red) it means that the Korean market is trading at a premium.
Vice versa negative (blue) means the West is trading at a premium.
Because the Korean crypto market is so closed off (because of regulations) the premium sometimes gets really wild.
The Korean average is based on Bithumb & Korbit prices.
The index made for the west is based on Coinbase, Kraken and Bitstamp.
By default it uses closing prices for the calculation but you can change that.
You can also change the timeframe in the settings although it's probably best that you keep it at "same as chart".
It's free so you can just add it to your favourites and start using it.
RSI Trend CryptoDear community,
Today I want to present you one of my favorite and simple trading bots: The RSI Trend.
This bot is based on the RSI, which normally is used as a trend reversal indicator. However, here it’s used as a trend finding indicator, often with great success. This bot making long-only trades, which is quite successful in bull-markets like the one we’re currently in.
In case you want to use an emergency exit for your trade, toggle the Emergency Exit parameter. During bull-markets it’s better in the long term to keep this option off.
Currently the bot only makes one trade at a time (pyramiding = 1), for higher risk and higher rewards you can increase this parameter. More than 5 is not advised.
I’ve optimized this bot on 15min time frame. It has some decent results for most cryptos on this TF, feel free to test this out.
In case you want to hook this bot up to your exchange, feel free to edit the ALERT messages in the code.
Default Trading Rules:
Long: RSI crosses over 35
Close Long: RSI crosses under 75
Emergency Exit: RSI crosses under 10
BTC Perpetual Futures Premium [Morty]Version 1.0, 20210409
This is an oscillator indicator that shows the premium between BTC perpetual futures and spot prices.
The prices of futures and spot are weighted average prices, weighted by the exchange's trading volume.
When the indicator is in the upper half of the region, the funding rate of perpetual contracts is relatively high, and the market trend is bullish.
When the indicator is in the upper half of the region, the funding rate of perpetual contracts is relatively high, and the market trend is bearish.
You can set the upper and lower limits of the premium. When the indicator exceeds the upper or lower limit, the trend usually reverses.
Buy the dip, Sell the high.
----------------------------------------------------------
Version 1.0, 20210409
这是一个振荡器指标,它显示了BTC永续期货和现货之间的溢价。
期货和现货的价格是加权平均价格,由交易所的交易量加权。
当指标在上半部区域时,永续合约的资金费率相对较高,市场趋势是牛市。
当指标在上半部区域时,永续合约的资金费率相对较高,市场趋势是熊市。
您可以设置溢价的上限和下限。当指标超过上限或者下限,通常会趋势反转。
Buy the dip, Sell the high.
Full CRYPTO pack macd, rsi, obv, ema alert versionThis is the indicator version of a simple, yet very efficient crypto strategy, adapted to 4h time frame, on big coins like ETH and BTC . However it can be adapted to other markets, timeframes etc
For this strategy I use a combination of a trend line , an oscillator, price action and volume .
This study has alert for both long and short entries/exit.
The rules are the next ones:
Long : we check that current candle is ascending and above the moving average, the macd is in positive range, rsi is below overbought level and volume is bigger than the moving avg of volume .
For short, we have the opposite long rules.
If you have any questions, please let me know !
Full CRYPTO pack macd, rsi, obv, ema strategyThis is a simple, yet very efficient crypto strategy, adapted to 4h time frame, on big coins like ETH and BTC. However it can be adapted to other markets, timeframes etc
For this strategy I use a combination of a trend line, an oscillator, price action and volume.
This strategy has both the opportunity to go long and short.
As well, it has a leverage simulator .
The rules are the next ones:
Long : we check that current candle is ascending and above the moving average, the macd is in positive range, rsi is below overbought level and volume is bigger than the moving avg of volume.
For short, we have the opposite long rules.
If you have any questions, please let me know !
MACD oscillator with EMA alert version 4HThis is the study/indicator alert version of the macd + ema strategy.
The strategy details are the following :
Is a simple, yet efficient strategy, which is made from a combination of an oscillator and a moving average.
Its setup for 4h candles with the current settings, however it can be adapted to other different timeframes.
It works nicely ,beating the buy and hold for both BTC and ETH over the last 3 years.
As well with some optimizations and modifications it can be adapted to futures market, indexes(NASDAQ, NIFTY etc), forex( GBPUSD ), stocks and so on.
Components:
MACD
EMA
Time condition
Long/short option
For long/exit short we enter when we are above the ema , histogram is positive and current candle is higher than previous.
For short /exit long , when close below ema , histo negative and current candles smaller than previous
If you have any questions please let me know !
MACD oscillator with EMA strategy 4H This is a simple, yet efficient strategy, which is made from a combination of an oscillator and a moving average.
Its setup for 4h candles with the current settings, however it can be adapted to other different timeframes.
It works nicely ,beating the buy and hold for both BTC and ETH over the last 3 years.
As well with some optimizations and modifications it can be adapted to futures market, indexes(NASDAQ,NIFTY etc), forex(GBPUSD), stocks and so on.
Components:
MACD
EMA
Time condition
Long/short option
For long/exit short we enter when we are above the ema, histogram is positive and current candle is higher than previous.
For short /exit long , when close below ema, histo negative and current candles smaller than previous
If you have any questions please let me know !