Highly adaptable RSI Strategy

Strategies are published here.

Moderator: admin

Highly adaptable RSI Strategy

Postby Apprentice » Wed Jan 30, 2013 7:23 am

RSI.png


Trading Events
1. Line Cross
2. Line Cross
3. Line Cross
4. Line Cross
5. Line Cross
6. Line Cross

Trading Actions.
Buy, Sell, Close, Alert

For any of Trading Events, You can define one Trading Actions from list.

In this example.
1. Line / Price Crossover
Close Trade
1. Line / Price Crossunder
Open Short Position
2. Line / Price Crossunder
Close Trade
2. Line / Price Crossover
Open Long Position

Highly adaptable RSI Strategy.lua
(25.63 KiB) Downloaded 2925 times


MT4 version.
https://fxcodebase.com/code/viewtopic.php?f=38&t=71255
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Highly adaptable RSI Strategy

Postby automan » Mon Feb 11, 2013 5:43 am

allow multiple

don't work?
automan
 
Posts: 19
Joined: Wed Mar 09, 2011 1:32 pm

Re: Highly adaptable RSI Strategy

Postby automan » Mon Feb 11, 2013 7:20 am

Just to clarify what i mean

if using 60 min and level 30 for buy

first buy when first 60 minute bar close and rsi under 30

second buy when second 60 min bar close and rsi under 30

third and so on
automan
 
Posts: 19
Joined: Wed Mar 09, 2011 1:32 pm

Re: Highly adaptable RSI Strategy

Postby Apprentice » Mon Feb 11, 2013 6:23 pm

Strategy only supports Line crossover trades.
Multiple positions would be open, for example, if you select two trades in same direction on two different lines.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Highly adaptable RSI Strategy

Postby bfleming » Tue Feb 26, 2013 8:40 am

Could you add a "magic number" to this s it doesn't interfere with other strategies and open trades on the same pair. Thanks.
bfleming
 
Posts: 29
Joined: Mon Aug 20, 2012 9:42 am

Re: Highly adaptable RSI Strategy

Postby Apprentice » Wed Feb 27, 2013 8:07 am

Your request is added to the developmental lists.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Highly adaptable RSI Strategy

Postby Nightmare21 » Tue Mar 12, 2013 12:02 pm

Hi! I want an EA of RSI with this sitting level 47 and level 53. Default Time prime 4h.
Rules:
Short
Sell when RSI cross line under level 47; close when it reach 50 level

Long
Buy when RSI cross line over level 53; close when it reach 50 level

I want to add also a trailing limit into three portion. The first limit is set to 50 pips, second is 100 pip and the last portion shall be determine by the RSI level 50. The percentage of each portions is 0.33
Note:
RSI level 50 should be the stop lose.

Thank you very much...
Nightmare21
 
Posts: 3
Joined: Tue Dec 11, 2012 4:12 pm

Re: Highly adaptable RSI Strategy

Postby Apprentice » Wed Mar 13, 2013 7:48 am

Your request is added to the developmental list.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: Highly adaptable RSI Strategy

Postby Nightmare21 » Tue Apr 09, 2013 11:38 am

hello Apprentice,

I want an EA with a version in android and .lua. Hope you can provide it. Thanks more power.
Nightmare21
 
Posts: 3
Joined: Tue Dec 11, 2012 4:12 pm

Re: Highly adaptable RSI Strategy

Postby Apprentice » Wed Apr 10, 2013 3:29 am

This is not possible at this moment
Mobile TS (Android) does not support indicators/strategies.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Next

Return to Custom Strategies

Who is online

Users browsing this forum: No registered users and 18 guests