STOCKGRAPH

The STOCKGRAPH command is used for technical analysis of stock price data.

In general, the format is:

  STOCKGRAPH vars / options


The available options are:

Option Description
EMA Calculates an exponential moving average instead of a simple moving average.
GRAPHDATA Graphs the financial time series data.
GRAPHMA Graphs the moving average line.
GRAPHMACD Graphs the moving average convergence-divergence (MACD)lines.
GRAPHVOL Graphs the volume of shares traded.
LIST Lists results on the SHAZAM output.
SOMA Calculates a second-order moving average instead of a simple moving average.
BOLLINGER= Number of standard deviations to use to calculate the Bollinger bands.
MALONG= Number of time periods to use for a long-term moving average calculation. The default is 26 periods
MAMACD= Number of time periods to use for the moving average convergence-divergence trigger calculation. The default is 9 periods.
MASHORT= Number of time periods to use for a short-term moving average calculation. The default is 12 periods.

In addition, the BEG=, END= options are available. Also, the WIDE and AXISFMT options as described for the GRAPH command can be used.