OPEN-SOURCE SCRIPT

EMA RSI ATR Hidden Div Strat - 1 Min

Telah dikemas kini
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!
Nota Keluaran
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.
Nota Keluaran
  • 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
Nota Keluaran
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

Skrip sumber terbuka

Dalam semangat sebenar TradingView, penulis telah menerbitkan kod Pine ini sebagai sumber terbuka supaya pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda boleh menggunakan perpustakaan ini secara percuma, tetapi penggunaan semula kod dalam penerbitan ini adalah dikawal oleh Peraturan dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Ingin menggunakan skrip ini pada carta?


Juga pada:

Penafian