Files
OpenBB/routines/ta_demo.openbb
Danglewood 14c599e4ec Adds Introduction Guide to the Technical Analysis Menu (#1964)
* Adds Introduction Guide to the Technical Analysis Menu

Adds a guide for the Technical Analysis menus. Routine file to come.

* Adds demonstration routine for the Technical Analysis menu

* linter typo

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-06-21 23:18:03 +01:00

37 lines
725 B
Plaintext
Vendored

# Demonstration of the Technical Analysis features, using SPY. No arguments are required to run this routine.
# Enter stocks menu, load intraday SPY with 30 minute interval, enter the T/A menu.
stocks
load spy -i 30
ta
# Show the RSI and OBV for 30 minute intervals and weekly intervals.
rsi
obv
..
load spy -w
ta
rsi
obv
# Show one week of OBV, VWAP, Bollinger Bands, MACD, and Fibonacci Retracements with one-minute intervals.
..
load spy -i 1
ta
obv
vwap
bbands
fib
macd
# Print T/A summary
summary
# Show long chart of SPY with monthly intervals with EMA for 3 and 6 months & MACD using six months as the slow and 4 as the signal.
..
load spy -s 1993-02-01 -m
ta
ema 3,6
macd -f 1 -s 6 --signal 4
..
candle --ma 6,12