![]() |
| Discuss Help! at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Amibroker AFL experts- please help out my friend Ravi - here I quote his request - Quote ... |
|
|||||||
| Register | Blogs | FAQ | Chat Room [1] | 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. |
![]() |
|
|
Thread Tools |
| Sponsored Links |
|
#1
|
|||
|
|||
|
Amibroker AFL experts- please help out my friend Ravi - here I quote his request -
Quote I read your blog about scrips that were hitting 20-day high and may be good buy candidate. However, I think how many times they hit 20-days high is also of great importance. For that matter, the frequency of any condition is important. I'm facing a problem with amibroker afl. I dont know whether you are familiar with amibroker or not, but guess you might be able to find out the logical formula. I was trying to create 2 exploration in amibroker, first one to look for scrips that are hitting x-day high/low more frequently in the past few days and the second one to search scrips that open with a gap and close at circuit and again this must have occurred frequently in the past. In both cases, I was unable to implement the "frequency" thing. In the second exploration, I have put condition which looks for stocks which open with gap for consecutive 2 days. It can be of better use if the condition of frequency is applied rather than consecutive days.I found a link where similar thing discussed, but could not make it how to get that working. Here is the link: http://www.purebytes.com/archives/am.../msg05492.html Could you please help me in this regard. Regards Ravi S Ghosh Unquote Thanks, s s |
|
#2
|
|||
|
|||
|
Dear Ravi,
First loop the HHV or LLV for x days algorithm for n days, get result stored in a variable. Increment the variable for each HHV or LLV(which ever u need) Finally print it out(or include it in list) Hope it is same u need [Get the number of times a scrip hit 20 day high in history of 365 days] ![]() I will try to code it if I am free today!!! |
|
#3
|
|||
|
|||
|
WOW!
Kuri u have evolved! |
|
#4
|
|||
|
|||
|
|
|
#5
|
|||
|
|||
|
Quote:
http://www.traderji.com/amibroker/20...-jai-corp.html http://www.traderji.com/amibroker/20...sistently.html I tried to create the basic afl without the frequency thing included. Please have a look. It might be easy to write the code with the context clearly defined. |
| Sponsored Links |
|
|
![]() |
| Thread Tools | |
|
|
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.