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.
MFI
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) 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.
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
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 an indicator band (over sold - mid - over bought)
Accumulation/Distribution Volume (ADV) [cI8DH]This is the simplified and optimized version of my original ADV indicator. It shows both regular volume bars and the accumulated/distributed (A/D) portion of them. The equation is elegant and intuitive. It calculates candle body to candle height ratio and multiplies it by volume: volume*(close-open)/(high-low). This is the building block of my three other indicators, ADL, ADP and ADMF.
- The volume bars has two shades of green and red. The dark shade shows amount of A/D and the light shade shows total volume (what you see on a regular volume indicator).
When money volume is enabled, volume is multiplied by price. As you can see in the chart below, trade volume in terms of USD was growing over the past years.
- Blue line is the moving average of A/D and the orange line is for total volume. When "Baseline Chart" option is enabled, this moving average is identical to ADMF indicator which can be a powerful indicator for assessing buy/sell pressure as well as money flow and volume divergences. You can turn off volume bars (from style menu) for better visibility or you can use the below indicators.
Please note that ADMF is now available as a part of ADP indicator as well and I recommend using the latter since ADP can also replace CMF and MFI indicators.
- If you change the aggregation to cumulative (while having money volume disabled), the gray line becomes identical to On Balance Volume (OBV) and the blue line identical to my ADL indicator. The latter I would argue is more accurate than Chaikin's ADL, William's A/D and OBV.
Accumulation/Distribution VolumeThis is a simple yet powerful indicator that can replace volume, Money Flow, Chaikin Money Flow, Price Volume Trend (PVT), Accumulation/Distribution Line (ADL), On Balance Volume (OBV).
When "Baseline Chart" option is disabled, it looks similar to regular volume. The volume bars has two shades of green and red. The dark shade shows amount of accumulation and the light shade shows total volume (what you see on a regular volume indicator). Blue line is the moving average (or cumulative total) of A/D and the gray line is for total volume.
When money volume is enabled, volume it multiplied by price. As you can see in the chart below, trade volume in terms of USD was declining after ATH. This is not the case in regular volume chart which shows instrument volume (chart above).
In Baseline view, the aggregation method you choose can turn it into different indicators. With EMA/SMA aggregation, blue and gray line shows buy/sell pressure. At 0, there is not buy or sell pressure.
If you turn off volume bars (from style menu), it gives you a reliable indicator to measure divergence. This should be more reliable than most other range-bound indicators (i.e. RSI, MFI, CMF). I will publish a TA about correctly measuring divergence (it's a must read even if you are a pro trader). Make sure that the length is set to a large number on smaller TFs such as 4h.
For following results, set aggregation to cumulative and turn off money volume:
When wick weight=0, the GRAY line is identical to OBV indicator.
When normalized by spread and wick weight=10, the BLUE line is identical to ADL (improved by true range).
When normalized by previous bar price, wick weight=0, the BLUE line is identical to PVT.
How I use this indicator:
- Baseline chart, replaced my regular volume indicator
- Mostly 4h TF for divergence
- EMA aggregation (and occasional cumulative aggregation) with length above 50. I change the length to 100 and 200 for confirmation.
- Wick weight=0 or max 2.
With this indicator, you can learn how different indicators are built and how they are different from each other. I will publish a TA to explain more about different indicators and their pros and cons.
I will publish this indicator without volume bars and additional options to make it range bound.
MFI (Money Flow Index) [m59]MFI with highlights when value is overbought/oversold and adjustable overbought/oversold thresholds. There is also an option to disregard candle wicks in the calculation in case that could be helpful.
MFI (Money Flow Index) [m59]MFI with highlights when value is overbought/oversold and adjustable overbought/oversold thresholds. There is also an option to disregard candle wicks in the calculation in case that could be helpful.
Money Flow Index + AlertsThis study is based on the work of TV user Beasley Savage ( ) and all credit goes to them.
Changes I've made:
1. Added a visual symbol of an overbought/oversold threshold cross in the form of a red/green circle, respectively. Sometimes it can be hard to see when a cross actually occurs, and if your scaling isn't set up properly you can get misleading visuals. This way removes all doubt. Bear in mind they aren't meant as trading signals, so DO NOT use them as such. Research the MFI if you're unsure, but I use them as an early warning and that particular market/stock is added to my watchlist.
2. Added 60/40 lines as the MFI respects these incredibly well in trends. E.g. in a solid uptrend the MFI won't go below 40, and vice versa. Use the idea of support and resistance levels on the indicator and it'll be a great help. I've coloured the zones. Strong uptrends should stay above 60, strong downtrends should stay below 40. The zone in between 40-60 I've called the transition zone. MFI often stays here in consolidation periods, and in the last leg of a cycle/trend the MFI will often drop into this zone after being above 60 or below 40. This is a great sign that you should get out and start looking to reverse your position. Hopefully it helps to spot divergences as well.
3. Added alerts based on an overbought/oversold cross. Also added an alert for when either condition is triggered, so hopefully that's useful for those struggling with low alert limits. Feel free to change the overbought/oversold levels, the alerts + crossover visual are set to adapt.
Like any indicator, don't use this one alone. It works best paired with indicators/techniques that contradict it. You'll often see a OB/OS cross, and price will continue on it's way for many weeks more. But MFI is a great tool for identifying upcoming trend changes.
Any queries please comment or PM me.
Cheers,
RJR
MFI + RSIMFI and RSI in the same indicator with the zones of the MFI overbuy and oversell coloured.
Enjoy it!!!
Relative Strength Index + MFI breachI allowed myself to take a piece of code of one of the indicators MFI present on Tradingview for the added to a RSI!
I made this srcipt to avoid cluttering the screen, so we can see the oversold / overbought of the MFI without having any additional indicator
Money Flow Index - Beasley SavageThe Money Flow Index indicator (MFI) is a tool used in technical analysis for measuring buying and selling pressure. This is done through analyzing both price and volume. The MFI's calculation generates a value that is then plotted as a line that moves within a range of 0-100, making it an oscillator. When the MFI rises, this indicates an increase in buying pressure. When it falls, this indicates an increase in selling pressure. The Money Flow Index can generate several signals, most notably: overbought and oversold conditions, divergences, and failure swings.