Page 1 of 10

Highly adaptable RSI Strategy

PostPosted: Wed Jan 30, 2013 7:23 am
by Apprentice
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 2928 times


MT4 version.
https://fxcodebase.com/code/viewtopic.php?f=38&t=71255

Re: Highly adaptable RSI Strategy

PostPosted: Mon Feb 11, 2013 5:43 am
by automan
allow multiple

don't work?

Re: Highly adaptable RSI Strategy

PostPosted: Mon Feb 11, 2013 7:20 am
by automan
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

Re: Highly adaptable RSI Strategy

PostPosted: Mon Feb 11, 2013 6:23 pm
by Apprentice
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.

Re: Highly adaptable RSI Strategy

PostPosted: Tue Feb 26, 2013 8:40 am
by bfleming
Could you add a "magic number" to this s it doesn't interfere with other strategies and open trades on the same pair. Thanks.

Re: Highly adaptable RSI Strategy

PostPosted: Wed Feb 27, 2013 8:07 am
by Apprentice
Your request is added to the developmental lists.

Re: Highly adaptable RSI Strategy

PostPosted: Tue Mar 12, 2013 12:02 pm
by Nightmare21
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...

Re: Highly adaptable RSI Strategy

PostPosted: Wed Mar 13, 2013 7:48 am
by Apprentice
Your request is added to the developmental list.

Re: Highly adaptable RSI Strategy

PostPosted: Tue Apr 09, 2013 11:38 am
by Nightmare21
hello Apprentice,

I want an EA with a version in android and .lua. Hope you can provide it. Thanks more power.

Re: Highly adaptable RSI Strategy

PostPosted: Wed Apr 10, 2013 3:29 am
by Apprentice
This is not possible at this moment
Mobile TS (Android) does not support indicators/strategies.