Stock Portfolio Organizer
The ultimate porfolio management solution.
WiseTrader Toolbox
#1 Selling Amibroker Plugin featuring:
MA Alignment Exploration for Amibroker (AFL)
I am a beginner in creating afl. I want to share with you my simple code, it is called the MA alignment exploration.
Indicator / Formula
_SECTION_BEGIN("Moving Average Exploration");
MA20=MA(C, 20);
MA50=MA(C, 50);
MA100=MA(C,100);
MA200=MA(C,200);
condition = C>MA20 AND MA20>MA50 AND MA50>MA100 AND MA100>MA200;
AddColumn(Close, "Close", 1.2);
AddColumn(Volume, "Volume", 1.2);
AddColumn(MA(C, 9), "MA9");
AddColumn(MA(C, 20), "MA20");
AddColumn(MA(C, 50), "MA50");
AddColumn(MA(C, 100), "MA100");
AddColumn(MA(C, 200), "MA200");
AddColumn( condition, "Condition", 1.0);
Filter = 1;
_SECTION_END();2 comments
Leave Comment
Please login here to leave a comment.
Back
How do you use this? it doesn’t seem to work with my Amibroker ver 6.0. Thank you!
It’s an exploration so you use it via the analysis window.