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

[amibroker] Re: Something New?



PureBytes Links

Trading Reference Links

Friends,

Per the changes in VERSION 4.54.0, what I noticed earlier with SetForeign(), is now
resolved.

TJ>>> + fixed problem with SetForeign()+FullName() returning symbol instead of full
name of foreign security <<<

Regards,
- Salil V Gangal

--- Salil V Gangal <salil_gangal@xxxxxxxxx> wrote:
> Friends,
> 
> I set the 'Symbol->Information->Full Name' for 'MSFT' / 'CSCO' 
> and 'YHOO' to 'Company 1' / 'Company 2' and 'Company 3' respectively 
> and ensured that without SetForeign(), the FullName() is working 
> properly.  It does seem as if after executing SetForeign(), the 
> FullName() becomes Name() !
> 
> Has anyone else observed this ?
> 
> Regards,
> - Salil V Gangal
> 
> 
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Salil V Gangal" 
> <salil_gangal@xxxx> wrote:
> > Friends,
> > 
> > Based on the documentation, I see that the SetForeign() sets OHLCV, 
> > OI, Avg to foreign security.  However it does not go to get the 
> > FullName().  So when used in combination, as far as I can tell, it 
> > sort-of does something weird. For example following code ===>
> > 
> > SetForeign("MSFT");
> > Title = FullName();
> > SetForeign("CSCO");
> > Title = Title + " " + FullName();
> > SetForeign("YHOO");
> > Title = Title + " " + FullName();
> > 
> > Sets the Title to 'MSFT CSCO YHOO', which is as if FullName() is 
> > returning Name() after SetForeign() goes in effect.  Is this 
> > expected ?
> > 
> > Sure ... I can get around SetForeign's apparent inability to work 
> > with FullName(), by using external Watch Lists, but will like to 
> know 
> > what's going on here.  Why does FullName() not return the name of 
> > the 'current' security, why does it return the symbol of the 
> > SetForeign's security ?
> > 
> > Regards,
> > - Salil V Gangal
> 
> 



	
		
__________________________________
Do you Yahoo!?
SBC Yahoo! - Internet access at a great low price.
http://promo.yahoo.com/sbc/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
---------------------------------------------------------------------~->

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/