Hi All,
I needed some very serious help on Amibroker. And I couldnt find anything of significance on net.
My questions are:
1. When you make a new market, in SYMBOL> Categories>Markets, what is the "Base Index for Relative Strength, Composites ad Beta mean"???
2. If I want to make a personal composite, mirroring a basket of stocks I follow, then how to do it?
3. How to find its risk yield map[the composite?]
Please, gurus, please show me this... I had been literally banging my head[and see, its bleeding now!]
AceX
Dear AceX,
I will answer your questions with an example which should clear your doubts faster.
Suppose you are getting quotes for all stocks from NSE which are reflected in Market called 'NSE'. Now you are also getting quote for Nifty (index) but you want to know
1. what was the volume of Nifty,
2. how many issues in Nifty inclined / declined today
3. How was the performance of any particular stock of NIFTY w.r.t. its index
To do this :
1. First thing to do is declare the ticker which acts as index to be INDEX in AmiBroker. To do this : Symbol>>Information which opens up Information window and then under General tab, mark YES to the question, 'Is Index'. In our example, we will call this ticker as NSENIFTY. You may will have to restart AmiBroker to see it appearing under Index in Symbol window.
2. Then go to Symbol>>Categories and under market tab, create a new tab called NIFTY. Then for Relative Strength and Composites, you can select NSENIFTY from dropdown box. So far what we have done is, defined a ticker as index and created a special market whose base index for composites and RS is this ticker (NSENIFTY). Now we have to fill this new market NIFTY with appropriate tickers which make the index.
3. To do this, go to Symbol>>Organise assignments and select market radio button. Now from left side, select the market which is showing all quotes from NSE and on right hand side, select NIFTY (it will be empty now). Now select those stocks which comprise of nifty index from left hand side and move them to right hand side. You can select individual stocks by clicking on those stocks while CTRL button pressed and then pressing > button from 'Selected Section'. Once done close the window.
4. Now you are ready to see ADLine and other composites if any for NSENIFTY. Select ADLine Indicator from Charts Window under Drag-Drop section (View>>Charts if not already open) and insert the same into AmiBroker. It may be empty first time.
5. Now go to Symbol>>Calculate Composites and select 'number of advancing / declining issues' and 'volume for base index' from 'Calculate', 'all quotes' from 'apply to', NIFTY market from 'this market' and press Calculate button. ADLine should now be visible under the NSENIFTY chart. Close this. You have to do it first time and it follows everyday.
I hope this helps.
With regards,
AmiBroker-India