EVOLUTION-MANAGER
Edit File: addROC.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 Rate Of Change 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 addROC {quantmod}"><tr><td>addROC {quantmod}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2> Add Rate Of Change to Chart </h2> <h3>Description</h3> <p>Add Rate Of Change indicator to chart. </p> <h3>Usage</h3> <pre> addROC(n = 1, type = c("discrete", "continuous"), col = "red") </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>n</code></td> <td> <p> periods </p> </td></tr> <tr valign="top"><td><code>type</code></td> <td> <p> compounding type </p> </td></tr> <tr valign="top"><td><code>col</code></td> <td> <p> line color (optional) </p> </td></tr> </table> <h3>Details</h3> <p>See 'ROC' in <span class="pkg">TTR</span> for specific details and references. </p> <h3>Value</h3> <p>A ROC 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 ROC 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: addROC() ## 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>