MFI DivergenceThis is an edit of the RSI divergence indicator by Libertus (thanks!). Play around with the settings, you'll want to tweak length & lookback per market & timeframe.
MFI
MACD LB MFIThis script includes MACD histogram plus MFI in four states
All backgrounds are compared to previous bar in +/- 10%
1. Green (green) + Volume + Range (++)
2. Fading (yellow) - Volume - Range (--)
3. False (gray) - Volume + Range (-+)
4. Crouching (red) + Volume - Range (+-)
RSI MFI with alertsModified from the various scripts I've found on TradingView. This scripts adds alerts for oversold overbought conditions. It also has the ability to add in another RSI at a different time interval.
I've also added an MFI with bollinger bands to the chart to preceed the RSI. This can sometimes tell you the direction the RSI is moving. usually when it is out of the bollinger bands on the MFI the price/RSI tends to slow.
Minimal Godmode 1.0// Acknowledgements:
// Original Godmode Authors:
// @Legion, @LazyBear, @Ni6HTH4wK, @xSilas
// Drop a line if you use or modify this code.
// Godmode 3.1.4: @SNOW_CITY
// Godmode 3.2: @sco77m4r7in and @oh92
// Godmode3.2+LSMA: @scilentor
// Godmode 4.0.0-4.0.1: @chrysopoetics
// Jurik Moving Average: @everget
// Minimal Godmode v1.0:
// Removed BITSTAMP:BTCUSD, added presets for 9-26-13 and 17-6-4, added more exchanges + USDT and USDC pairs to multi-exchange option
// JMA smoothing - more responsive + less lag than SMA at equivalent length settings
// Minor cosmetic changes to account for pinescript 3 transparency and z-order
Market Facilitation Index - MFIUsing Market Facilitation Index - MFI you will be able to recognise two important metrics:
Whether the current trend is strong enough to trade it.
When a new trend may start.
MFI combines changes in price (range) and volume. Here is the formula:
MFI = (High – Low) * Volume
The indicator has bars of four colours. Each colour has a specific meaning and shows how the market responds to a change in volume.
Green. A green bar forms in the situation that both MFI and the volume are up. It means that more and more traders join the market in the current direction. In other words, it points to a strong trend, so you can open trades in line with this trend.
Brown. A brown bar appears when both MFI and the volume decline. It is also called “fade”. It signals that traders are hesitating and don’t want to continue the trend anymore. As a result, it’s not recommended to join the trend. Several brown bars are a sign of the potential reversal of the trend.
Blue. A blue bar forms when MFI increases, but the volume declines. A spike in price may be short-lived a precede a change in the trend. Blue bars appear at the times when newbies enter the trend, but professional traders know that it’s already too dangerous.
Pink. A pink bar, also known as squat, appears when MFI is diminishing, but the volume is growing. It reflects an increase of trading interest and an active fight between buyers and sellers. After one of the sides wins, the price will likely make a big move breaking support or resistance levels. The MFI, however, can’t be used to determine the direction of the breakout.
Top 5 coins cummulated Upvol/Dnvol and Money FlowThis script reads price and volume information for the top 5 coins (on 9 exchanges, a total of 29 pairs), calculates the cummulative upvolume and downvolume according to the Money Flow (MFI) formula, and shows upvolume and downvolume separately on the chart as a green and a red line.
The coins used are BTC, ETH, LTC, XRP and EOS. They are the top 5 coins by daily volume, as of 24th of February 2019.
Because of the many security() calls needed, the script is VERY slow, so have lots of patience.
I find it useful as a broad crypto market indicator - for example to compare the current pump with the pumps in the past.
Can also calculate the aggregated Money Flow (MFI) if you check that option in the indicator's configuration. Make sure to wait for recalculation and rescale the chart afterwards - MFI has a value from 0 to 100 and you may need to zoom in.
Godmode 4.0.1 [Correlator]First off, a huge thank you to the following people:
@LEGION:
@LazyBear: www.tradingview.com
@xSilas: www.tradingview.com
@Ni6HTH4awK: www.tradingview.com
@sco77m4r7and:
@SNOW_CITY: www.tradingview.com
@oh92: www.tradingview.com
@alexgrover: www.tradingview.com
@cI8DH: www.tradingview.com
@DonovanWall: www.tradingview.com
This is my second iteration of Godmode. This time I allowed the possibility to correlate two benchmarks against one another, thereby giving you twice the signals (once there's a strong correlation between the two, inverse or otherwise). That aside, there are no changes to this indicator that the first iteration doesn't have:
There are still more iterations planned, but if you guys have any ideas or wishes regarding what direction I go, then please let me know.
Want to Learn?
If you'd like the opportunity to learn Pine but you have difficulty finding resources to guide you, take a look at this rudimentary list: docs.google.com
The list will be updated in the future as more people share the resources that have helped, or continue to help, them. Follow me on Twitter to keep up-to-date with the growing list of resources as well as any other scripts I publish.
Suggestions or Questions?
Don't even kinda hesitate to forward them to me. My (metaphorical) door is always open.
Godmode 4.0.0 [Oscillator]First off, a huge thank you to the following people:
LEGION:
LazyBear: www.tradingview.com
xSilas: www.tradingview.com
Ni6HTH4awK: www.tradingview.com
sco77m4r7and:
SNOW_CITY: www.tradingview.com
oh92: www.tradingview.com
alexgrover: www.tradingview.com
cI8DH: www.tradingview.com
DonovanWall: www.tradingview.com
Since I've been on TradingView I've become somewhat enthralled by Godmode and the collective work that goes in to it, so I decided to publish my own iteration, building off the ideas already present. (This is a great way to get familiar with Pine by the way, just in case there are any beginners reading this)
Changes
The first change I made was to allow the user to select whatever tickerid they wanted as a benchmark. If trading XBTUSD on BitMEX for example, the indicator will react to exchange-specific activity, which means it will respond to all the little whipsaws, whipsaws that can be especially present on a futures exchange. By typing CRYPTOCAP:BTC or CRYPTOCAP:TOTAL we endeavor to remove noise. It can also signal earlier. Less noise and less lag. Another idea would be to choose a benchmark that has a strong inverse relationship with the asset you're trading: try CRYPTOCAP:USDT as the benchmark against BTC to see what I mean.
I also added the ability to smooth the plot, yet again removing noise but adding considerable lag.
The linear regression of the wave-trend is calculated in place of the EMA. This is plotted as columns with the midline (50) as the base. This is just calculating the slope of the wave-trend and can signal a weakening trend before a reversal takes place.
Using cI8DH's True RSI script () as inspiration, I added a function for calculating the True TSI in an attempt to remove any bullish bias. Funnily enough, when I tried to do the same with the RSI I had some problems. I'll try to resolve this in the coming weeks.
Made slight changes to the aesthetics. Tried to bring the two main plots alive by making their bold, opaque colors stand off the subtle tones in the background.
To Do List
1. I would like to sort out the issue with the True RSI.
2. When the plots are smoothed, there's an issue with the green 'Caution!' dots appearing in the lower half of the indicator.
3. I'd like to adjust the code so that if the 'Benchmark' box is empty, that it will automatically register the current tickerid as the 'Benchmark'.
If anyone has any suggestions on other fixes or how to apply the fixes mentioned by me, please don't hesitate to reach out to me here or through other media platforms.
Want to Learn?
If you'd like the opportunity to learn Pine but you have difficulty finding resources to guide you, take a look at this rudimentary list: docs.google.com
The list will be updated in the future as more people share the resources that have helped, or continue to help, them. Follow me on Twitter to keep up-to-date with the growing list of resources.
Suggestions or Questions?
Don't even kinda hesitate to forward them to me. My (metaphorical) door is always open.
BITMEX:XBTUSD
CRYPTOCAP:BTC
CRYPTOCAP:TOTAL
CRYPTOCAP:USDT.D
MFIww MFI/RSI_v2[wozdux]A new version of the indicator Mfi_v2. Added new control parameters.
tt - the averaging period of the volume.
Len - the period for calculating the MPI.
nn-averaging period MFI (blue line). level-critical levels from below and above (black horizontal lines).
Level 0 or 50 - switch between different histogram views with the middle at either level 50 or level 0.
key level-key to remove black critical levels.
key ema (MFI, nn) - key to remove mfi averaging (blue line).
key color-key to remove histogram coloring.
key colomns a-line - key switching modes represent the mfi histrogram or line.
---------------------------
Новая версия индикатора MFIww_v2. Добавлены новые управляющие параметры.
tt- период усреднения объема.
Len - период вычисления MFI.
nn- период усреднения MFI (голубая линия).
level- критические уровни снизу и сверху (черные горизонтальные линии).
Level 0 or 50 - переключение между разными представлениями гистрограммы с серединой либо на уровне 50 , либо на уровне 0.
key level- ключ убрать черные критические уровни.
key ema(mfi,nn) - ключ убрать усреднение mfi (голубая линия).
key color- ключ убрать расцветку гистрограммы.
key colomns-line - ключ переключения режимов представления mfi гистрограммой или линией.
MFIww2 MFI/RSI [wozdux]Bill Williams indicator (MFI).
The indicator calculates the range of oscillations per unit volume. In fact, this indicator shows the tick volume or the readiness of the market to move the price.
The indicator is presented as vertical columns or as a line with levels.
Vertical columns are painted in different colors depending on the displacement of the indicator and the displacement of the volume. The indicator can increase or decrease (+-). The volume can also increase or decrease (+-). The combination of these factors generates four types of indicator columns.
++ lime
+- dark green
-+ red
-- orange
The red bar on Williams is a squat bar. This bar is important for market reversal indication.
-------------------------------
Индикатор Билла Вильямса (MFI).
Индикатор вычисляет диапазон колебаний на единицу объема. Фактически этот индикатор показывает тиковый объем или готовность рынка переместить цену.
Индикатор представлен в виде вертикальных колонок или в виде линии с уровнями.
Вертикальные колонки раскрашены в различные цвета в зависимости от смещения индикатора и смещения объема. Индикатор может увеличиваться или уменьшаться (+-). Объем также может увеличиваться или уменьшаться (+-). Сочетание этих факторо порождает четыре вида столбиков индикатора.
++ салатный
+- темно-зеленый
-+ красный
-- оранжевый
Красный столбик по Вильямсу есть приседающий бар. Этот бар важен для индикации разворота рынка.
RSI Divergence UltimateHere it is Everyone - What was once hidden is now revealed
This is the Ultimate RSI Divergence Indicator
Not only does it plot Regular and Hidden Divergence lines for an RSI smoothed by an EMA and for its Signal Line
The RSI can be set to change color with direction or can be set as single color with or with out OB / OS highlights
Color Changing RSI helps when trading Multiple Time Frames as you can look for confluence in the direction of RSI
Included options for the Signal Line include;
Various calculations EMA, SMA and Linear Regression which provides very accurate signal line crossover signals
Color Changing with direction
Second RSI with different Length
Multi Time Frame RSI
Bollinger Bands applied to the RSI
RSI Stochastic that has been compressed to fit into RSI OB / OS so that it doesnt compress the RSI when in these regions
There are also Background Highlights (thanks to Chris Moody) for when the RSI Stochastic moves into OB / OS and crosses its signal line
There are plenty of Alerts for signals with more complex alerts coming soon
I have also added Hima Reddy's Power Zones for support and resistance so now you can also
Take full advantage of trading; signal line crosses, 50 crosses and Power Zone RSI support and resistance and much more
The divergence script is thanks to @RicardoSantos, I've just adjusted it to suite my indicator
Remember that divergences work best when traded with the trend or very late in a trend when going against the trend
RSI + STOCHRSI - combinedRSI + Stoch RSI combined script
Very usable for free accounts with indicator limits.
Use 2 indicators as 1
RSI / Stoch / SRSI / MFI / Aroon Overlay [SigmaDraconis]Combines 4 popular indicators (RSI, Stoch, SRSI, MFI) and 1 peculiar one (Aroon) in 1 for those who want to save indicators but not only.
This is an evolution of my (simpler) "RSI / Stoch / Stoch RSI (SRSI) Overlay " that you can find on my scripts.
Added bands for oversold/overbought areas (70/30 common for RSI and 80/20 for SRSI and MFI), as well as a middle 50 horizontal line.
Neutral bands around 55-45 added as well that can be hidden for less clutter. I also recommend a more transparent coloring for these since Pine script doesn't allow default transparency for horizontal lines.
By default only RSI and Stoch are activated, you can activate Aroon, MFI and SRSI on the inputs window.
Some extra notes:
* RSI, Stoch and MFI can help to strengthen one's decision as well as Aroon to predict a possible trend reversal, SRSI can show when RSI has high probability of being topped or bottomed when oversold/overbought but don't forget to look at volume and how the trend progresses that can keep SRSI above 80 or below 20 while RSI and price continues to trend, divergences are most helpful here to find possible reversal areas.
* This chart depicts some interesting divergences, as well as Stoch tops and bottoms and confluences between RSI/MFI and Stoch on some over-extended tops and bottoms that shown being good reversal zones.
RSI resistances are shown as well, failing to break above 60 or the neutral zone (this is a bearish BTC trend chart after all) or failing to gain support to break up certain levels (RSI notes a more bullish trend when consistently above 60 and more bearish below 40).
If you like it and use it to profit, please tip me below :)
Tip jars:
BTC: 15nMBiEGVrdGcu9C1h6QRcTNRvugHkqrMQ
ETH: 0xC33845946c48B61fBCbEA0367ec2238CaF2b73bc
BTS: sigma-draconis
Log MFI - Money Flow Index The main concept was to make a bound oscillator calculate with a formula that places emphasis on the mean averages. Ideally this would mean that the oscillator won't have a tendency to swing into overbought/oversold condition and cause whipsaw. Using log is a way to increase the signal to noise ratio, with the regular MFI still plotted.
This indicator is best used in confluence with price action swings, where volume would normally be the highest.
Market Facilitation Index (MFI) Backtest The Market Facilitation Index is an indicator that relates price range to
volume and measures the efficency of price movement. Use the indicator to
determine if the market is trending. If the Market Facilitation Index increased,
then the market is facilitating trade and is more efficient, implying that the
market is trending. If the Market Facilitation Index decreased, then the market
is becoming less efficient, which may indicate a trading range is developing that
may be a trend reversal.
You can change long to short in the Input Settings
WARNING:
- For purpose educate only
- This script to change bars colors.
Market Facilitation Index (MFI) Strategy The Market Facilitation Index is an indicator that relates price range to
volume and measures the efficency of price movement. Use the indicator to
determine if the market is trending. If the Market Facilitation Index increased,
then the market is facilitating trade and is more efficient, implying that the
market is trending. If the Market Facilitation Index decreased, then the market
is becoming less efficient, which may indicate a trading range is developing that
may be a trend reversal.
WARNING:
- This script to change bars colors.
Gidra's RSI or MFI Strategy v 0.1Strategy based on Gregg_s indicator RSI or MFI (ru.tradingview.com)
When crossing above 0 - close short, open long
When crossing below 1 - close long, open short
For crypto/fiat and any timeframe
RSI or MFI %BPlot where RSI or MFI is in its Bollinger Bands . Can be used in many different way: as a trend indicator (above below 0.5), part of a trend following strategy when crossing above 0 (resume bullish trend ) or crossing below 1 (resume bearish trend ), also useful for divergences, etc...
MFI/RSI with Volatility Bands [LazyBear (edited)]Edited version of the script by LazyBear.
Update of my previous script.
Features:
- plot both MFI and/or RSI (LazyBear only allows one of both)
- plot RSI/MFI band (over sold - mid - over bought) + indicator lines