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

Notification

Icon
Error

Options
Go to last post Go to first unread
biandi  
#1 Posted : Saturday, May 31, 2008 10:52:18 AM(UTC)
biandi

Rank: Member

Groups: Registered, Registered Users, Subscribers
Joined: 8/23/2007(UTC)
Posts: 25

seem trivial but on metastock as they say THEN BUY THE NEXT OPEN BAR?

THANKS

wabbit  
#2 Posted : Sunday, June 1, 2008 11:54:09 PM(UTC)
wabbit

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)
biandi,

Where do you want to use this code? If in the EST then its already "built in" using the trade delays.

If outside the EST, use the Ref() function or Alert() to test to see if the entry condition was triggered on the previous bar e.g.

LE:=some criteria;
If(Ref(LE,-1), OPEN, 0);

or whatever it is you are trying to achieve.



Hope this helps.

wabbit [:D]

Users browsing this topic
Guest (Hidden)
Similar Topics
HOW TO WRITE THEN BUY NEXT OPEN BAR (Formula Assistance)
by biandi 5/19/2008 12:42:02 AM(UTC)
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.