Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 12/11/2010(UTC) Posts: 2
|
Hello,
i am a new user and i have one question. I am creating my System in Metastock and i need to know how to ignore the buy signal when i have opened position.
Which formula can I use?
Thank you in advance for your help.
|
|
|
|
Rank: Advanced Member
Groups: Registered, Registered Users Joined: 11/7/2005(UTC) Posts: 602
|
In the "System Editor" General tab - will the position limit box at the bottom work for what you want to do?
|
|
|
|
Rank: Newbie
Groups: Registered, Registered Users, Subscribers Joined: 12/11/2010(UTC) Posts: 2
|
I know, I checked this box (limit number of simultaneous positions to 1), but don't know how to make one thing.
My system opens positions when there is some signal (e.g. on 12-28-2010) and i would like to set a take profi level (= opening price + e.g. 100). But i don't know how to download and remember last opening price in the system.
Buy order: C>(Ref(C,-1))
Sell order: ww:=(C>(Ref(C,-1))); ee:=If(ww, Ref(O, +1),PREVIOUS); r:=100; tt:=If(ww,ee+r,PREVIOUS); tt<H AND tt>L
But sell order limit moves up when i have on open position and when the system generate new singnal "buy order"
|
|
|
|
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.