PureBytes Links
Trading Reference Links
|
Rather than spend otherwise useful time getting rid of some redundant PREV
functions (you'll probaly still need a minimum of three PREVs), I suggest
you try the excellent AdvancedStop.dll by Richard Dale, free from:
http://www.tradernexus.com/advancedstop/advancedstop.html
Sample trailing stop code using the AdvancedStop.dll can found at
MetaStockTools.com
jose '-)
http://www.metastocktools.com
--- In equismetastock@xxxxxxxxxxxxxxx, "onet" <wxyz0@xxx> wrote:
>
> Can anybody help me how to elimanate the PREV function in formula below,
due to PREV function slowdown dramatically efficiency of system working
with online data.
>
> Rgds Mirek
>
>
> ---------------8-----------------------
>
> xxx:=Input("proc",0.1,10,5);
> If(
> C=PREV,
> PREV,
> If(
> ((Ref(C,-1)<PREV)AND (C<PREV)),
> Min(PREV,C*(1+xxx/100)),
> If(
> (Ref(C,-1)>PREV) AND (C>PREV),
> Max(PREV,C*(1-xxx/100)),
> If(
> C>PREV,
> C*(1-xxx/100),
> C*(1+xxx/100)
> )
> )
> )
> )
>
> --------------------8-----------------------
------------------------ Yahoo! Groups Sponsor --------------------~-->
Transfer from your equities account.
Receive up to $1,000 from GFT. Click here to learn more.
http://us.click.yahoo.com/aZttyC/X_xQAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~->
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/
|