matt_b

MFI Divergence v2

Edited 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!
Release Notes: Alert conditions working now. To use them create an alert as usual then in the condition menu pick 'mfi divs' & either 'bull div' or 'bear div'.
Release Notes: added ability to set lookback periods per timeframe
Remove from Favorite Scripts Add to Favorite Scripts
HI! This looks great. Would love to use it but I'm getting an error about length equaling 0 in the highestbars function when i add it to my chart. Any ideas?

Thanks!
Reply
matt_b ivanlandjr
@ivanlandjr, make sure the lookback periods, mfi length etc are not set to zero. Other than that I'm not sure what the problem could be, the 'highest bars' thing is a built in function in TV that I can't change.
Reply
Awesome thanks!
Reply
Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing House Rules Moderators Website & Broker Solutions Widgets Charting Solutions Get Help Feature Request Blog & News FAQ Wiki Twitter
Profile Profile Settings Account and Billing TradingView Coins My Support Tickets Get Help Ideas Published Followers Following Private Messages Chat Sign Out