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

[amibroker] Re: How to create a new ticker?



PureBytes Links

Trading Reference Links


Tried this, but don't work. Read the manual several times, can't 
figure out why. Any hints? Thanks!

SPX_VIX=Foreign( "^SPX", "Close" )/Foreign( "^VIX", "Close" );
AddToComposite(SPX_VIX,"~SPX_VIX","V");
Buy=0;

Change "V" to "X" "C" "H" "L" does not help at all.


--- In amibroker@xxxxxxxxxxxxxxx, "Christoper" <turkey@xxxx> wrote:
> 
> AddToComposite = ...
> 
> --- In amibroker@xxxxxxxxxxxxxxx, "Claud Hou" <hclaud_98@xxxx> 
wrote:
> > 
> > I want to create a new ticker named "spx_vix", defined by 
> > SPX_VIX=Foreign( "^SPX", "Close" ) /Foreign( "^VIX", "Close" );
> > 
> > the new ticker "spx_vix" shall be same as any stock symbol like 
MSFT
> > 
> > how to do that?
> > 
> > Thanks!!





------------------------ Yahoo! Groups Sponsor --------------------~--> 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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/