'my indicators that generate signals require 100 bars of data'

Given this statement, you will need to get back-adjusted futures data. I
see no other way unless you want to generate signals from an index as a
proxy.
--
Terry


Tks

Paul


PS I am not sure if I am expressing myself correctly here..

- Show quoted text -

>
> On 6/9/06, Terry <[EMAIL PROTECTED]> wrote:
> > Ideas:
> >
> > 1. Easy way: Get properly back-adjusted data from a good source.
> >
> > 2. Hard way: I could envision, with some work and appropriate symbol
> > names, that you could write code that would change the symbol name
based
> > on the date and thus either change foreign()/SetForeign() data OR
> > require the correct symbol name in the buy statement based on the
date.
> > The concept would look "something" like this:
> >
> > function currentSym(currentDate)
> > {
> >    todaysTicker = "NQ "
> >           + "appropriate string is computed and placed here";
> >    return todaysTicker;
> > }
> >
> > Buy = yourCondition AND Name() == currentSym(DateNum(BarIndex()));
> >
> > Your user-defined function could either figure out the right symbol
> > number or just read from a list.
> >
> > Also since there are no "arrays of strings" you will have to get
> > creative on picking out today's date as my code above does not
actually
> > work.
> > --
> > Terry



Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html

 
Yahoo! Groups Links



 




------------------------ Yahoo! Groups Sponsor --------------------~--> 
You can search right from your browser? It's easy and it's free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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:
    [EMAIL PROTECTED]

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


Reply via email to