Traderji.com - Discussion forum for Stocks Commodities & Forex

AFL Help Please !!

Discuss AFL Help Please !! at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Hello Friends Kindly help me with AFL for the following 1) I would like to ...


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

Notices


Advertise Here

Reply
 
Thread Tools
Sponsored Links
  #1  
Old 28th July 2007, 10:55 PM
Member
 
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Venu_CA is on a distinguished road
Reputation: 20
Default AFL Help Please !!

Hello Friends

Kindly help me with AFL for the following

1) I would like to select the top ranking 25 shares according to the relative strength calculated using the following formula.
RelRank= (Ref(C,-1)-Ref(MA(C,135),-1))/Ref(MA(C,135),-1)*100;
and apply some other conditions on this list


2)Arrows in the attached charts are 5% break outs.I would like to get the number of breakouts in the last 65 days.At present I am counting the arrows.


Thanks in advance

Venu

Last edited by Venu_CA; 28th July 2007 at 10:58 PM. Reason: attachment not uploaded
Reply With Quote
Sponsored Links
  #2  
Old 28th July 2007, 11:04 PM
Member
 
Join Date: Aug 2006
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
Venu_CA is on a distinguished road
Reputation: 20
Default Re: AFL Help Please !!

Here is the chart. Could not attach to the previous post

Venu
Attached Images
File Type: png chart.png (10.6 KB, 35 views)
Reply With Quote
  #3  
Old 29th July 2007, 01:35 PM
Member
 
Join Date: May 2006
Location: Bangalore
Posts: 918
Thanks: 0
Thanked 35 Times in 5 Posts
bvpraveen will become famous soon enough
Reputation: 71
Default Re: AFL Help Please !!

Quote:
1) I would like to select the top ranking 25 shares according to the relative strength calculated using the following formula.
RelRank= (Ref(C,-1)-Ref(MA(C,135),-1))/Ref(MA(C,135),-1)*100;
and apply some other conditions on this list
1. Write an exploration using Filter variable. Write RelRank in the exploration too.
2. Sort the RelRank in ascending order. For this use SetSortColumns(ColNumber). ColNumber are 1 based, not like arrays which are 0 based.
Eg. // sort by 5th column in ascending order
SetSortColumns( 5 )

Quote:
2)Arrows in the attached charts are 5% break outs.I would like to get the number of breakouts in the last 65 days.At present I am counting the arrows.
Use the Sum() function to achieve this.

LookBackPeriod = 65;
Buy = YOUR_BREAKOUT_CONDITION_COMES_HERE;
NoOfBreakouts = Sum(Buy, LookBackPeriod);

Praveen.
Reply With Quote
Sponsored Links

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


All times are GMT +5.5. The time now is 10:09 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.MasterOfTrading.com