[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: Trouble with data for indices created by Add To Composite function



PureBytes Links

Trading Reference Links

Just wanted to say thanks to everyone for your help!  All of your 
suggestions worked perfectly!

John

\
--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> How about simply using ref instead of barssince?
> 
> ref( Cross( PDI( 3 ), MDI( 3 ) ),-1)
> n
> Regards,
> 
> Jayson
> 
>   -----Original Message-----
>   From: fsmart21 [mailto:jdgeddie@x...]
>   Sent: Wednesday, April 28, 2004 3:48 PM
>   To: amibroker@xxxxxxxxxxxxxxx
>   Subject: [amibroker] barssince question
> 
> 
>   This is probably an easy question for most of you guys.  How do I 
set
>   this parameter so that only data from the previous day (end of day
>   data) is considered for generating buy/sell signals.  Here's my 
buy
>   signal:
> 
>   Buy = BarsSince( Cross( PDI( 3 ), MDI( 3 ) ) ) <= 1
> 
>   I tried using =1 instead of <=1, but receive a syntax error.  I do
>   not want to look at data of less than one bar (daily setting).
> 
>   Any ideas?
> 
> 
> 
>   Send BUG REPORTS to bugs@xxxx
>   Send SUGGESTIONS to suggest@xxxx
>   -----------------------------------------
>   Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
>   (Web page: http://groups.yahoo.com/group/amiquote/messages/)
>   --------------------------------------------
>   Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> 
> 
>         Yahoo! Groups Sponsor
>               ADVERTISEMENT
> 
> 
> 
> 
> 
> --------------------------------------------------------------------
--------
> --
>   Yahoo! Groups Links
> 
>     a.. To visit your group on the web, go to:
>     http://groups.yahoo.com/group/amibroker/
> 
>     b.. To unsubscribe from this group, send an email to:
>     amibroker-unsubscribe@xxxxxxxxxxxxxxx
> 
>     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service.



Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/