OPEN-SOURCE SCRIPT

EMA RSI Strategy

Zaktualizowano

Simple strategy
=============

If the last two closes are in ascending order, the rsi is below 50 and ascending, and the current candle is above 200 ema, then LONG. If the last two closes are in descending order, the rsi is above 50 and descending, and the current candle is below 200 ema, then SHORT.

LONG Exit strategy:

ATR: Last 14 day
Lowest: The lowest value of the last 14 candles

Limit points = (Trade Price - Lowest + ATR) * 100000
trail_points : Limit/2
trail_offset = Limit/2

SHORT Exit strategy:

ATR: Last 14 day
Highest: The higher value of the last 14 candles

Limit points = (Trade Price - Highest + ATR) * 100000
trail_points : Limit/2
trail_offset = Limit/2

Backtest results for the AUDUSD pair gave positive results over the last three months.

I am testing this strategy using a python bot in a real environment this week and will update the results at the end of the week.

Disclaimer

This is not financial advice. You should seek independent advice to check how the strategy information relates to your unique circumstances.
We are not liable for any loss caused, whether due to negligence or otherwise arising from the use of, or reliance on, the information provided directly or indirectly by this strategy.
Informacje o Wersji
Minor bug fixes
Exponential Moving Average (EMA)Relative Strength Index (RSI)Trend Analysis

Skrypt open-source

W prawdziwym duchu TradingView autor tego skryptu opublikował go jako open source, aby inwestorzy mogli go zrozumieć i zweryfikować. Pozdrowienia dla autora! Możesz go używać bezpłatnie, ale ponowne użycie tego kodu w publikacji podlega Zasadom Regulaminu. Możesz go oznaczyć jako ulubione, aby użyć go na wykresie.

Chcesz użyć tego skryptu na wykresie?

Wyłączenie odpowiedzialności