logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Carmichael_f  
#1 Posted : Tuesday, August 24, 2010 1:46:34 PM(UTC)
Carmichael_f

Rank: Member

Groups: Registered, Registered Users
Joined: 8/24/2010(UTC)
Posts: 15
Location: France

Bonjour, I would like to make a backtest of the Rahul Mohindar Osc (RMO). Could you help me to code properly the Buy order and the Sell order pages. I made : Buy order : fml("Rahul Mohindar Osc (RMO)") > 0 and fml("SwingTrd 2") > 0; Sell order : 0 > fml("Rahul Mohindar Osc (RMO)") and fml("EXIT Swing Signal") > 75; Best regards. Carmichael.
johnl  
#2 Posted : Tuesday, August 24, 2010 8:53:11 PM(UTC)
johnl

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/7/2005(UTC)
Posts: 602

I found it easier to code the conditions I want into a indicator like:

a1:=Fml("Rahul Mohindar Osc (RMO)") > 0 ;
a2:=Fml("SwingTrd 2") > 0; ;
a3:=a1*a2;
a3

Then copy an existing test and replace your indicator with the one you copied.

Carmichael_f  
#3 Posted : Wednesday, August 25, 2010 12:31:13 PM(UTC)
Carmichael_f

Rank: Member

Groups: Registered, Registered Users
Joined: 8/24/2010(UTC)
Posts: 15
Location: France

Bonjour, Sorry for the mismatch. I would like to konow, how to code the RMO System in the Enhanced system Tester. In the book "Unleash the power of Metastock", page 18, about the RMO : The bullish long trade is when : - RMO > 0 - Most recent alert arrow must be blue. - Price bars are blue. the bearish trade : - RMO < 0 - Most recent alert must be red - Price bars are red. Could you help me to code : - Most recent alert arrow must be blue. - Price bars are blue. - Most recent alert must be red - Price bars are red. By the way, i use MS11 EOD.
johnl  
#4 Posted : Wednesday, August 25, 2010 8:05:21 PM(UTC)
johnl

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/7/2005(UTC)
Posts: 602

The blue and red stuff is from the RMO expert. Right click the inner window and "attach"
the RMO expert advisor. You will see the blue and red bars. Then plot the RMO indicator in another inner window and create a new indicator using the Cross() function. Then go into the system tester with the new indicator to test. It will take you a while but if you do all 3 you are well on your way to mastering MS. (in my opinion at least). I am looking at MS11.
Carmichael_f  
#5 Posted : Tuesday, August 31, 2010 12:54:45 PM(UTC)
Carmichael_f

Rank: Member

Groups: Registered, Registered Users
Joined: 8/24/2010(UTC)
Posts: 15
Location: France

Bonjour, I made exactly what you write, but ... the problem is still open ! How to write an indicator or a system test to backtest RMO ?
johnl  
#6 Posted : Wednesday, September 1, 2010 7:59:14 PM(UTC)
johnl

Rank: Advanced Member

Groups: Registered, Registered Users
Joined: 11/7/2005(UTC)
Posts: 602

An indicator might look like:

a1 := Fml("Rahul Mohindar Osc (RMO)");
a2:=Cross(a1,0);
a2

Create this indicator in the indicator builder, then plot it to see if it looks like it is worth testing. If so, copy an existing system test and replace that indicator with yours.

Users browsing this topic
Guest (Hidden)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.