Traderji.com - Discussion forum for Stocks Commodities & Forex


Nifty Vs BankNifty

Discuss Nifty Vs BankNifty at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Dear All I want an AFL like the attached image from GoogleFinance. Here the Bank ...


Go Back   Traderji.com - Discussion forum for Stocks Commodities & Forex > TOOLS & RESOURCES > Software > AmiBroker


Reply
 
Thread Tools
  #1  
Old 5th September 2013, 09:41 AM
amitrandive's Avatar
Member
 
Join Date: Jul 2010
Posts: 2,940
Thanks: 7,347
Thanked 6,850 Times in 2,212 Posts
amitrandive has a reputation beyond reputeamitrandive has a reputation beyond repute
amitrandive has a reputation beyond reputeamitrandive has a reputation beyond reputeamitrandive has a reputation beyond reputeamitrandive has a reputation beyond reputeamitrandive has a reputation beyond reputeamitrandive has a reputation beyond reputeamitrandive has a reputation beyond repute
Default Nifty Vs BankNifty

Dear All

I want an AFL like the attached image from GoogleFinance.
Here the Bank Nifty is plotted vs Nifty.
Also there should be an option for changing the scrip and putting any scrip instead of BankNifty.

Thanks for your help.
Amit




Last edited by amitrandive; 12th September 2013 at 06:41 PM.
Reply With Quote
Sponsored Links
  #2  
Old 7th September 2013, 10:45 AM
Member
 
Join Date: May 2012
Location: Pune
Posts: 2,212
Thanks: 2,443
Thanked 2,392 Times in 989 Posts
manojborle has a reputation beyond reputemanojborle has a reputation beyond reputemanojborle has a reputation beyond reputemanojborle has a reputation beyond reputemanojborle has a reputation beyond reputemanojborle has a reputation beyond reputemanojborle has a reputation beyond reputemanojborle has a reputation beyond reputemanojborle has a reputation beyond reputemanojborle has a reputation beyond reputemanojborle has a reputation beyond reputemanojborle has a reputation beyond reputemanojborle has a reputation beyond reputemanojborle has a reputation beyond repute
Default Re: Nifty Vs BankNifty

Quote:
Originally Posted by amitrandive View Post
Dear All

I want an AFL like the attached image from GoogleFinance.
Here the Bank Nifty is plotted vs Nifty.
Also there should be an option for changing the scrip and putting any scrip instead of BankNifty.

Thanks for your help.
Amit
RelStrength
- comparative relative strength Referencing other symbol data
(AFL 1.3)


SYNTAX RelStrength( "tickername", fixup = 1)
RETURNS ARRAY
FUNCTION Calculates relative strength of currently selected security compared to "tickername" security. When you give an empty string as argument, a standard relative strength base security taken from Stock->Categories will be used.
The last parameter - fixup - with the default value of 1 - causes filling the holes in the data with previous values (behaviour introduced in 3.90.3), if fixup is 0 - the holes are not fixed (the old, pre-3.90.3 behaviour)
Note: you can still use Foreign/RelStrength in the old way:
Foreign( "ticker", "field" ), RelStrength( "ticker" ) - then the holes will be fixed.
EXAMPLE relstrength( "^DJI" )
SEE ALSO

Comments:
jayson

2003-06-23 09:20:02 Interpretation

Comparative Relative Strength compares a security's price change with that of a "base" security. When the Comparative Relative Strength indicator is moving up, it shows that the security is performing better than the base security. When the indicator is moving sideways, it shows that both securities are performing the same (i.e., rising and falling by the same percentages). When the indicator is moving down, it shows that the security is performing worse than the base security (i.e., not rising as fast or falling faster).

Comparative Relative Strength is often used to compare a security's performance with a market index. It is also useful in developing spreads (i.e., buy the best performer and short the weaker issue).



References:
The RelStrength function is used in the following formulas in AFL on-line library:

Relative Strength
Relative strength comparison with moving average
Reply With Quote
The Following 2 Users Say Thank You to manojborle For This Useful Post:
amitrandive (7th September 2013), columbus (7th September 2013)
  #3  
Old 7th September 2013, 05:42 PM
amitrandive's Avatar
Member
 
Join Date: Jul 2010
Posts: 2,940
Thanks: 7,347
Thanked 6,850 Times in 2,212 Posts
amitrandive has a reputation beyond reputeamitrandive has a reputation beyond repute
amitrandive has a reputation beyond reputeamitrandive has a reputation beyond reputeamitrandive has a reputation beyond reputeamitrandive has a reputation beyond reputeamitrandive has a reputation beyond reputeamitrandive has a reputation beyond reputeamitrandive has a reputation beyond repute
Default Re: Nifty Vs BankNifty

Thanks Manoj for the detailed reply.


Reply With Quote
Reply

Bookmarks


Advertise Here


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

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


Similar Threads for: Nifty Vs BankNifty
Thread Thread Starter Forum Replies Last Post
NIFTY BANKNIFTY Zero to Zero Strategy abir Futures 8 16th December 2013 08:29 AM
Rt data for nifty and banknifty jsb2012 Data Feeds 0 24th July 2013 01:30 PM
nifty and banknifty or crude and gold? mrageish General Trading & Investing Chat 6 1st November 2012 02:25 PM
Day trading difference BankNifty and Nifty chanduforex Day Trading 0 9th July 2012 11:20 AM
nifty and banknifty future data mmca2006 Intraday 0 26th December 2010 01:39 PM


All times are GMT +5.5. The time now is 10:56 PM.

Indemnity, Disclaimer & Disclosure Notice:
By visiting Traderji.com you automatically indicate that you agree to our Forum Rules, Indemnity, Disclaimer & Disclosure Notice and General Content Disclaimer Notice and indemnify Traderji.com, its associates and related parties of all claims howsoever resulting from the usage of the forum/site.
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. You are recommended to make appropriate enquiries and seek appropriate advise before sending money, incurring any expenses, acting on recommendations or entering into any commitment in relation to any advertisement published here. Traderji.com does not vouch for any claims made by the advertisers of products and services. Traderji.com will not be held liable for any consequences in the event such claims are not honoured by the advertisers. Traderji.com will not be liable for any, direct or indirect, consequential or incidental damages or loss arising out of the use of any information by anybody mentioned anywhere on this site.
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 or legality of any 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. Although we constantly delete all irrelevant content and/or SPAM, if you should 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 © www.Traderji.com 2001 - , All rights reserved.

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247