Bullish Histogram Scanner for Amibroker (AFL)
curiosus over 12 years ago Amibroker (AFL)
Detects rising histogram during the past 3 days. Useful for shortlisting stocks which has potential to be bullish in the coming days.
Note: To be used as Automatic Analysis > Scan
Indicator / Formula
Copy & Paste Friendly
Hist1 = MACD() - Signal();
Macd2 = Ref(MACD(),-1);
Sign2 = Ref(Signal(),-1);
Hist2 = Macd2 - Sign2;
Macd3 = Ref(MACD(),-2);
Sign3 = Ref(Signal(),-2);
Hist3 = Macd3 - Sign3;
Buy = Hist1 > Hist2 AND Hist2 > Hist3;4 comments
Leave Comment
Please login here to leave a comment.
thanks
not working
@ vjragx its for scan only select past 3 days in auto analysis window and click scan, then you will have the prospective list
Thank you, good one to find trending stocks.
I am not an programer, can you tell sell condition
Is it Sell = Hist3 < Hist2 AND Hist2 < Hist1 ?