hemant.icharts Site Admin
Joined: 10 May 2011 Posts: 334
|
Post: #1 Posted: Mon May 05, 2014 1:15 pm Post subject: Moving Average Convergence / Divergence (MACD) |
|
|
Below are the examples codes, you can customize the parameters as per your requirement. For Help on how to put this code in scanner, you can refer the video https://youtube.googleapis.com/v/icfr0r7vYt8 OR call / mail us.
For MACD using SIMPLE Average:
Bullish
For MACD above Center Line(i.e. above Zero) Center Line use this Code -- MACD(13, 26, 9, SIMPLE) > 0
For Bullish Crossover of MACD above MACD Signal line use this Code -- CROSSOVER(MACD(13, 26, 9, SIMPLE), MACDSignal(13, 26, 9, SIMPLE)) = TRUE
Bearish
For Bearish Crossover of MACD above MACD Signal line use this Code -- CROSSOVER(MACDSignal(13, 26, 9, SIMPLE), MACD(13, 26, 9, SIMPLE)) = TRUE
For MACD below Center Line(i.e. above Zero) Center Line use this Code -- MACD(13, 26, 9, SIMPLE) < 0
For MACD using EXPONENTIAL Average:
Bullish
For MACD above Center Line(i.e. above Zero) Center Line use this Code -- MACD(13, 26, 9, EXPONENTIAL) > 0
For Bullish Crossover of MACD above MACD Signal line use this Code -- CROSSOVER(MACD(13, 26, 9, EXPONENTIAL), MACDSignal(13, 26, 9, EXPONENTIAL)) = TRUE
Bearish
For Bearish Crossover of MACD above MACD Signal line use this Code -- CROSSOVER(MACDSignal(13, 26, 9, EXPONENTIAL), MACD(13, 26, 9, EXPONENTIAL)) = TRUE
For MACD below Center Line(i.e. above Zero) Center Line use this Code -- MACD(13, 26, 9, EXPONENTIAL) < 0 |
|