Calculating Advance decline ratio in amibroker

Discuss Calculating Advance decline ratio in amibroker at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; hi all, is there anybody who know how to calculate Adv/Dec. ratio in AB. ...


Go Back   Traderji.com - Discussion forum for Stocks Commodities & Forex > TOOLS & RESOURCES > Software > AmiBroker
Register Blogs FAQ Chat Room Search Today's Posts Mark Forums Read


Welcome to the Traderji.com - Discussion forum for Stocks Commodities & Forex.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features.

By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please read the FAQ.

Reply
 
Thread Tools
Sponsored Links
  #1  
Old 6th April 2008, 07:02 PM
Member
 
Join Date: Apr 2007
Posts: 446
chintan786 is on a distinguished road
Default Calculating Advance decline ratio in amibroker



hi all, is there anybody who know how to calculate Adv/Dec. ratio in AB.
AB have option for this in Symbols>>calculate composites......

but when click on calculate after filling up all relevent boxes nothing apppears.( at least at my end).

if some body know how to mke it work for u then plz kindly share with me.

regards

chintan

Reply With Quote
  #2  
Old 6th April 2008, 07:22 PM
Member
 
Join Date: Oct 2006
Location: Cochin
Posts: 287
kuriako will become famous soon enough
Smile Re: Calculating Advance decline ratio in amibroker

It blinks something!!!

Nothing else!!!

Reply With Quote
  #3  
Old 6th April 2008, 08:02 PM
Member
 
Join Date: Oct 2007
Posts: 61
Adheer is on a distinguished road
Default Re: Calculating Advance decline ratio in amibroker

Firstly, you must assign an index(symbol) to the market you are tracking. For example, if you are tracking all the NSE stocks and the NSE index you are tracking in AmiBroker is ^NSEI, then,
1) go to Symbol -> Categories.
2) Select the market you are interested in - typically this may be Market 0.
3) On the right side, in the Composites drop-down select ^NSEI (NSE Index). Then press OK.
4) Now go to Menu -> Symbol -> Calculate Composites.
5) Check Number of Advancing / Declining Issues. Also select All Quotes (first time) or Last N quotes (subsequently).
6) Press Calculate and close window.
7) Now, select the chart of ^NSEI symbol or any other symbol in that Market.
8) Plot the indicator "AD Ratio - Advance Decline Ratio".
9) The A/D ratio is plotted in the indicator sub-window.

If you want to access the formula or display it yourself, then use the following code :
Plot( AdvIssues()/DecIssues(), _DEFAULT_NAME(), ParamColor( "Color", ColorCycle ) );

Remember, this value will be same across all symbols within that market.


Last edited by Adheer : 6th April 2008 at 08:11 PM. Reason: Accidentally pressed ENTER before completing the post
Reply With Quote
  #4  
Old 6th April 2008, 09:19 PM
Member
 
Join Date: Apr 2007
Posts: 446
chintan786 is on a distinguished road
Default Re: Calculating Advance decline ratio in amibroker

Hi adheer, i had done exctly wht u said.... but nothig happend..... the window remains empty as it was earlier.....

can u upload the screen shot of urs?

thanks
chintan

Reply With Quote
  #5  
Old 7th April 2008, 02:56 AM
Member
 
Join Date: Jan 2007
Posts: 30
raakesh is on a distinguished road
Default Re: Calculating Advance decline ratio in amibroker

hello adheer, me too unable to plot.

Reply With Quote
  #6  
Old 7th April 2008, 12:30 PM
Member
 
Join Date: Oct 2007
Posts: 61
Adheer is on a distinguished road
Default Re: Calculating Advance decline ratio in amibroker

Here are the screen shots, I used for Dow Jones (^DJI)

Attached Images
File Type: jpg img1.JPG (34.7 KB, 41 views)
File Type: jpg img2.JPG (34.3 KB, 33 views)
File Type: jpg img3.JPG (24.0 KB, 24 views)
File Type: png chart.png (46.1 KB, 28 views)
Reply With Quote
  #7  
Old 7th April 2008, 01:12 PM
Member
 
Join Date: Apr 2007
Posts: 446
chintan786 is on a distinguished road
Default Re: Calculating Advance decline ratio in amibroker

excellent Adheer ..... it is done this time... actully wht mistake i was doing is selecting wrong mkt..... after seeing those screenshot No.2 i cme to know abt this.

warm regards
chintan

Reply With Quote
  #8  
Old 15th April 2008, 07:46 PM
Member
 
Join Date: Jun 2006
Location: The Land of Plenty - Mumbai, INDIA
Posts: 21
kazaan is on a distinguished road
Smile Re: Calculating Advance decline ratio in amibroker

Hi folks,
Thanks Adheer for your inputs.

My question to this forum is
If I keep all the NSE indices in a folder and all the scripts in another seperate folder -> c:/ price Data/ Nse stocks & c:/ price Data/NSe Indices <- (they are essentially seen as two seperate databases/ markets by AB) and I want to calculate the AD for all NSE stocks
then when opening the market for all stocks, i dont see the Nifty and so am not able to select it as base index for composites.

what should I do?
Is there a way to combine both the databases into one market/ folder and still have all of them updated?
Should I structure my database differently?

I appreciate any help. thanks in advance.

Reply With Quote
Sponsored Links


Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +5.5. The time now is 10:49 AM.

Indemnity, Disclaimer & Disclosure Notice:
• By visiting Traderji.com you indicate your acceptance of our Forum Rules Disclaimer & Disclosure and indemnify Traderji.com, its associates and related parties of all claims howsoever resulting from the usage of the forum.
Disclaimer: Trading or investing in stocks & commodities is a high risk activity. Any action you choose to take in the markets is totally your own responsibility. Traderji.com will not be liable for any, direct or indirect, consequential or incidental damages or loss arising out of the use of this information.
Disclosure: The information in this forum is neither an offer to sell nor solicitation to buy any of the securities mentioned herein. The writers may or may not be trading in the securities mentioned.
• All names or products mentioned are trademarks or registered trademarks of their respective owners.
General Content Disclaimer Notice:
In light of our policy of encouraging candid, open exchanges of views and the rapid distribution of information originating from many sources, Traderji.com cannot determine the accuracy of information that may be uploaded to the forum. Opinions, advice and all other information expressed by participants in discussions are those of the author. You rely on such information at your own risk. You are urged to seek professional advice for specific, individual situations and not rely solely on advice or opinions given in the discussions. Since Traderji.com is an open and free discussion forum, any comments made by members of this forum in their posts reflect their own views and not of the owner or administrator of Traderji.com. Thus the owner/administrator indemnify themselves of all claims whatsoever and will not be liable or responsible for any members comments/views in this forum Traderji.com. If you find any objectionable or offensive posts made by members of this forum which you would like to bring to our notice for removal then please Contact Us.
 


Copyright © 2001 - 2008, Traderji.com All Rights Reserved.

Recommended Websites - www.TradersEdgeIndia.com - www.TradingPicks.com - www.HiFiVision.com - www.MasterOfTrading.com - www.NotebookTalk.com