Rank: Newbie
Groups: Registered, Registered Users Joined: 7/9/2009(UTC) Posts: 2
|
Hi - I'm new to the forum and Metastock, I'm trying to replicate a simple breakout system to buy or sell on the 55 day high and low. I'm currently using the following - but when I run the test it's not generating any buy / sell signals:
BUY ORDER
Close>(HHV(c,55))
SELL ORDER
Close<(LLV(c,55))
Can anyone point me in the right direction? Any help would be appreciated.
thanks
|
|
|
|
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 rossco, Welcome to the forum. Think carefully about what your code says... If the lastest bar is the highest closing value in the last 55 bars, then how can the close be greater than this value? You have a couple of options: or There aren't the same, so try to appreciate the difference. Once you have, then you'll be better placed to employ the turtle logic to your trading. Hope this helps. wabbit [:D]
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users Joined: 7/9/2009(UTC) Posts: 2
|
that's great - thanks for your help!
|
|
|
|
Rank: Newbie
Groups ready for retrieval: Registered, Registered Users, Subscribers Joined: 12/18/2008(UTC) Posts: 7
|
How can we develop a sytem test for this formula.
For example HHV(H,55) is 100 and the last bar's valueas are O=98 L=96 C=99 H=103 (step is 1) I want to buy at 101 when the price is over HHV(H,55) and I do not want to wait for closing of the bar. If I wait for the close it buys ay the next bars opening price.
Can we do this? and how?
Thanks
|
|
|
|
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)
|
Don't use a Market Order in the EST; use a stop/limit/stoplimit order as required.
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.