OB OS RSI Strategy

Strategies are published here.

Moderator: admin

Re: OB OS RSI Strategy

Postby Paulo C » Mon Dec 09, 2013 5:29 am

Apprentice wrote:Can you explain your request in more detail.
To Remove, MA filter?


Yes :)
Paulo C
 
Posts: 20
Joined: Tue Nov 26, 2013 11:55 pm

Re: OB OS RSI Strategy

Postby Apprentice » Wed Dec 11, 2013 9:14 am

OB OS RSI Strategy.lua
(19.47 KiB) Downloaded 732 times

MA filter switch has been added to this version.
User avatar
Apprentice
FXCodeBase: Confirmed User
 
Posts: 36341
Joined: Thu Dec 31, 2009 11:59 am
Location: Zagreb, Croatia

Re: OB OS RSI Strategy

Postby Paulo C » Thu Jan 02, 2014 12:36 am

Apprentice wrote:
OB OS RSI Strategy.lua

MA filter switch has been added to this version.

Hi Apprentice,

The strategy is good, but I wonder if it is possible, instead of giving a market order, give an entry order, such as for example:
EUR / USD RSI reaches 70 with price as $ 1.38, at that time the program gives an entry order to "X pips that amount" if you choose 20, the program gives an entry order to $ 1.3820
Already my thanks
Paulo C
 
Posts: 20
Joined: Tue Nov 26, 2013 11:55 pm

Re: OB OS RSI Strategy

Postby Apprentice » Fri Jan 03, 2014 3:28 pm

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

Re: OB OS RSI Strategy

Postby Paulo C » Fri Jan 03, 2014 7:12 pm

Apprentice wrote:Your request is added to the development list.


Is very important to me, thank you
Paulo C
 
Posts: 20
Joined: Tue Nov 26, 2013 11:55 pm

Re: OB OS RSI Strategy

Postby virgilio » Mon Jan 06, 2014 7:06 pm

Dear apprentice, right now this strategy is based on the MA and RSI viewed as one variable.
In order to much improve the performance and flexibility, this strategy should be modified as follows:
TRADE LONG when the Price > MA (this should remain fixed for all LONG Positions) AND each time the RSI crosses above OS. Close Position when Price is still > MA but RSI<OB.
As I said, currently this strategy trades ONLY when both Price > MA and RSI cross at the same time. This should not happen. In fact, let's assume Price crosses above MA and stays above the MA for a long time. During the same period of time, the RSI crosses over OS and under OB multiple times. Each time the RSI crosses above the OS should be a new trigger for a new buy (and each time RIS crosses under OB it should close the position) without waiting for the Price > MA to happen at the same time (as this variable is already in that position).
TRADE SHORT happens when the exact reverse takes place.
virgilio
 
Posts: 66
Joined: Mon Aug 23, 2010 12:16 pm

Re: OB OS RSI Strategy

Postby Apprentice » Wed Jan 08, 2014 5:14 am

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

Re: OB OS RSI Strategy

Postby moomoofx » Mon Jan 13, 2014 5:00 am

Hi all,

Here is a new version of this strategy. Please note:
- There was a bug associated with the above flag to toggle the MVA filter - I have fixed this.
- Paulo C's requirement of entry orders are now supported. There is a new parameter which allows you to configure entry orders or market orders. If you choose entry orders, you can specify the number of pips away to place the order and if the order should expire at the end of the day, or never.
- I cannot reproduce the problem virgilio has pointed out regarding the MVA and the OS/OB crossing being linked. This is not how it is developed - please see the following screenshot.
OBOSRSI.png


Enjoy.
Attachments
OB OS RSI Strategy.lua
(22.59 KiB) Downloaded 712 times
User avatar
moomoofx
FXCodeBase: Confirmed User
 
Posts: 193
Joined: Wed Oct 23, 2013 10:26 pm
Location: Okinawa, Japan. http://moomooforex.com

Re: OB OS RSI Strategy

Postby axeas69 » Sat Apr 18, 2015 10:34 am

Hello,
Plse could you add a new exit rule based on SMA (or EMA...).
Once price closed above this SMA, the trade was closed for long.
Once price closed below this SMA, the trade was closed for short.
Of course, this SMA is a new SMA (not 200).
Thanks in advance.
Kind regards
Axeas
axeas69
 
Posts: 17
Joined: Mon Jan 06, 2014 4:57 am

Re: OB OS RSI Strategy

Postby Apprentice » Thu Apr 23, 2015 6:21 am

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

PreviousNext

Return to Custom Strategies

Who is online

Users browsing this forum: Google [Bot] and 24 guests