Bulls vs BearsThe script measures relative strenth of bull bars vs bear bars that complete the next rules:
1) rising price with rising volume calculates as bullish only if the next candle is higher
2) falling price with falling volume calculates as bullish only if the next candle is higher
3) rising price with falling volume calculates as bearish only if the next candle is lower
4) falling price with rising volume calculates as bearish only if the next candle is lower
examples
ethusdt
shitperp
bsvusdt
btcusdt
Indeks Arus Uang / Money Flow Index (MFI)
Minkovski Distance Period DVOGThis script was created by building my Dependent Variable Odd Generator script on the Minkovski Distance Adaptive Period.
I have tried this on MACD before.
Script related to MACD :
I used an older version that does not use Dow Factor to suit multi timeframe analysis.
In this way, market situations provide the opportunity to see histograms in an adaptive period as a Multi Timeframe.
Minkowski Distance Function Original Script by RicardoSantos :
Regards.
MFI - Money Flow Index [UTS]Money Flow Index (MFI) is the technical indicator, which indicates the rate at which money is invested into a security and then withdrawn from it.
Construction and interpretation of the indicator is similar to Relative Strength Index with the only difference that volume is important to MFI.
Usage:
When analyzing the money flow index one needs to take into consideration the following points:
divergences between the indicator and price movement. If prices grow while MFI falls (or vice versa), there is a great probability of a price turn;
Money Flow Index value, which is over 80 or under 20, signals correspondingly of a potential peak or bottom of the market.
Common known variants of this type of indicator are the On Balance Volume, Chaikin Oscillator or Chaikin Money Flow.
Based on www.metatrader5.com
Open Interest Stochastic Money Flow IndexThis is the improved version of Stochastic Money Flow Index script that uses Open Interest instead of volume in Future markets.
I think it will make a difference especially in Future and CFD markets.
Since the system will pull data from Quandl, CFTC reports may cause repaint when disclosed.
So if you use it during the weekly time frame (1W), it will definitely not repaint.
You can also use the volume by selecting "Others" from the menu.This option applies to each instrument, you can use it on any financial instrument with or without COT data.
Bitcoin is included in the "Futures" option.
In Futures, you can observe the difference of Open Interest's success by comparing, since it counts exchanges between the two parties singularly, it reacts more firmly to speculative movements.
This script also includes alerts and bar color options, you can use from the menu.
It is also suitable for mutable variables.This script was freed from the integer loads.You can modify it in any adaptive or fractional period.
I hope it will help your analyzes, regards .
14-RSI minus 36-MFI (weekly)On the weekly chart of BTC/USD, the difference between the 14-RSI and the 36-MFI, combined with the 14-RSI alone, gives good buy and sell signals.
JK-HSIC1(TQ)-1D-CandleThis script uniquely and creatively get daily data on HSI futures from third party sources, so that it display the regular hours trading of HSI data and ignore after hours trading ( AHT ) data, which HSIC1! currently does not allow excluding AHT data.
This script shows candle.
MFI/RSIThis is a simple study that combines MFI and RSI and provides buy/sell alerts.
The red lines are MFI.
the blue lines are RSI.
Boundries are colored as the indicators and are user configurable.
Black triabgles are buy/sell points when both MFI and RSI are overbought/sold.
Function : Stochastic Money Flow IndexThis function is similar to the stochastic rsi function.
The only difference is that Money Flow Index is used instead of rsi.
Oversold and overbought values were changed to 80 and 20.
Because the MFI's overbought and overbought zones are 20 and 80.
In MFI, I think that it can be more beneficial in liquid markets than stochastic rsi since volume is taken into account in contrast to RSI.
Regards.
REAL STRATEGY : Dow_Factor_MFI/RSI_DVOG_StrategyI'm actually one of those who think it's more important to extract clues from indicators than strategy, but I wanted to test the data about the probability and dow factor I've shared for a long time.
Usually, Bitcoin is used as an eye stain for strategy success, since the graph has increased significantly from the beginning.
To prevent this, I used a commission and in the last lines of document I shared Bitmex's Bitcoin and Ethereum 1W test results.
I don't think there's a factor to repaint. ( Warn me if u see or observe )
I considered Bitcoin because I found working with liquid parities much more realistic.
Ethereum and Bitmex have been featured as a spot and may soon find a place at the CME , so I've evaluated the Ethereum .
But since the Ethereum Bitmex was also spot new, I deleted results that were less than 10 closed trades.
Since the Dow Theory also looks at the harmony in the indices, just try it in the Cryptocurrency market.
Use as indicator in other markets. Support with channels, trend lines with big periods and other supportive indicators.
And my personal suggestion : Use this script and indicator TF : 4H and above.
Specifications :
Commission. ( % 0.125 )
Switchable Methods ( Relative Strength Index / Money Flow Index )
Alarms. (Buy / Sell )
Position closure when horizontal market rates weighs.
Progressive gradual buy/sell alarms.
Clean code layout that will not cause repaint. (Caution : source = close )
Switchable barcolor option (I / 0 )
*****Test results :*****
drive.google.com
Summary:
It was a realistic test.
It has achieved great success in some markets, but as I mentioned earlier, use it only to gain insight into the price movements of cryptos.
Use as indicator in other markets.
This code is open source under the MIT license. If you have any improvements or corrections to suggest, please send me a pull request via the github repository : github.com
Stay tuned ! Noldo.
Gaussian MFI BFThe signals are based on the Gaussian Channel calculated by Donovan Wall. Thanks also to Kiasaki for Rate of Change code.
Simply going long and short based on Gaussian channel was not consistent enough so I also included an MFI filter. We only go long if Money Flow Index is greater than the last candle (more money is flowing in than out). The opposite for short. Also employed Rate of Change function (white background) to avoid sideways market.
A 2% stop loss seems to be the most balanced for this strategy but can can altered in the settngs.
Also included a take-profit function but it seems this is best not implemented for this strategy, at least in the case of XBT/USD.
A derivative of The MFI is also plotted on the chart simply to compare the current candle with the last candle visually.
Background color:
Green = Long
Red = Short
White = No Trade
Open Interest Money Flow Index (OIMFI)CAUTION : This system was inspired from seiglerj' s "Money Flow Index " script. Open Interests are used instead of volume.
What is the Money Flow Index ( MFI )?
The Money Flow Index ( MFI ) is a technical oscillator that uses price and volume for identifying overbought or oversold conditions in an asset. It can also be used to spot divergences which warn of a trend change in price. The oscillator moves between 0 and 100.
Unlike conventional oscillators such as the Relative Strength Index ( RSI ), the Money Flow Index incorporates both price and volume data, as opposed to just price. For this reason, some analysts call MFI the volume-weighted RSI .
What Does the Money Flow Index ( MFI ) Tell You?
One of the primary ways to use the Money Flow Index is when there is a divergence. A divergence is when the oscillator is moving in the opposite direction of price. This is a signal of a potential reversal in the prevailing price trend.
For example, a very high Money Flow Index that begins to fall below a reading of 80 while the underlying security continues to climb is a price reversal signal to the downside. Conversely, a very low MFI reading that climbs above a reading of 20 while the underlying security continues to sell off is a price reversal signal to the upside.
Traders also watch for larger divergences using multiple waves in the price and MFI . For example, a stock peaks at $10, pulls back to $8, and then rallies to $12. The price has made two successive highs, at $10 and $12. If MFI makes a lower higher when the price reaches $12, the indicator is not confirming the new high. This could foreshadow a decline in price.
The overbought and oversold levels are also used to signal possible trading opportunities. Moves below 10 and above 90 are rare. Traders watch for the MFI to move back above 10 to signal a long trade, and to drop below 90 to signal a short trade.
Other moves out of overbought or oversold territory can also be useful. For example, when an asset is in an uptrend, a drop below 20 (or even 30) and then a rally back above it could indicate a pullback is over and the price uptrend is resuming. The same goes for a downtrend. A short-term rally could push the MFI up to 70 or 80, but when it drops back below that could be the time to enter a short trade in preparation for another drop .
Reference : www.investopedia.com
WARNING :
** Since each instrument in the list has its own unique contract data, you must first enter its name to display it. I recommend you to select OANDA from the markets. Finally, when the COT reports are issued, it may repaints. However, this repaint is usually close to closing or after close .(When COT reports are so sharp ) So use this script only 1W ( 1 week ) or 1 M ( 1 month ) timeframe.
** This data is taken to Tradingview with the help of Quandl. This is a very low possibility, but the system will not work if there is a malfunction.
FEATURES :
*** Working with all futures (Including : Bitcoin )
*** If you dont work with "Futures" , you can select "Others" from switchable menu and use volume for all instruments.
*** New generation elegant design used : Adaptive coloring Overbought - Oversold Levels according to the closing price.
NOTE : This code is open source under the MIT License. If you have any improvements or corrections to suggest, please send me a pull request via the github repository github.com
Stay tuned. Best wishes !
Dependent Variable Odd Generator For Machine Learning TechniquesCAUTION : Not suitable for strategy, open to development.
If can we separate the stagnant market from other markets, can we be so much more accurate?
This project was written to research it. It is just the tiny part of the begining.
And this is a very necessary but very small side function in the main function. Lets start :
Hi users, I had this idea in my mind for a long time but I had a hard time finding the parameters that would make the market stagnant. This idea is my first original command system. Although it is very difficult to make sense of the stagnant market, I think that this command system can achieve realistic proportions. With 's money flow index, I opened the track to determine the level. On the other hand, the prices were also using a money flow index, and it forced me to make the limitations between the levels in a logical way. But the good thing is that since the bollinger bandwidth uses a larger period, we are able to print normal values at extreme buy and sell values.
In terms of price, we can define excessive purchase and sale values as the period is smaller. I have repeatedly looked at the limit values that determine the bull, bear, and bollinger bandwidth (mfi), and I think this is the right one. Then I have included these values in the probability set.
The bull and bear market did not form the intersection of the cluster, and because there are connected events, the stagnant market, which is the intersection, will be added to the other markets with the same venn diagram logic and the sum of the probability set will be 1. is equal to. I hope that we can renew the number generators in the very important parameters of machine learning such as Markov Process with generators dependent on dependent variables, which bring us closer to reality. This function is open to development and can be made of various ideas on machine learning. Best wishes.
This code is open source under the MIT license. If you have any improvements or corrections to suggest, please send me a pull request via the github repository github.com
Function : Bollinger Bands and BBW Squeeze DetectorThis script shows Bollinger Bands function and want to detect Bollinger Band Width Squeeze with a successful, different perspective .
Bollinger Bands : You can specify the Bollinger Bands periods as mutable variables .
Bollinger Band Width Squeeze : First the Bollinger bands width was calculated.The width was then divided into levels using the money flow index.
Thus, the bollinger takes into account the available volume averages when calculating the band width mfi (Money Flow Index).
After this modelling, we can limit and color the lower limit and upper limits just as Relative Strength Index.
We can even put warnings on oversold areas if desired. Let's not forget that we are working with width rather than price.
By design, squeeze areas are defined directly above the Bollinger Bands with coloration. I think it is very practical and looks stylish.
I tried and found it quite successful and wanted to share it with users.
I came up with many ideas when I wrote this system, and I will share them very soon . I hope it will be useful to users and give new ideas.
Best regards.
Bilateral Stochastic RSI/MFI [AL] @Version=3 Hi, this is a Stochastic RSI/MFI converted from Alex Grover's (www.tradingview.com) idea for the Stochastic calculation.
It also includes the cycle calculation and filtering form Anooj Patel
And the Divergence plots from Just UncleL www.tradingview.com
There are probably a few i have forgotten but thanks to all of the community who share and help us all learn!!
MFI Divergence v2Edited the RSI div indicator by Libertus to use MFI & show on candles. V2 update filters the divs using stochastic oversold & overbought & removes the lagging signals (they were offset back by 1 bar).
Default settings were tuned for xbtusd 1hr; works well if after a signal you wait for a stochastic indicator to stop being oversold or overbought, so if eg. you see a cluster of sell signals at a top, wait for the stoch to cross below 80 before entry. Please backtest before trading with this, DYOR NFA GLHF!
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.
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 (+-)
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
Momentum Exhaustion + Swing Points ComboCombination of @Zeenobit's Swing Points and Momentum Exhaustion indicators; RSX instead of RSI from @jaggedsoft/@everget's RSX Divergences script(s).
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.
3 Sessions DividerAsia (Syndey + Tokio)
London
NY
Made for GMT-6 (Central US Time)
Sessions may Overlap.
RSI + STOCHRSI - combinedRSI + Stoch RSI combined script
Very usable for free accounts with indicator limits.
Use 2 indicators as 1