Author Topic: Create my own Composite  (Read 524 times)

abnovice

  • Newbie
  • *
  • Posts: 3
    • View Profile
Create my own Composite
« on: November 23, 2018, 03:58:10 am »
Hello AmiBroker Support Team,

i´m a very glad amibroker costumer. i wanna build my own stock composie with the symbols

JNJ
MO
BDX

i read, that i have to use the "addtocomposite'" function. but it doesnt work, i wanna just see, my own MyComposite in Chart
to analyze ist.

Please can you help me. Thank you so much.
AddToComposite("JNJ", "~MyComposite", "X" );
AddToComposite("MO", "~MyComposite", "X" );
AddToComposite("BDX", "~MyComposite", "X" );
graph0 = foreign("~MyComposite", "X");