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

[amibroker] Re: Help? Strange Foreign Function Behavior



PureBytes Links

Trading Reference Links

Thanks Steve,

No - PSIG is not a "valid" Ticker.  It is an external signal file that I create and import.

I just discovered the cause. I sometimes work between MAC and PC. In this case the signal .csv file was created on the MAC.  MAC underlying date number generates a date 1462 days ahead of PC.  So my signal date line was 4 years and a day ahead of the normal ticker data.  Signal data generated from MAC .csv was generating dates 4 years ahead of the current date for tickers.

I didn't happen to have the date axis turned on, so naturally, the signal file, which has only about 3 years data would not show up with the standard tickers on the same plot since the standard tickers end before the signal file began.

I converted the signal file to PC .csv format and all is well.

.......

One area of MAC - PC compatibility that isn't yet fully resolved and one has to be aware of when working between Microsoft Excel versions for MAC and PC.  If one creates a file on MAC, dates will not have correct underlying date number for PC and vice-versa.

--- In amibroker@xxxxxxxxxxxxxxx, "Steve Dugas" <sjdugas@xxx> wrote:
>
> Hi - Probably a dumb question but is PSIG a valid ticker in your DB?  I 
> don't see it in my DB and I believe SetForeign will just return the current 
> ticker if it can't find the one requested.  SetForeign seems to work fine 
> for me...
> 
> Steve
> 
> 
> ----- Original Message ----- 
> From: "Mike" <m3m@xxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Saturday, October 31, 2009 10:43 AM
> Subject: [amibroker] Help? Strange Foreign Function Behavior
> 
> 
> >I am seeing something I have never seen before.  I can only see foreign 
> >function plots and calculations if the symbol called by foreign function is 
> >also the selected symbol.
> >
> > 'm using end of day data on Yahoo indexes along with externally calculated 
> > signal file.
> >
> > It doesn't matter whether or not I use the yahoo data or signal as the 
> > foreign function.  No foreign data is pulled in unless that ticker is 
> > selected.
> >
> > Has to be something simple I'm overlooking but can't see it.  Has anyone 
> > encountered this and know what simple thing I'm just not seeing?  Using 
> > version 5.2 professional.
> >
> > Thank you,  Mike
> >
> > SetForeign("psig");
> > SIG = C;
> > Plot(SIG,"signal",colorGreen,512);
> > RestorePriceArrays();
> >
> >
> >
> > ------------------------------------
> >
> > **** IMPORTANT PLEASE READ ****
> > This group is for the discussion between users only.
> > This is *NOT* technical support channel.
> >
> > TO GET TECHNICAL SUPPORT send an e-mail directly to
> > SUPPORT {at} amibroker.com
> >
> > TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> > http://www.amibroker.com/feedback/
> > (submissions sent via other channels won't be considered)
> >
> > For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> > http://www.amibroker.com/devlog/
> >
> > Yahoo! Groups Links
> >
> >
> >
> >
>




------------------------------------

**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to 
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> 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/