PureBytes Links
Trading Reference Links
|
Hi Fernando
A much better way to work with MetaStock is to change your perspective from "If that happened today do this tomorrow" to " if that happened yesterday do this today". If you use a perspective of always being in the present looking to the past you will get into a lot less trouble with MetaStock than if your perspective is sometimes from the present looking into the future.
Your example would be written
SellShort:=O < (Ref(L,-2)*0,05) ;
The timing of each event has been shifted by one bar but the formula now works without looking into the future.
Hope this helps.
Regards
Roy
----- Original Message -----
From: Fernando Santos
To: equismetastock@xxxxxxxxxxxxxxx
Sent: Thursday, May 31, 2007 1:35 AM
Subject: [EquisMetaStock Group] Buy order
Hi
Can we give an order to buy or sell at tomorrow's opening if a certain condition is confirmed at tomorrow's opening?
For example, if Ref(O,+1) < (Ref(L,-1)*0,05) then sell short else do nothing
Could this produce problems in a system?
thank you
regards
__________ NOD32 2299 (20070530) Information __________
This message was checked by NOD32 antivirus system.
http://www.eset.com
[Non-text portions of this message have been removed]
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|