RSI, ADX System | Page 2 | Forex Factory

HeroPoker_HeroPoker扑克_HeroPoker德扑圈官网

Attachments: RSI, ADX System

RSI, ADX System

Guys - if you want an EA for this just let me know - Ill email it across

there are a few variations...I think post 19 looks interesting....could you do an ea on this strategy?
Yes -ive got i built.
Theres quite a few inputs too so you can play around with it. one such input setup would achieve post 19
Yes -ive got i built. Theres quite a few inputs too so you can play around with it. one such input setup would achieve post 19
pm sent
That is holy grail setup, but price has to retrace to EMA 20. Normally you would see flag or pennant at that point.
Guys - the following does not work:
- buy
- RSI >40
- ADX >25

- sell
- RSI <60
- ADX >25

I also added sma/ema cross + trade in direction of MACD ie trend but there are still too many false starts - ie the trade does not trend and closes out.
can the indicator have this

if RSI is crosses above 50 and DI->DI+ give sell arrow on chart
if RSI is crosses below 50 and DI+>DI- give buy arrow on chart
please send image chart and show on chart how take position
I am working on something similar. Buy if RSI goes above 60 and ADX >25 and close when comes back to 60. Sell if RSI goes lower than 40 and ADX > 25 and close when comes back to 40. Just having a hard time finding an EA for this.
Yes I have done similar approach but with rsi 7 &14 + ADX.
the strategy will generate more buy /sell signals on each price bar due to the condition that ADX >20 and RSI >60 To prevent more buy/sell orders add two MAs example 1.FAST SMA =20 2.SLOW SMA=100 3.RSI(14 Period) 4.ADX (14 Period) For Buy: When FAST SMA(20) Cross above SLOW SMA(100) and ADX >=25 And RSI >=50 to Enjoy a long term trend add trailing stop The Sell is When FAST SMA(20) Cross below SLOW SMA(100) and ADX >=25 And RSI <50 This Strategy will only buy/Sell only if there is a CrossOver and all other conditions are met .
I Revised and used EMA 20-EMA100
1.FAST EMA =20

2.SLOW EMA=100

3.RSI(14 Period)
4.ADX (14 Period)

For Buy: When FAST EMA(20) Cross above SLOW EMA(100) and ADX >25 And RSI>60 &RSI<80 &RSI current >RSI Previous
to Enjoy a long term trend add trailing stop

The Sell is When FAST EMA(20) Cross below SLOW EMA(100) and ADX >=25 And RSI<40 & RSI >20&RSI current <RSI Previous

*** Exit if RSI Return back to 50 level
Attached Image(s) (click to enlarge)
Click to Enlarge

Name: screenshot.png
Size: 45 KB
Click to Enlarge

Name: screenshot.png
Size: 33 KB
Attached File(s)
File Type: ex4 RSI&ADX-EP03.ex4   23 KB | 247 downloads
File Type: mq4 RSI&ADX-EP03.mq4   12 KB | 281 downloads
File Type: ex4 All_ADX-edition.ex4   19 KB | 220 downloads
File Type: mq4 All_ADX-edition.mq4   6 KB | 274 downloads
File Type: ex4 All_RSI-edition.ex4   14 KB | 202 downloads
File Type: mq4 All_RSI-edition.mq4   5 KB | 275 downloads
Revise to EP-08
Attached Image(s) (click to enlarge)
Click to Enlarge

Name: screenshot (1).png
Size: 67 KB
Click to Enlarge

Name: screenshot.png
Size: 44 KB
Attached File(s)
File Type: ex4 All_ADX-edition.ex4   19 KB | 235 downloads
File Type: ex4 All_RSI-edition-2.ex4   14 KB | 233 downloads
File Type: ex4 MA_9_27.ex4   17 KB | 232 downloads
File Type: ex4 Power_RSI-EP08.ex4   24 KB | 271 downloads
23-march 2023
NZDJPY
H1
Attached Image (click to enlarge)
Click to Enlarge

Name: screenshot.png
Size: 56 KB
Hello! Could you help me to detect the error in line 78 of the mql5 code below (Thank you in advance):


#property indicator_chart_window
#property indicator_buffers 2
#property indicator_plots 2
// Indicator parameters
input int RSI_Period = 14;
input int Buy_Level = 30;
input int Sell_Level = 70;
input string Push_Notif_Title = "RSI Alert";
input string Push_Notif_Buy = "RSI Buy Signal";
input string Push_Notif_Sell = "RSI Sell Signal";
// Indicator buffers
double RSI_Buffer[];
double Level_Buffer[];
// Handle for push notification
int Push_Notif_Handle;
// Indicator initialization function
int OnInit()
{
// Define the properties of indicator buffers
SetIndexStyle(0, DRAW_LINE);
SetIndexBuffer(0, RSI_Buffer);
SetIndexLabel(0, "RSI");
SetIndexDrawBegin(0, RSI_Period);
SetIndexStyle(1, DRAW_LINE);
SetIndexBuffer(1, Level_Buffer);
SetIndexLabel(1, "Level");
SetIndexDrawBegin(1, RSI_Period);
// Create the push notification
Push_Notif_Handle = PushNotificationCreate();
// Returns "true" to indicate successful initialization
return (INIT_SUCCEEDED);
}
// Indicator calculation function
int OnCalculate(const int rates_total,
const int prev_calculated,
const datetime &time[],
const double &open[],
const double &high[],
const double &low[],
const double &close[],
const long &tick_volume[],
const long &volume[],
const int &spread[])
{
// Calculate the RSI for each bar
ArraySetAsSeries(RSI_Buffer, true);
ArraySetAsSeries(Level_Buffer, true);
int limit = rates_total - prev_calculated;
for (int i = limit; i >= 0; i--)
{
RSI_Buffer[i] = iRSI(NULL, 0, RSI_Period, PRICE_CLOSE, i);
Level_Buffer[i] = Buy_Level;
if (RSI_Buffer[i] >= Sell_Level)
{
Level_Buffer[i] = Sell_Level;
// Send a push notification if the RSI reaches the defined sell level
PushNotificationSend(Push_Notif_Handle, Push_Notif_Title, Push_Notif_Sell);
}
else if (RSI_Buffer[i] <= Buy_Level)
{
Level_Buffer[i] = Buy_Level;
// Send a push notification if the RSI reaches the defined buy level
PushNotificationSend(Push_Notif_Handle, Push_Notif_Title, Push_Notif_Buy);
}
}
// Returns "rates_total" to indicate that the calculation was successful
return (rates_total);
}
will be up date soon
Attached Image (click to enlarge)
Click to Enlarge

Name: screenshot.png
Size: 43 KB
I've coded an EA using RSI, ADX, two EMAs, and ATR for the trailing stop.

I ran over 9,000 simulations with different indicator settings, RSI and ADX configurations, as well as various trailing stop levels, using REAL TICK DATA over 26 YEARS on EUR/USD with 98% tick modeling quality on the 4H timeframe ?because no combination produced positive returns on the 1H timeframe or lower.

Unfortunately, the best combination delivered a total profit of 105% (again, over 26 years), which is quite low, with a maximum drawdown of 22%. You could increase the risk to achieve slightly higher returns, but personally, I don't think it's worth it.

It doesn抰 even work without a trailing stop, as the losing trades would wipe out the winners. That抯 why I had to include one.

Some images are worth more than words (see attached files).
As you can see, despite the low return, the strategy also experiences very long ranging periods (YEARS).

Hope this helps.
Attached Image(s) (click to enlarge)
Click to Enlarge

Name: screenshot.png
Size: 19 KB
Click to Enlarge

Name: screenshot.png
Size: 20 KB
SPB All Time Return: 4.3%