OPEN-SOURCE SCRIPT

EMA RSI ATR Hidden Div Strat - 1 Min

Updated
Hey there!

Hereby I present you the EMA RSI Lowest Low Hidden Divergence strategy, which I discovered on a youtube channel.
He has tested the strategy hundreds of times manually, herewith I try to automate the whole thing.

Since I use the strategy with a bot, it can only enter long positions for now. But in the future I will add the possibility to trade short positions.

The strategy was tested with BTC/ USDT in 1m chart (8 days). The values must be adjusted depending on the timeframe and coin.

-----------------------------------------------------------------------------------

How does the strategy work?

First of all, we need a bullish hidden divergence.
Once this is detected, the following parameters are checked:

The 50 EMA must cross the 250 EMA .

Then, the candle must close above the 50 EMA .

The K line of the RSI STOCH indicator need to crosses the D line.

If the next candle closes above the 50 EMA , a long position is opened.

The stop loss is determined with the "lowest low/highest high lookback".
The profit factor is multiplied by the value of the lowest low/highest high lookback.

The results of the strategy are without commissions and levers.

If you have any questions or feedback, please let me know in the comments.

In the future I will add other types of stop loss / take profits. (ATR; %; eg.)

I wish you good luck with the strategy!
Release Notes
The strategy is now designed on a 15 minute chart, but works just as well on the 1 minute chart.

It is now possible to trade short positions.

You can now see the stop loss of the respective candle.
Release Notes
  • Added the possibility to calculate the stop loss and take profit by means of the ATR


*Added table with the last tp and sl

*take profit and stop loss marked on the chart
Release Notes
I fixed a bug that caused incorrect purchases when used with bots.
1minuteAverage True Range (ATR)CryptocurrencyExponential Moving Average (EMA)hiddendivergencelowtimeframeRelative Strength Index (RSI)tradepro

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer