li

Amibroker AFL to scan and explore RSI and MACD signals

Download updated EOD, IEOD Data of Nifty and FNO stocks for Amibroker and Metastock [Download here]. Submit correct details and only one copy to one person. Please don't spam.

To get IEOD Data into Amibroker visit the link below:

http://tinyurl.com/ctzqcsy  

Here is the Amibroker AFL that scans stocks based on RSI and MACD. The criteria of afl is to explore stocks whose Macd is positive and RSI is greater than 65.

AFL Code:

/* Macd positive and RSI greater than 65 */
/* you can customize RSI period and also RSI value of 65 */
Buy=Cross(RSI(14),65) AND MACD(12,26)>0;
Sell=Cross(40,RSI(14)) AND MACD(12,26)<0;
Buy=ExRem(Buy,Sell); //to remove excess signals
Sell=ExRem(Sell,Buy); //to remove excess signals
Clr=IIf(Buy,colorBlue,IIf(Sell,colorRed,False));
PlotShapes(Buy*shapeSmallUpTriangle+Sell*shapeSmallDownTriangle,Clr);
Filter=Buy OR Sell;
AddColumn(C,”Close”,1.1);
AddColumn(H,”High”, 1.1);
AddColumn(L,”Low”, 1.1);

Here is the short video of the AFL result:

If you like the articles in this site do not forget to Share it to others, Like and Plus one us.

Regards
Priya.



You are reading this article on analystcalls.in, Stay tuned for career, Education news, Jobs, Exam Results, Answer keys, Interviews & Job discussions, Stock Market Technical and Trading Analysis and Calls, Latest Trendy News! For regular updates like us on Facebook and Subscribe by Email to get immediate updates.

Enter your email address to get Instant Updates:

Do check your Inbox and Verify after submitting your Email

3 Comments

  1. giten says:

    eroor in afl

  2. MUKESH says:

    i wants to see charts from AMIBROKER,,,GIVE ME DETAILS,,,CHARGES,,,ETC

  3. subhash says:

    error is that AddColumn(C,”Close”,1.1);

    <— here syntax error probably missing semicolon

0 Trackbacks

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    1824 k