ADX RSI Strategy

Strategies are published here.

Moderator: admin

ADX RSI Strategy

Postby Apprentice » Fri May 21, 2021 6:15 am

CHN50 m1 (05-21-2021 1311).png

Based on the request.
https://fxcodebase.com/code/viewtopic.php?f=27&t=71199

Open Long
ADX > ADX Level
RSI Cross Over RSI Buy Level
Open Short
ADX > ADX Level
RSI Cross Under RSI Sell Level

Close Long
RSI Cross Under RSI Buy Close Level
Close Short
RSI Cross Over RSI Sell Close Level

ADX RSI Strategy.lua
(31.69 KiB) Downloaded 252 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ADX RSI Strategy

Postby odfrebth » Fri May 21, 2021 8:42 am

Apprentice wrote:
The attachment CHN50 m1 (05-21-2021 1311).png is no longer available

Based on the request.
https://fxcodebase.com/code/viewtopic.php?f=27&t=71199

Open Long
ADX > ADX Level
RSI Cross Over RSI Buy Level
Open Short
ADX > ADX Level
RSI Cross Under RSI Sell Level

Close Long
RSI Cross Under RSI Buy Close Level
Close Short
RSI Cross Over RSI Sell Close Level

The attachment CHN50 m1 (05-21-2021 1311).png is no longer available


Hi, thank you.
Something is wrong :
Strat must open a buy in A + B and C+D
A: ADX pass over the x level . so pos must be open
B: RSI is above 50, so the pos A is a buy.

on the pic, the strat did not open a pos.
Attachments
CAP 1.png
CAP 1 bis.png
odfrebth
 
Posts: 13
Joined: Mon May 17, 2021 6:52 am

Re: ADX RSI Strategy

Postby Apprentice » Fri May 21, 2021 8:55 am

Open Long
ADX / ADX Level Cross Over
RSI > RSI Buy Level
Open Short
ADX / ADX Level Cross Over
RSI < RSI Sell Level

Close Long
RSI Cross Under RSI Buy Close Level
Close Short
RSI Cross Over RSI Sell Close Level


ADX RSI Strategy.lua
(31.7 KiB) Downloaded 236 times
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ADX RSI Strategy

Postby odfrebth » Sat May 22, 2021 5:28 pm

Apprentice wrote:Open Long
ADX / ADX Level Cross Over
RSI > RSI Buy Level
Open Short
ADX / ADX Level Cross Over
RSI < RSI Sell Level

Close Long
RSI Cross Under RSI Buy Close Level
Close Short
RSI Cross Over RSI Sell Close Level


ADX RSI Strategy.lua

Hi, hope you're well.
it is possible to add :
EMA : users must choose
- period 9 or 14 or 39 .....
-Timeframe M15 or H1 ..... (she can be different than others)

The new equation becomes :
Open Long
ADX / ADX Level Cross Over
RSI > RSI Buy Level and EMA is going up
Open Short
ADX / ADX Level Cross Over
RSI < RSI Sell Level and EMA is going down?
Thank you
odfrebth
 
Posts: 13
Joined: Mon May 17, 2021 6:52 am

Re: ADX RSI Strategy

Postby odfrebth » Sun May 23, 2021 9:04 am

Apprentice wrote:Open Long
ADX / ADX Level Cross Over
RSI > RSI Buy Level
Open Short
ADX / ADX Level Cross Over
RSI < RSI Sell Level

Close Long
RSI Cross Under RSI Buy Close Level
Close Short
RSI Cross Over RSI Sell Close Level


ADX RSI Strategy.lua


Last question;
Can you split the strat
the first one strat only long
the second strat only short.
it's easier to program separately.
Thanks.
odfrebth
 
Posts: 13
Joined: Mon May 17, 2021 6:52 am

Re: ADX RSI Strategy

Postby Apprentice » Tue May 25, 2021 4:08 am

U can use the "Allowed side for trading or signaling" parameter for that.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ADX RSI Strategy

Postby Apprentice » Tue May 25, 2021 7:53 am

ADX RSI Strategy.lua
(33.31 KiB) Downloaded 223 times

Open Long
ADX / ADX Level Cross Over
RSI > RSI Buy Level and EMA slope is Up
Open Short
ADX / ADX Level Cross Over
RSI < RSI Sell Level and EMA slope is Down
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: ADX RSI Strategy

Postby odfrebth » Tue May 25, 2021 10:14 am

Apprentice wrote:
ADX RSI Strategy.lua

Open Long
ADX / ADX Level Cross Over
RSI > RSI Buy Level and EMA slope is Up
Open Short
ADX / ADX Level Cross Over
RSI < RSI Sell Level and EMA slope is Down


Perfect, thanks
odfrebth
 
Posts: 13
Joined: Mon May 17, 2021 6:52 am

Re: ADX RSI Strategy

Postby odfrebth » Thu May 27, 2021 3:57 am

Apprentice wrote:
ADX RSI Strategy.lua

Open Long
ADX / ADX Level Cross Over
RSI > RSI Buy Level and EMA slope is Up
Open Short
ADX / ADX Level Cross Over
RSI < RSI Sell Level and EMA slope is Down


Hi,
Can we try :

Open Long
ADX / ADX Level Cross Over
RSI > RSI Buy Level and MA (9) is above MA (39)
Open Short
ADX / ADX Level Cross Over
RSI < RSI Sell Level and MA 9 is below MA39

It's to reduce a little more the wrong long or short.
Thank you.
odfrebth
 
Posts: 13
Joined: Mon May 17, 2021 6:52 am

Re: ADX RSI Strategy

Postby Apprentice » Thu May 27, 2021 4:19 am

Your request is added to the development list.
Development reference 524.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36435
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Custom Strategies

Who is online

Users browsing this forum: Baidu [Spider] and 19 guests