Rank: Newbie
Groups: Registered, Registered Users Joined: 5/10/2009(UTC) Posts: 5
|
Hi
I am fairly new to Metastock but wanted to know if its possible to build a position in system tester using more than 1 rule e.g.
Rule 1 - Mov(C,20)>Mov(C,60) = Buy 1
Rule 2 - Mov(C,50)>Mov(C,150) = Buy 1
Rule 3 - Mov(C,150)>Mov(C,450) = Buy 1
and the opposing signals for sells so I can build a position in steps between -3 & +3 from fully short to fully long?
Or is this just not possible?
Thanks for any responses.
Dave
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users, Subscribers, Unverified Users Joined: 10/28/2004(UTC) Posts: 3,111 Location: Perth, Western Australia
Was thanked: 16 time(s) in 16 post(s)
|
Hi Dave,
You can open multiple positions in MS EST by setting the number of simultaneous positions to the appropriate value.
As for the three entry rules, you will need to use some sort of latch and/or reset criteria so that multiple entires at the same rule are not taken. You will have to write better definitions in the working code.
Use the entry size algorithm to open the required position at each trigger.
It might take some tweaking, but from a quick look, it is achievable.
wabbit [:D]
|
|
|
|
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.