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

Notification

Icon
Error

Options
Go to last post Go to first unread
dolar  
#1 Posted : Sunday, December 26, 2010 8:14:33 AM(UTC)
dolar

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.


johnl  
#2 Posted : Sunday, December 26, 2010 7:05:10 PM(UTC)
johnl

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?


dolar  
#3 Posted : Tuesday, December 28, 2010 3:28:35 AM(UTC)
dolar

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.