Learn R Programming

avfintools (version 0.1.0)

fibs: Show Fibonacci bands

Description

Displays Fibonacci bands

Usage

fibs(df, showgraph = TRUE, title = NULL, hideprints = FALSE)

Value

Returns graph with various levels as well as a vector

Arguments

df

Dataframe with price data, works with various intervals

showgraph

Whether or not you want the function to pop out the visual

title

A character string for the Title of your graph

hideprints

if set to FALSE, prints out the support and resistance levels

Examples

Run this code
fibs(tail(SPYdaily, 200))
SPYdailyfibs <- fibs(tail(SPYdaily, 200))
fibs(SPY15)

Run the code above in your browser using DataLab