![]() |
|
| Discuss Beginner AFL Program writers Thread at the AmiBroker within the Traderji.com - Discussion forum for Stocks Commodities & Forex; Dear Traders This Thread is dedicated to all new program writers of AFL who want ... |
|
|||||||
| Notices |
![]() |
|
|
Thread Tools |
| Sponsored Links |
|
#1
|
|||
|
|||
|
Dear Traders
This Thread is dedicated to all new program writers of AFL who want their programs to be effective and sophisticated. Way of Posting in this thread 1) So please post your program using code bar so that experienced code writers can have a look rather than downloading (saving time) 2) Please write the goal of that program to be achieved in simple language (to avoid repetetive replies and time waste) Senior Code writers are requested to resolve the problems of code and help in making better afl's Suggestions from other traders in this regard are welcome Please reply if you tink this thread helps us Regards Brijwanth |
|
#2
|
|||
|
|||
|
Here is my first one
experienced code writers please comment on corrections and suggestions Code:
// Displays of todays Low is Lowest in 20 days
i=0;
i=LLV(l,20)-low;
if (i=0)
printf ("Today is lowest in 20 days for %s",name());
addcolumn(Low, "Lowest");
buy=0;
sell=0;
|
|
#3
|
|||
|
|||
|
Is there a discussion forum for writing program codes in amibroker? Something that explains the very fundamental
|
|
#4
|
|||
|
|||
|
Try this.. I remember somewhere in this thread that example/ basic program read the description
http://www.amibroker.com/library/list.php |
|
#5
|
|||
|
|||
|
Quote:
All the best for the new initiative. Hope this thread becomes one stop place to post all the doubts in AFLs. It will be better if we go through the Amibroker User Guide for any quick reference and detailed explanation of AFL functions, first. If we have doubts in their functionality or codes, AFL known members can always help them. Regards, Praveen. |
|
#6
|
|||
|
|||
|
Quote:
I'm afraid there is some logical errors in this code. 1. LLV(l,20)-low : returns an array and not a single boolean value. Hence it can't be compared in a 'if' statement at one shot. 2. if(i=0) : A very common error. 'if' statement needs boolean value and hence the expression inside the 'if' statement should return boolean value. But if you see "i=0", we are just assigning the value zero(0) to i and we are not comparing i to zero. So the correct usage of 'if' should be if (i == 0) // i shouldn't be an array Let me know if I'm wrong or understood the actual requirement wrongly. Praveen. |
|
#7
|
|||
|
|||
|
Modified code to check whether today's low is 20 day's low:
Code:
// Displays of todays Low is Lowest in 20 days i = (L == LLV(L, 20)); Filter = i; AddColumn(Low, "Lowest"); Praveen. |
|
#8
|
|||
|
|||
|
Thanx Praveen for ur advice it was great hope that it will bring all code writers of traderji
pls. reply to this thread experienced code writers so that we will be able to identify the best in afl talent pool |
|
#9
|
|||
|
|||
|
Dear seniors,
I am novice at trading as well as use of AFLs. So I need help. I wnat to write and AFL where Buy signal can be generated when prices are at the lower extream of Bolinger Band ( 20 period with 2 deviation) and also 5period smoothed line cross 72 period CCI. Reverse for the sell signal i.e. when price will be on the upper extream and again 5 smooth cross over to the otherIf Some one can explain the various things used in the AFL it will be helpful. Please also advise if any learning book/site for the AFL is available. I need to begin from ABC. Thanks Rajeev |
|
#10
|
|||
|
|||
|
Quote:
Thanx bamks |
| Sponsored Links |
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads for: Beginner AFL Program writers Thread
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| TA Course for the Beginner | karthikmarar | Beginners Guide | 5 | 6th June 2007 10:42 PM |
| Beginner Links | radzman | Trading Resources | 3 | 15th August 2006 07:28 PM |
| beginner question | iamme9182 | Risk & Money Management | 0 | 23rd August 2005 09:28 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.