-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathma_indicator.html
246 lines (216 loc) · 10.4 KB
/
ma_indicator.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6939253785017193",
enable_page_level_ads: true
});
</script>
<title>Moving Average Convergence Divergence - JStock</title>
<meta name="description" content="JStock makes it easy to track your stock investment. It provides well organized stock market information, to help you decide your best investment strategy." />
<meta name="keywords" content="free stock market software, free stock investment software" />
<meta http-equiv="Content-Language" content="en" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate">
<meta http-equiv="Pragma" content="no-store, no-cache">
<meta http-equiv="Expires" content="0">
<link rel="stylesheet" href="javascript_slider/slider.css" type="text/css" />
<link rel="stylesheet" type="text/css" href="shadows/shadows.css" media="screen" />
<link rel="stylesheet" type="text/css" href="style.css" media="screen" />
<script type="text/javascript" src="javascript_slider/slider.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js" type="text/javascript"></script>
<script type="text/javascript" src="shadows/dropshadow.js"></script>
<script type="text/javascript" src="js/lightbox.js"></script>
<script type="text/javascript">
function woahbar_show() {
$('.woahbar').show('bounce', { times:3, distance:15 }, 100);
$('body').animate({"marginTop": "2.4em"}, 250);
}
$().ready(function() {
window.setTimeout(function() {
woahbar_show();
}, 1000);
});
</script>
</head>
<body>
<div class="woahbar" style="display:none">
<span>
If you are enjoying JStock, please consider rating us 5 stars in the market. Thank you <a class="woahbar-link" href="http://goo.gl/vPSRXG">LEARN MORE!</a>
</span>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-43627934-1");
pageTracker._trackPageview();
} catch(err) {}</script>
<div id="wrap">
<div id="top"></div>
<div id="content">
<div class="banner">
</div>
<div class="breadcrumbs">
<ul id="jsddm">
<li><a href="index.html">Home</a></li>
<li>·</li>
<li><a href="download.html">Download</a></li>
<li>·</li>
<li><a href="features.html">Features</a></li>
<li>·</li>
<li><a class="current_page" href="ma_indicator.html">Indicators</a></li>
<li>·</li>
<li><a href="testimonial.html">Testimonial</a></li>
<li>·</li>
<li id="help-menu"><a href="javascript:void(0)"><u>Help</u><small>▼</small></a>
<ul>
<li><a href="help_install_upgrade.html">Install & Upgrade</a></li>
<li><a href="help_real_time_info.html">Stock Watchlist</a></li>
<li><a href="help_stock_indicator_editor.html">Stock Indicator Editor</a></li>
<li><a href="help_stock_indicator_scanner.html">Stock Indicator Scanner</a></li>
<li><a href="help_portfolio_management.html">Portfolio Management</a></li>
<li><div class="jsddm-seperator"></div></li>
<li><a href="help_faq.html">FAQ</a></li>
<li><div class="jsddm-seperator"></div></li>
<li><a href="donation.html">Donation</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="about.html">About</a></li>
</ul>
</li>
</ul>
<div class="right-menu">
<ul id="jsddm2">
<li id="country-menu"><a href="javascript:void(0)"><img border="0" src="images/country/us.png" /><u>English</u></a>
<ul>
<li><a href="zh/ma_indicator.html"><img border="0" src="images/country/cn.png" />中文</a></li>
</ul>
</li>
</ul>
</div>
</div>
<script type="text/javascript">
<!--
var ddmenuitem = 0;
var ddmenuitem2 = 0;
function jsddm_open(evt) {
ddmenuitem = $(this).find('ul').eq(0).toggle();
}
function jsddm_open2(evt) {
ddmenuitem2 = $(this).find('ul').eq(0).toggle();
}
function jsddm_close(evt) {
var target = $(evt.target);
if (target.parents('#jsddm > li#help-menu').length <= 0) {
if (ddmenuitem) ddmenuitem.hide();
}
if (target.parents('#jsddm2 > li#country-menu').length <= 0) {
if (ddmenuitem2) ddmenuitem2.hide();
}
}
$('#jsddm > li').bind('click', jsddm_open);
$('#jsddm2 > li').bind('click', jsddm_open2);
$(document).bind('click', jsddm_close);
-->
</script>
<div class="middle">
<div class="adv" align="left">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 468x60 -->
<ins class="adsbygoogle"
style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-6939253785017193"
data-ad-slot="2529507464"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div id="slider">
<div class="header" onclick="location.href='ma_indicator.html';" style="background: #FFF8DD;" id="one-header"><h3>Moving Average Convergence Divergence</h3><div style="clear:both;"></div></div>
<div class="header" onclick="location.href='rsi_indicator.html';" id="two-header"><h3>Relative Strength Index</h3><div style="clear:both;"></div></div>
<div class="header" onclick="location.href='mfi_indicator.html';" id="four-header"><h3>Money Flow Index</h3><div style="clear:both;"></div></div>
<div class="header" onclick="location.href='cci_indicator.html';" id="three-header"><h3>Commodity Channel Index</h3><div style="clear:both;"></div></div>
<div class="header" onclick="location.href='doji_indicator.html';" id="five-header"><h3>Doji</h3><div style="clear:both;"></div></div>
</div>
<div id="features-content" style="text-align: justify; float: left; width: 423px;">
<a rel="lightbox" title="Moving Average Convergence Divergence (MACD)" href="images/indicators/MACD-b.png"><img class="shadow" src="images/indicators/MACD-s.png"/></a><div> </div>
<div style="text-decoration:underline">Introduction</div>
<div>Moving Average Convergence Divergence (MACD) is a trend following indicator, and is designed to identify trend changes.</div>
<br/>
<div style="text-decoration:underline">Formula</div>
<div><strong><i>MACD = EMA[12] of price - EMA[26] of price</i></strong></div>
<div>where: EMA[12] = 12 days exponential moving average, EMA[24] = 24 days exponential moving average.</div>
<br/>
<div style="text-decoration:underline">Interpretation</div>
<div>When MACD is positive, the stock is moving in upward trend. When MACD is negative, the stock is moving in downward trend.</div>
<div class="adv" align="right">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 234x60 -->
<ins class="adsbygoogle"
style="display:inline-block;width:234px;height:60px"
data-ad-client="ca-pub-6939253785017193"
data-ad-slot="7495503466"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
<div style="text-decoration:underline">Case Study</div>
<div>As shown in the graph above.</div>
<br />
<div>In Mar-2009, EMA[12] (in blue line) starts to cross below EMA[26] (in green line). PUBLIC BANK BHD starts to move in downward trend.</div>
<br />
<div>In April, EMA[12] starts to cross above EMA[26]. PUBLIC BANK BHD starts to move in upward trend.</div>
<br />
<div>Different groups of investor will have different interpretation on both situation. During downward trend (negative MACD), some investors view it as a signal to accumulate share in cheap price. However, some investors may view it as a signal to sell off share on hand, to avoid further paper loss.</div>
<br />
<div style="text-decoration:underline">Final Note</div>
<div>There is no exact right period for MACD. The longer the time period, the less sensitive the moving average to daily price change noises. User shall experiment with various time period, according to current market condition.</div>
<br />
<div style="text-decoration:underline">Reference</div>
<div><a href="http://en.wikipedia.org/wiki/MACD">http://en.wikipedia.org/wiki/MACD</a></div>
</div>
<div style="clear:both;"></div>
<script type="text/javascript">
initLightbox();
applyDropShadows("img.shadow", "shadow3");
</script>
<div class="adv" align="right">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- 336x280 -->
<ins class="adsbygoogle"
style="display:inline-block;width:336px;height:280px"
data-ad-client="ca-pub-6939253785017193"
data-ad-slot="4784969868"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
<div id="clear"></div>
</div>
<div id="bottom"></div>
</div>
<div id="footer">
Please support by <a href="donation.html" onClick="javascript: pageTracker._trackPageview('/donate');">donating</a> · Content under <a href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons licenses</a> · <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.jstock.org&send=false&layout=button_count&width=90&show_faces=false&action=like&colorscheme=light&font&height=21&appId=108599022497670" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:90px; height:21px;" allowTransparency="true"></iframe>
</div>
<!-- Start of StatCounter Code -->
<script type="text/javascript">
var sc_project=6460490;
var sc_invisible=1;
var sc_security="b79b64cf";
</script>
<script type="text/javascript"
src="//www.statcounter.com/counter/counter.js"></script><noscript><div
class="statcounter"><a title="tumblr hit tracking tool"
href="http://statcounter.com/tumblr/" target="_blank"><img
class="statcounter"
src="//c.statcounter.com/6460490/0/b79b64cf/1/"
alt="tumblr hit tracking tool" ></a></div></noscript>
<!-- End of StatCounter Code -->
</body>
</html>