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

Notification

Icon
Error

Options
Go to last post Go to first unread
Ploufplouf  
#1 Posted : Sunday, April 18, 2010 3:23:33 PM(UTC)
Ploufplouf

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 9/19/2009(UTC)
Posts: 27

I would like to back test a simple oscillator with various periods (Ex: RSI 9/RSI 10/RSI 11/RSI 12...)

I want to test only long positions. I would like to measure the maximum performance of the system, so I would like to sell always on the top of the next peak.

How to do that in the Enhanced System Tester?

NB: (I know that's cheating, but that's really usefull for some stats ;))
johnl  
#2 Posted : Sunday, April 18, 2010 7:54:30 PM(UTC)
johnl

Rank: Advanced Member

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


Create a signal something like:

a1:=Peak(1,C,10);
a2:=(a1<>Ref(a1,-1));
a2

Then "sell" when a2=1.

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.