EVOLUTION-MANAGER
Edit File: addMACD.html
<!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><title>R: Add Moving Average Convergence Divergence to Chart</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for addMACD {quantmod}"><tr><td>addMACD {quantmod}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2> Add Moving Average Convergence Divergence to Chart </h2> <h3>Description</h3> <p>Add Moving Average Convergence Divergence indicator to chart. </p> <h3>Usage</h3> <pre> addMACD(fast = 12, slow = 26, signal = 9, type = "EMA", histogram = TRUE, col) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>fast</code></td> <td> <p> fast period </p> </td></tr> <tr valign="top"><td><code>slow</code></td> <td> <p> slow period </p> </td></tr> <tr valign="top"><td><code>signal</code></td> <td> <p> signal period </p> </td></tr> <tr valign="top"><td><code>type</code></td> <td> <p> type of MA to use. Single values will be replicated </p> </td></tr> <tr valign="top"><td><code>histogram</code></td> <td> <p> include histogram </p> </td></tr> <tr valign="top"><td><code>col</code></td> <td> <p> colors to use for lines (optional) </p> </td></tr> </table> <h3>Details</h3> <p>See and 'MACD' in <span class="pkg">TTR</span> for specific details and implementation references. </p> <h3>Value</h3> <p>A MACD indicator will be draw in a new window on the current chart. A chobTA object will be returned silently. </p> <h3>Author(s)</h3> <p>Jeffrey A. Ryan </p> <h3>References</h3> <p> see MACD in <span class="pkg">TTR</span> written by Josh Ulrich</p> <h3>See Also</h3> <p><code><a href="newTA.html">addTA</a></code> </p> <h3>Examples</h3> <pre> ## Not run: addMACD() ## End(Not run) </pre> <hr /><div style="text-align: center;">[Package <em>quantmod</em> version 0.4.20 <a href="00Index.html">Index</a>]</div> </body></html>