search for: bband

Displaying 9 results from an estimated 9 matches for "bband".

Did you mean: band
2016 Apr 09
1
Quantmod abline and axis configuration
...s)) require(quantmod) require(PerformanceAnalytics) require(xtsExtra) require(rCharts) Foa<-as.xts(read.zoo("fa.txt",col.names=c("Date","LAST"), sep="",dec=",", format="%d/%m/%Y")) chartSeries(Foa,theme="white",TA = c(addBBands(50,2), addBBands(100,2), addBBands(250,2), ylim(0,4000)) ) t=chartTheme() t$BBands$fill="#ff666633" reChart(theme="white") t$BBands$col=c('red','blue','green') t$BBands$col='blue' reChart(theme="t") [[alternative HTML version deleted...
2006 Dec 27
3
stacked plots
Dear helpeRs, Is there a better method of producing stacked charts than par(mfrow(3,1)), plot(x), plot(y), plot(z)? What I would like to do is produce a chart of several panes stacked vertically with no space between them so they appeared to be a single figure. I've attached a small example, though it is not clear that it will make it, as the posting guide doesn't say which sort of images
2007 Jan 16
3
plot portion of a line
Dear HelpeRs, Given: x <- rnorm(50) y <- rnorm(50) plot(x,y) abline(lm(x ~ y)) Is there a way to plot just a portion of the line? Say for values of x > 2.0 or x > -2.0 and x < 4.0. (Still fitting all the points.) Thank you, jab -- John Bollinger, CFA, CMT www.BollingerBands.com If you advance far enough, you arrive at the beginning.
2006 Dec 27
1
how to suppress a "loading required package: ..." message
Hi, how to suppress a "loading required package:... " message? Kind regards Jaci --
2006 Aug 30
10
.Rprofile under Windoze.
I am (for my sins) having to do some work using R under Windoze. I wanted to set up a .Rprofile to control my set-up. The docs on .Rprofile say that it can/should be placed in ``the user's home directory''. ``An Introduction to R'' observes lucidly that this concept needs to be clarified under Windoze. Following the suggestions in An Introduction to R, I tried putting a
2006 Aug 29
1
passing namees
R 2.3.1 I wrote a little script to do some cross correlations. The symbols are in a text file like so: symbols.txt ibm dd csco """ require(tseries) symbols <- scan("symbols.txt", what = 'character') for(line in 1:(length(symbols)-1)) { assign(symbols[line], get.hist.quote(instrument = symbols[line], start = "2005-09-01", quote =
2006 Sep 28
2
a decimal aligned column
Hello, For numbers in the range 100 to 100,000,000 I'd like to decimal align a right-justified comma-delineated column of numbers, but I haven't been able to work out the proper format statement. format(num, justify=right, width=15, big.mark=",") gets me close, but numbers larger than 1,000,000 project a digit beyond the right edge of the column, which I really don't
2012 Jan 11
0
Error in charToDate(x)
...e of indicators and the following model: myATR <- function(x) ATR(HLC(x))[,'atr'] mySMI <- function(x) SMI(HLC(x))[,'SMI'] myADX <- function(x) ADX(HLC(x))[,'ADX'] myAroon <- function(x) aroon(x[,c('High','Low')])$oscillator myBB <- function(x) BBands(HLC(x))[,'pctB'] myChaikinVol<-function(x)Delt(chaikinVolatility(x[,c("High","Low")]))[,1] myCLV <- function(x) EMA(CLV(HLC(x)))[,1] myMACD <- function(x) MACD(Cl(x))[,2] mySAR <- function(x) SAR(x[,c('High','Close')]) [,1] myVolat <- func...
2006 Oct 05
11
Block comments in R?
Hello list, Is there any way to perform a block comment in R? In C++, anything in between a /* and */ is considered a comment, and it allows programmers to comment out chunks of code for testing and debugging. Is there such a feature in R? Cheers, Wee-Jin