RSI Divergence Indicator strategy

This strategy is based on RSI divergence indicator.

RSI period setting 5

Go Long when Bull or Hidden Bull is shown

Exit when RSI goes above 75 OR when bear condition appears
Notas de Lançamento: just removed the unwanted indicator to make the chart clean ...
Notas de Lançamento: cleanup indicators
Notas de Lançamento: 1. Look back period default setting updated to 3

2. strategy pyramiding default has been set to 2. (it would allow legging in to existing trade , when the same Long condition is met)
Notas de Lançamento: I have added Take profit level parameter. Default value for this one is when RSI reaches 75.

I have tested GOOGL with below settings
> RSI 5, close, 3,1 and 75 which shows 87.21 % win rate and 7.059 profit factor.
> RSI 8, close, 3, 1 and 75 which shows 89.55 % win rate and 8.471 profit factor
> RSI 9, close, 3, 1 and 80 which shows 91.53 % win rate and 30.124 profit factor

Same settings might not work for all symbols , you need to tweak the settings to get the 75% win rate and at least 3 profit factor.

If I increase the take profit level to above 75 or RSI value above 5 , you might get Profit factor high, but number of trades reduces and number of bars in trades is high. I would say RSI above 5 and take profit level 80 and beyond works for Long Term ... (Investing style)

Happy Trading :-)
Remover dos scripts favoritos Adicionar aos scripts favoritos


does it repaint? coz itseems like it repaints
Hello, Thanks for the script. It was great!! I am an intraday trader for Stock Market for both US and AUS and often goes for long trades as I tend to hold for weeks or months.
Would appreciate your suggestion for other indicator to use together with this one to maximise the entry and exit point? or script with buy/sell indicator?
I noticed this indicator has slight late signal to point out the divergence on 30min and 1hr chart. Any suggestion to tweak?
Thank you :)
mohanee M_M_M_M

Yes signal comes after divergence flag is shown. Even though it is delayed by 3 to 5 bars (can be changed in settings) , winning rate and profit factor is considered only when the trade signal is generated. Not from the divergence is shown.
I don't think you can get better results just entering on divergence flag.

Delay signal benefits , Some times you may also get a better entry point from the signal when it is trading under divergence.

Anyways, you can add a better entry filter by looking into one HR or 4 hr chart.
Take only 50% of intended buy volume and add next 50% when rsi coming up from below 20 or 30. (Daily or hourly) . That averages the buy price ...
alerts pleasee
+2 Resposta
Hi There!
1. Very nice work!
2. Is there any reason going only long?
3. How can we have SL (% based) easily added to the strategy?

Cheers ad thanks!
mohanee eladlevi

1. I haven't found good strategy to go Short.

2. In my latest Rsi V pattern strategy , stop loss has been included. Please check that code and you can copy the same in to this strategy
eladlevi mohanee
1. Thanks a lot!
2. I run the strategy using (day frame) reply. and I see that the buy signal only appears after the next bar ends.. any ideas why is it and how can i over come it?
(basically would like to run this every day, and enter to trade on day end / start of day - using the strategy as signal).

mohanee eladlevi

You can use process_order_close=true in strategy definition , which would give signal/change bar color on the same day.
eladlevi mohanee
@mohanee, Thanks - Did add process_orders_on_close=true in the strategy define. Didnt work :(
can you run check using the bar reply ?

thanks a lot for helping out.
mohanee eladlevi

Please share the screen shot and point out where exactly is the problem ?
Início Rastreador de Fundamentos Rastreador Forex Rastreador de Criptomoedas Calendário Econômico Como Funciona Recursos gráficos Preços Indique um Amigo Regras da Casa Central de Ajuda Soluções para Sites & Corretoras Widgets Soluções em Gráficos Biblioteca de Gráficos Lightweight Blog & Notícias Twitter
Perfil Configurações de perfil Conta e cobrança Indique um Amigo Meus Tíquetes de Suporte Central de Ajuda Ideias Publicadas Seguidores Seguindo Mensagens Privadas Conversa Deslogar