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

Notification

Icon
Error

Options
Go to last post Go to first unread
Gherkin  
#1 Posted : Saturday, September 18, 2010 8:57:54 AM(UTC)
Gherkin

Rank: Member

Groups: Registered, Registered Users, Unverified Users
Joined: 9/18/2010(UTC)
Posts: 22

Was thanked: 2 time(s) in 2 post(s)
Hi guys, first time poster but long time trader. Basically I'm trying to set up a conditional entry for a system test but I'm struggling with the semantics of the system tester.

I have the first part of my set up condition and have tried the ALERT function to enter on a break out after my initial set up conditions are filled. To this end I coded the following:

"INITIAL SETUP CONDITION X" and ALERT((HIGHEST(10)>=HHV(HIGH,50)),50)

It's meant to enter long after the market trades (within the next 10 bars) at a price higher (or equal to) the highest price it's traded at in last 50 bars, and to keep this checking for this over the next 50 bars after the intial set up condition was triggered.

It is definitely wrong code though, as whenever I review trades on chart I get impossible entries. Even with a 1 day lag, some of these entries are in defined downtrends, which ovbiously violate the intention of a 50 bar high. Can anyone tell me where my syntax is wrong?


johnl  
#2 Posted : Sunday, September 19, 2010 7:42:31 PM(UTC)
johnl

Rank: Advanced Member

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

Highest(10) is 10 is I am reading the User Manual correctly. That would throw your
results off.
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.