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

Re: [amibroker] Pair formula



PureBytes Links

Trading Reference Links

hi,

use Foreign (see manual)

sAA = Foreign("AA","C");
sAL = Foreign("AL","C");
pp = sAA * 1.4 - sAL;
Plot(pp,"",colorBlue,1);

ed
  ----- Original Message ----- 
  From: bdeckstd 
  To: amibroker@xxxxxxxxxxxxxxx 
  Sent: Saturday, October 09, 2004 12:43 AM
  Subject: [amibroker] Pair formula




  I'm a new user looking to chart stock pairs. Would appreciate help 
  with creating a chart showing the following spread: AA(last price)
  *1.4-AL(last price). AA and AL being Alcoa and Alcan. Any help is 
  appreciated.








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

  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. 



[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/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/