The best method for long term success in Stock market is to catch the trend and stay with it. The basic premise behind this assumption is the fact that the ongoing trend continues for a decent time period. It’s difficult to manually scan all the stocks and spot the trending ones. This Amibroker exploration AFL for Trending stocks screener would make this task easier for you. It scans across all the stocks in your database and assigns Trend score to them. A trend score of greater than 5 signals upward trending stocks while trend score of less than 2 signals downward trending stocks. Anything between 2 to 5 is a state of confusion and you should avoid investing on such stocks.
Please visit Trading Tuitions Academy to learn AFL coding and create your own Trading systems.
Trending Stocks Screener – AFL Overview
Parameter | Value |
Preferred Time-frame |
Daily |
Indicators Used | Simple Moving Average, Bollinger Bands, MACD, Aroon Indicator, Stochastic Indicator, RSI, MFI |
Bullish Conditions |
|
Bearish Conditions |
|
Trend Score Calculation |
Initial Trend Score is zero. 1 point is added for each Bullish condition met. If no Bullish conditions met then Trend score=0, if all Bullish conditions met then Trend score=7 |
Trending Stocks Screener – AFL Code
Please download the AFL code from the below link:
Trending Stocks Screener Exploration AFL
Exploration Screenshot
How to use Trending Stocks Screener ?
Step 1: Copy the AFL code from above and set it up in your local Amibroker.
Step 2: Download and setup EOD data for your preferred exchange.
Step 3: Goto Analysis–>Explore. In the range drop-down select ‘1 recent bar’.
Step 4: In the results, you would be able to see the Trend score for each scrip. A trend score of greater than 5 signals bullish stocks while trend score of less than 2 signals bearish stocks
Disclaimer:
All the AFL’s posted in this section are for learning purpose. Trading Tuitions does not necessarily own these AFL’s and we don’t have any intellectual property rights on them. We might copy useful AFL’s from public forums and post it in this section in a presentable format. The intent is not to copy anybody’s work but to share knowledge. If you find any misleading or non-reproducible content then please inform us at support@tradingtuitions.com
Sir If this TRENDING STOCK SCREENER excel sheet is put up in your website on EOD basis , it will be of great help. Thank u.
Good work!
I am waiting for the excel sheet too & hope you will think it also usable
Trending Stocks Screener AFL working nice , but not showing any Trend score to any stock can u plz help me
Hi Ali,
Can you please send the screenshot to support@tradingtuitions.com
Great codes bro… and thanks a mil for sharing as I was so so desparately looking for a good scanning AFL and yours fits the bill perfectly.
Have a quick few queries :
(1) Does it support shorter time frame scans during the day as the market progresses from 9:15 AM (like 5-15 min which can be set in the settings under analysis)
(2) If I want to do a EOD analysis for shortlisting stocks for tomorrow… let us say for e.g. 17th May (today being 16th May) what are the steps. I am assuming I have to choose from 16.5.2017 to 17.5.17 and choose ‘Daily’under Settings. Is this correct ? All I am looking for to find out stocks that are bearish or bullish for tomorrow
(3) Strangely the following columns are 90% Neutral despite stocks that have moved very nicely either down or up viz. BBand, RSI(14) and MFI(14).
I know that is a lot of questions, but cant help it as your AFL is too good. Would greatly appreciate your kind response.
Namaste
GK
1) Does it support shorter time frame scans during the day as the market progresses from 9:15 AM (like 5-15 min which can be set in the settings under analysis?
Yes you can change timeframe from settings
2) If I want to do a EOD analysis for shortlisting stocks for tomorrow… let us say for e.g. 17th May (today being 16th May) what are the steps. I am assuming I have to choose from 16.5.2017 to 17.5.17 and choose ‘Daily’under Settings. Is this correct ? All I am looking for to find out stocks that are bearish or bullish for tomorrow.
Yes, you are correct
(3) Strangely the following columns are 90% Neutral despite stocks that have moved very nicely either down or up viz. BBand, RSI(14) and MFI(14).
It totally depends on the values of those indicators and ongoing trend. Let us know if you see any discrepancies in their values
Also want to add there are many places where it says “Bearish” but appears in “Green”color and vice versa.
Can you please send one example to support@tradingtuitions.com
Hi sir, please tell how to do this for mcx commodities
Hi Hari,
In order to study MCX commodities, you would need to import MCX data into Amibroker. I am not sure about any free data sources, but there are plenty of paid options available out there.
Sir, Please guide, how can one open a trading account with Amibrokar ?
Hi Shailendra,
Amibroker is a software, not a broker. You cannot open an account with them.
Bro! You are God-sent for me! Thanks,
Please send me 3 Divergence AFLs for MACD, Stochastic and RSI.
Parimal.
Hi Parimal,
Thanks for your kind words! Please find the link for RSI divergence AFL below. I have noted your request for MACD and Stochastic divergence AFL:
https://tradingtuitions.com/rsi-divergence-trading-system-unbelievable-profit-potential/
SIR,
I am using amibroker software i don’t have awsome oscilattor in that
please send me afl file download details for the same.and details how
to install in amibroker.
thank you,
I realy want use this afl but i get 7 error code any help?
Hi Charlie,
Please send the screenshot of error at support@tradingtuitions.com. One of our representatives will get in touch with you
Hi, this works very well. Only request which I would like to place is whether you can develop this coding for tradingview.