Ultimate Bullish Divergence for RSI MFI RVSI OBV w/ Buy SignalsThis strategy is based on the Indicator below and includes all of its features.
This version Includes the Strategy tester and a dynamic SL
The only drawdown of this version is that Alerts are not as customizable
Ultimate Bullish Divergence for RSI OBV RVSI MFI w/ Buy Alerts
Rvsi
Ultimate Bullish Divergence for RSI OBV RVSI MFI w/ Buy AlertsThis Indicator detects Divergence based on multiple Pivot points instead of just one.
- You can detect divergence on these Oscillators:
- RSI, RVSI, MFI, TRIX RSI, OBV and more soon
You can detect bullish and hidden bullish divergence:
- bullish divergence: Oscillator makes a higher low while price is making a lower low
- hidden bullish divergence: Oscillator makes a lower low while price is making a higher low
ranges where it should look for Divergence:
- To reduce false positives you are able to define and combine the following ranges:
- Manual Ranges: you’re able to type in the ranges that you came up with your manual technical analysis
- Auto Fib Ranges: option to only look for divergence below/above/within multiple Fibonacci levels
- Oversold limit: option to only look for divergence below a certain Oscillator Level
- EMA Ranges: Only look for divergence if below/above/within certain EMA's
- VWAP Ranges: option to only look for divergence below/above/within VWAP levels
Multiple options of waiting for confirmation:
- Waiting for X candle closes
- Wait for a price bounce
- Wait for an Oscillator to Oscillator EMA cross
- Wait for EMA cross (coming soon)
MACD/RVSI/Stoch/RSI/EXP(Drawdown)I have been trying for several months to get a script to work on the 1min and this one gives some good backtest results. This script will also work on higher timeframes however, I've not extensively tested on higher timeframes. My aim was to get results on about 20 crypto coins then run the 1min bots in parallel looking for small frequent profits across all the coins. If you would like me to try and fit backtest results to any coin or pair on any timeframe please do get in touch anytime.
It's based on several indicators which are combined and then a newish way for the stop loss to implement based on an exponential rising which limits the time in each trade unless the price moves in the direction of the trade. The other useful feature is drawdown minimization which previously made all of my 1minute bot attempts non-practical due to differences between backtesting and actually running the bot(s) live.
Its possible at the top to paste in strategy comments which can be used through web-hooks for auto trading bots. Leaving these blank just defaults to the pre-programmed comments that provide some indication of why a trade was exited.
It is possible to select for Short and/or Long trades. Note however, that there are exponential markers on the charts for both long and short trades in any setting. I found that this way the bot worked well with regards to timing.
The next part of the user interface settings gets a bit tricky so try and use the sample parameters provided below. For example, select a crypto coin then try some of the options below until a reasonable backtest result in obtained (or select the best from the parameter groups tested) then move down the settings interface to optimise with the remaining settings.
So 'Use MACD/RVSI', 'RSI clause' and 'Use Stochastic' are set to true for the below sample settings (1min timeframe).
MACD/RVSI Confluence Resolution (1min, 2min, 5min, 10min, 1hour)
Timeframe RSI (1min, 2min, 3min, 15min, 1hour)
FastStoch, SlowStoch (1min, 45min: 5min, 30min: 1min, 1hour: 5min, 1hour)
Eg. for FTX:ETHPERP (MACD/RVSI Confluence Resolution=1hour, Timeframe RSI= 1min, FastStoch = 1min, SlowStoch = 45min)
Setting the timings is tricky - there is a lot going on. Have a look at the chart and select/deselect the options. The MACD/RVSI Confluence Resolution shows red and green vertical regions on the chart background. The Timeframe RSI colors the candle bodies red and green. These go green if the RSI crossed over 31% or red in the RSI crossed under 69%. The MACD/RVSI Confluence Resolution is explained in more detail in one of my other scripts. Then the Slow Stoch colors above and below the price action with red or green lines depending if on an uptrend or downtrend (approximately). Where there is also an up/down trend on the faster timeframe stoch there are vertical shaded fill regions between the slow stop above/below lines.
With all the above conditions selected to represent the data (looking at strategy backtest results whilst adjusting) there is a reasonable approximation to a credible trade.
So once an ok backtest result is obtained by selecting timing settings. Its ontot the Stop Ramp Settings. This is an exponential line which rises rapidly after a period of time thus exiting the trade or going upwards with the trade. It kind of limits the maximum time a trade will stay in position which forms part of the timing aspect of this bot. Look at the chart exponential red lines and adjust the settings, along with the backtest results to select a good timing.
Then its the Drawdown Catcher and the Take Profit Setting. Start with the drawdown catcher disabled i.e. set to zero. Put in a conservative Take Profit, for example if a Take Profit at 6% gives the best backtest results, go for 4% to account for differences between backtest results and actual live bot performance.
Then start to increase the Drawdown Catcher. This shades a lime region where the bot will not enter a trade. I found that with most trades using this bot, if the price action moved in the direction of the trade (long or short) at the onset - this gave most of the good results (high probability of positive trade). Also if a trade entered at the start price and when south, the accumilated drawdown from these failing trades made all previous 1min bot attempt non=profitable in practice (even with good backtest results). The exp timing and also this drawdown reduction strategies seem to be the thing which makes this approach credible.
Try to go for settings that give a very high change of positive trade. For example, an 85% profitable trades will probably provide say 55% positive trades in practice as its always highly possible to just fit the parameters to the exact position/trade timings - and in reality going forwards these don't play out the same. Also a Profit Factor of 2 is about the minimum I would accept - again this provides for example a Profit Factor of 1.2 in practive.
However all being said - I think its possible with this bot on the 1min across lots of coins - with regularly updating settings - to make profits. (Not financial advice)
Please do get in touch if you would like me to fit this bot to anytimeframe to any trade.
MoonFlag PhD
Relative Volume Strength Index Stepwise FieldRVSI Indicator with multiple stepwise plot lines for deeper trend analysis.
RVSI & MACD Confluence BackgroundThis indicator colors the background in vertical (green/red) stripes to indicate if the current trend is possibly bull / bear
A region where the background is not colored indicates that the present trend can not be identified
The algo combines the RVSI (Relative Volume Strength Index {ref fract} ) and the MACD
The Relative Volume Strength Index has been adapted to include 2 moving averages, one fast and one slow
This same fast slow lookback length is applied to the MACD for simplicity
What's interesting is that there is a very strong confluence between the MACD and RVSI, as the MACD is obtained from 'price action only' and the RVSI from the 'volume only'
So a break in confluence of these two might suggest that the current trend is weakening in confidence or can not be clearly identified
Generally, a green background means consider going long ie price trend is rising
A red background means consider going short ie price trend is falling
An absent background color means - consider exiting current trade or wait to get into a new trade
Best Regards, MoonFlag - and a special thanks/mention to 'fract' for the RVSI algo this is derived from
Relative Volume Strength IndexRVSI is an alternative volume-based indicator that measures the rate of change of average OBV.
How to read a chart using it?
First signal to buy is when you see RVSI is close to green oversold levels.
Once RVSI passes above it's orange EMA, that would be the second alert of accumulation.
Be always cautious when it reaches 50 level as a random statistical correction can be expected because of "market noises".
You know it's a serious uptrend when it reaches above 75 and fluctuates there, grading behind EMA.
The best signal to sell would be a situation where you see RVSI passing below it's EMA when the whole thing is close to Red overbought level
It looks simple, but it's powerful!
I'd use RVSI in combination with price-based indicators.