Long/Short Margin Ratio for cryptocurrenciesBTCUSDSHORTS and BTCUSDLONGS are like datasets provided by Bitfinex exchange. They record the number of margined for longs and shorts and they are measured in BTC (in case using BTCUSD ).
Margin is Like any loan, the borrower may pay interest while the loan is outstanding, and must eventually pay the loan back.
Red Area: More short margin than long margin.
Green Area: More long margin than short margin.
Note: Can only be used with cryptocurrencies that have such dataset within Bitfinex exchange like BTCUSD , ETHUSD , XRPUSD and a few more.
Crypto
Super Guppy StrategyCM Super Guppy with Long/Short signals, backtesting, and additional options. Updated for PineScript v4.
COINBASE:BTCUSD
Features 2 primary modes, depending on your risk profile. These options are available in the settings:
"Early Signals" ON (default):
Prints a "long" on grey to green transitions AND red to gray transitions.
Prints a "short" on green to grey transitions AND gray to red transitions.
Will not print back-to-back repeated positions (i.e. green → grey → red will only print the first green → gray "short" signal and not print "short" twice).
Rotates long and short positions with no delay.
"Early Signals" OFF
Will close trades, but never open new ones, when guppy transitions to from any color to gray.
Open long: guppy transitions gray to green.
Close long: guppy transitions green to gray.
Open short: guppy transitions gray to red.
Close short: guppy transitions red to gray.
Does not rotate long and short positions back to back.
Additionally:
Can toggle on/off the 200EMA. Default is off.
Can toggle on/off short positions. Default is on.
In development: alerts
Stablecoin Volume Flow [kingthies_]Stablecoin Volume Flow into BTCUSD/BTC-Stablecoin pairings
Exchanges Used
Coinbase
Kraken
Bittrex
Binance
Huobi
Bitstamp
Gemini
Bitfinex
Our aim here is simple...to combine the overall volume flow from Fiat or stable currencies into the crypto-markets.
This is the first portion of a series I plan to share involving a holistic approach to understanding the overall crypto-ecosystem. I've included several of the highest ranking by volume exchanges and their accompanying older/well known stablecoins.
Also, the historic data for the newer stable coins made the study invalid due to limited sample size. That included coins like USDC, DAI, GUSD, BUSD and more. For this reason, the 10 sources of data here adequately provide the data needed to see a full view of the market volume going in and out of bitcoin at any given moment
Simplified Crypto Fear & Greed DisplayA more simplified view of a Fear & Greed index.
This script has been made public because it uses Trading Psychology - Fear & Greed Index by DGT as the basis/inspiration for it.
I've re-imagined the visuals in order to display F&G data differently to the more traditional versions of the indicator floating around, as well as adapting it's calculations and reference assets for use with Crypto markets.
It's aim is to show the current status / mindset of market participants at a quick glance.
When there is a lot of fear in the market it is usually a good time to look for buying opportunities.
On the flip side you can use it to spot selling opportunities when there is too much greed / FOMO in the markets.
This indicator has the option for Traditional and Crypto markets.
The Traditional option uses the tickers VIX and GOLD as part of it's calculations, where as Crypto uses BVOL24H and BTC.D in order to base it's decisions off of more relevant data.
There are also 10 levels of smoothing so play around with that to get the desired result. Depending on the asset you are looking at, smoothing of 1 or 2 may work much better than 5+
Have a play around, customize it, use it and let me know what you think.
RSI + MFI - Crypto Bull and Bear market A fancy styled version of the RSI (Relative Stochastic Index) + MFI (Money Flow Index) oscillators in order to emphasize buy and sell opportunities.
The 80 and 20 Bands are meant to be used in Bull or Bear markets. Better performing in D timeframes.
The circles represent the cross between RSI and MFI .
Designed for Crypto Markets
Thanks @micheleprandina
Credits:
Risk Metrics: Crypto VersionRisk Metrics for Crypto.
Market can be set to BTCUSD, BTCEUR, BTCCHF, BTCGBP, BTC1!, BTC2!, SPX, and DTB3
Beta
Correlation
Standard Deviation
Variance
R-squared
Crypto USD VolumeOften times I need to check the volume in cryptocurrency exchanges and I find myself checking which type of volume I am looking at, I need to manually make sense what the data is and converting it into USD volume which I end up going to CoinMarketCap website to verify whether my calculation is right.
Today I thought it was about time I created an automatic way to find the volume in USD Dollars. This is what this script does.
1 - It removes the base currency from the symbol (e.g., "BTCUSD", it would remove "BTC", leaving us with the "USD" part.). This is important because it helps us identify the currency the pair uses.
2 - It has different pair's variables, each is given a specific currency that the final volume is calculated from. (BTC, ETH, BNB and USD are the default currencies, for other ones, it must be added manually).
This works with all crypto symbols that include BTC, ETH, BNB and USD as currencies. If you modify it, please make sure to compare data with the exchange's one.
QuantNomad - Heikin-Ashi PSAR AlertsUsing this script you can create alerts for my Heikin-Ashi PSAR Strategy:
When creating alerts use "Once Per Bar Close" in parameters.
####################
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as good as in historical backtesting.
This post and the script don’t provide any financial advice.
QuantNomad - Heikin-Ashi PSAR StrategyContinue experimenting with different combinations of strategies.
Here is the PSAR Strategy calculated based on HA candles. HA is already calculated inside the script, do not apply it to HA candles.
Strategy is calculated based on 25% equity invested with 0.1% commission.
####################
Disclaimer
Please remember that past performance may not be indicative of future results.
Due to various factors, including changing market conditions, the strategy may no longer perform as good as in historical backtesting.
This post and the script don’t provide any financial advice.
Bitcoin Bull CyclesA simple indicator that identifies the primary upswing of Bitcoin following each Halving, the "Bull Cycle".
A "Bull Cycle" is identified as the first period of positive momentum after each Halving date, defined as the 50 Daily Moving Average (DMA) being above the 200 DMA.
ICT Killzone For Crypto Markets.Adjusted for Crypto 24/7 markets
Adjusted for UTC
i have hidden the asian open range and daily bars on my charts , you can choose to have them on
Less screen clutter
London Open 8:00 - 4:30 - Killzone 7:00 - 9:00
NewYork Open 9:30 - 4:00 Killzone 8:00 - 10:00
Shanghai open 9:15 Killzone 8:00 - 10:00
NOT MY ORIGINAL SCRIPT. JUST MODIFIED VERSION
TA Night Bot AlertsThe absolutely most insane indicator for the Cryptoassets
With this script signals for short and long positions are recognized. It still has some false signals during extreme market movements, furthermore it runs best in the 15min & 5min chart. You can increase your risk limit in the settings. The indicator is based on different indicator values.
the indicator is a component of a superordinate algorithm and therefore not perfect.
who would like to test it pm
BTC
ETH
EOS
XRP
Basic Cryptocurrency TerminalHello,
This script is a simple Cryptocurrency Terminal.
It serves the same purpose as Heatmaps.
You can also set the period to look back manually in the menu.
Major Cryptocurrencies are taken into account.
And various Blockchain data are shown in the information panel.
In this way, an idea can be obtained about Cryptocurrency Market.
It is visually more convenient and clear to use in an indicator window under the chart, not on the chart, as follows:
Regards.
ADX and DI For Cryptocustomized version to add my favourite settings for crypto
Best time frame is daily followed by 4H
ADX Near 20 or less means trend is choppy and weak
ADX Cross over 30 means trend is starting to gain momentum
ADX Near 75 means momentum is near maximum, trend needs to rest for a while ( The area between 70~90 )
Crypto Type: Regular, Perpetual, Or Futures?A simple way to find out if the security in question is a regular, perpetual, or futures pair.
This reads the data of the security's description and sees if the word perpetual or futures is mentioned.
The method to check if a string has the letters we seek was first introduced by MichelT .
Thank you for checking this out and I hope this helps unlocking new hidden potential.
Crypto Market CorrelationThis script utilized some new functions in Pine Script, which compares the correlation between the current symbol to a basket of crypto indexes that are listed on the FTX exchange.
By tracking these indexes we can gauge the reaction across markets that have a different market cap. By that I mean we can have a better idea about where the money is flowing into a specific market.
This script uses data from FTX:BTCPERP, FTX:ALTPERP, FTX:MIDPERP, FTX:SHITPERP, FTX:EXCHPERP, FTX:DRGNPERP.
A value closer to 1 equals to more correlation, closer to 0 equals to less correlation.
TimeSync by KingThies TimeSync by Kingthies
Written in Pine v4
Applies one function that was published in the Tradingview Pinescript Manual
The Motivation behind this script - Time is 50% of your chart. Many ignore it entirely. This should help give an idea on how to read it and incorporate it in their analysis.
TimeSync by KingThies takes a simple concept and turns it into a visual tracking system of when timeframes of significant impact, all close at the same time.
By utilizing several high time-frames, we see overlaps in periods and more significant events occurring when multiple periods close at once.
The TFs included are 3D,1W,2W and 1M. When users use the timeframes above intraday, the resolution for these HTF's is shown. When using the LTFs, anything lower than 1D/is intraday, the user sees a similar concept but comprised of the 4H, 6H,8H and 10H charts.
Users can adjust the settings to show the HTFs in sync AND also factor in if the event was on a business quarter or new year, which adds more significance to the occurrence.
By seeing when these periods end in sync, we can assume more volatility is present in a given market, presenting various opportunities for traders to take advantage of a given situation.
Apologies in advance for any questions that come up - I will do my best to reply or respond here on Tradingview.com.
Additional Resources for this topic can be found in my account signature, located at the bottom of this post.
Sumner-Parker Indicator (Over/Under Priced BTC or ETH)This is to be used when trading between ETH/GBP, BTC/GBP and ETH/BTC .
It compares ETH/GBP and BTC/GBP with each other to determine if the ETH/BTC price matches.
From it you can predetermine whether the value of the asset you are watching is overpriced or underpriced and therefore predict the candle to follow.
When watching ETH:
If the value is high, the value of BTC is too high and ETH should raise to match in the next bar and vice versa.
When watching BTC:
If the value is high, the value of BTC is too high and should drop on the next bar and vice versa.
The Upper and Lowers are set at double the percentage fees on the exchange you use. This just helps in recognising beneficial trades.
USDT SupplyThis script shows the USDT (Tether) supply, total USDT market capitalization and USDT supply on various Cryptocurrency exchanges.
It is based on this script:
Changes:
- added HiTBTC and Huobi exchange
- updated to Pine Script v4
- improved default style and line width to highlight global USDT plots against exchange-specific plot lines
Double TRIX CrossoverTRIX is a great indicator to use on zero cross setups.... know what's even better? TRIX CROSS setups!!!
Faster in-and-out on trends, safer entry and exit signals in chop or consolidation. Base setup is 6 & 8 TRIX for longer time frames such as 4hr or 8hr; ideal or FX, Crypto, or volatile instruments. I haven't experimented with using this on lower time charts and adjusting the trix settings; if you do, drop a comment.
FRAMA - Supertrend strategyFRAMA Strategy
I found this strategy on internet, in a well-known forex forum.
I have translated the two indicators mentioned in that strategy (originally in mq4) in pine script.
Thanks to Fractured and Shizaru for the FRAMA snippets, to mejialucas for Supertrend snippet, to JayRogers for trade management snippet and to Trost for backtesting snippet.
I also added some code to have FRAME with a deiiferent timeframe
Indicators set-up:
FRAMA period 24 (it was originally 25 but it's better to use an even number)
FRAMA timefarme lower then chart timeframe (e.g. daily chart and weekly FRAMA)
Supertrend indicator as it is.
Of course, it is better to adapt above setting to traded instrument.
Long/Buy rules:
1 - Enter at crossover between FRAMA and its signal
2 - Option to filter entries based on supertrend signal
3 - Exit when Supertrend change direction;
4 - Exit long when short signal occurs;
Short/Sell rules:
1 - Enter at crossunder between FRAMA and its signal
2 - Option to filter entries based on supertrend signal
3 - Exit when Supertrend change direction;
4 - Exit short when long signal occurs;
VERY IMPORTANT NOTE: this is a trend following strategy, so the target is to stay in the trade as much as possible (drawdown my be high). If your trading style is more focused on scalping and/or pullbaks, this strategy is not for you.
Credits to who developed this startegy (google it).
Thanks to all pinescripters mentined in the code for their snippets.
I have also a study with alerts.
Please use comment section for any feedback or contact me if you need support.
On Balance Volume with CrossOBV indicator with a few key changes that can turn it into a filter or trading indicator as-is.
Volume calculation given a look-back to help clarify trends without smoothing lag
Change the source (HLC3 indicates a little faster in backtesting)
Smooth the signal if desired
Moving average (MA) added for crossover indication in trend change
MA can be either EMA or HMA**
** My personal use:
EMA for trend filtering trades: Trade long signals if OBV is above the MA, trade short signals if OBV is below the MA.
HMA for scalping and chop: Normally set the HMA to 20 or 15 and trade the crosses. Works on most time frames and generates a lot of noise. 5 min and 15 min seems best for me in day trading
Example of trend trading using only the OBV-C and no other indicators, stops, or trailing stops:
This could obviously be improved using stops, trailing stops, or other indicators to filter when to enter & exit trades or mitigate loss.
Example of trading using the HMA and lower time frames with Elder's Force Index (EFI) used as a filter. Trade with both cross at or very near the same time. Winning trades in green: