Re: [R] Getting previous day data and implementing it for quantstrat

2015-08-12 Thread boredstoog via R-help
Sorry Joshua, I just want diverse solutions for this answer. Sorry for causing any trouble or inconvenience for you. I am withdrawing my question from this forum. -- View this message in context: http://r.789695.n4.nabble.com/Getting-previous-day-data-and-implementing-it-for-quantstrat-tp47109

Re: [R] Getting previous day data and implementing it for quantstrat

2015-08-12 Thread Joshua Ulrich
Please don't cross-post: http://stackoverflow.com/q/31955979/271616 At minimum, tell people that you're cross-posting, so they don't spend time answering a question that was answered on another forum they do not follow. On Tue, Aug 11, 2015 at 7:27 AM, boredstoog via R-help wrote: > I am a newbi

[R] Getting previous day data and implementing it for quantstrat

2015-08-11 Thread boredstoog via R-help
I am a newbie and trying to create my own bactesting code after going through demo(). I am using a *candle engulfing pattern* strategy and this is the formula buy=(close(1) < close) and (high(1) < high) and (low(1) < low) sell=(close(1) > close) and (high(1) > high) and (low(1) > low) **(1) repres