PureBytes Links
Trading Reference Links
|
Hi guys
As part of a developing system, I have an exit when a prior gap is closed (a
gap is one of the entry conditions). I have used the following code, but it
seems very slow to run (almost like a couple of PREV statements). Does
anyone have any ideas what the problem is and how it could be coded to run
faster?
{for long exit}
C< ValueWhen(1,GapUp(),Ref(H,-1))
{i.e. gives signal when today's close falls below the high that preceded the
gap up. Gapup() is one of the entry conditions, so I'm not worried about
prior gap closes}
Is ValueWhen as bad as PREV?
Best
Andrew
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/BefplB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> 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/
<<attachment: winmail.dat>>
|