Stock Portfolio Organizer

The ultimate porfolio management solution.

Shares, Margin, CFD's, Futures and Forex
EOD and Realtime
Dividends and Trust Distributions
And Much More ....
For Portfolio Manager Click Here

WiseTrader Toolbox

#1 Selling Amibroker Plugin featuring:

Advanced Adaptive Indicators
Advanced Pattern Exploration
Neural Networks
And Much More ....
Find Out More Here

MACD Predicter for Amibroker (AFL)
about 13 years ago
Amibroker (AFL)

3 / 5 (Votes 7)

An MACD, Signal Cross is, in general, a bullish Signal. Since it comes with a significant delay, it would be important to anticipate this Cross. Some days before the Cross, we often see an MACD turning point. It is interesting to investigate the related conditions AND use them before the end of the session.

The following AFL code will give the necessary next ROC for a higher MACD

The principle of the code is simple : We suppose that the next ROC changes
from -25% to +25% AND we calculate the necessary ROC for a higher MACD.

Example1 : On Oct29 [point P1] AMZN would have a higher MACD if the next ROC
would be more than +1.30%. The next Day, Nov1, AMZN closed at +2.80% AND the
MACD was higher indeed. It was known [AND almost safe] before the end of the
Nov1 session, that AMZN was gaining more than +1.30%.

Example2 : On Jan4 [point P2] the ^NDX needed a +2.70% to change the MACD
downtrend. The most probable was to see lower MACD values…

You cannot view the code for the following reasons:
  • You must be a member and have contributed at least 1 indicator


1. gersy


2. tdwl


3. mnasiru

let me see

4. sbstock

let see

Comment hidden - Show
6. meysam15

hi thank yuo

Leave Comment

Please login here to leave a comment.