[R-SIG-Finance] quantmod visual feedback from strategy testing
josh.m.ulrich at gmail.com
Wed Apr 28 17:21:47 CEST 2010
Look at the code in the chart.Posn() function in the blotter package
on r-forge. While it may not do _exactly_ what you want, it should
give you a good start.
FOSS Trading: www.fosstrading.com
On Fri, Apr 16, 2010 at 5:21 PM, Immanuel <mane.desk at googlemail.com> wrote:
> Hey all,
> I tested a simple trading system from:
> What I'm missing is some visual feedback on the chart plot about the entry /
> signals and open positions.
> I would like to have an arrow over or below the bar where the signal
> occurred to
> indicate long or short signals and a doted line to indicate an open
> Whats the best way to accomplish this?
> I like to code some simple Dow trend detection with visual feedback.
> How can I choose the chart background or bar at every bar according to the
> trend direction ?
> Is there an indicator for x-bar high or x-bar low? ( I need this to identify
> important high or lows)
> I'm quite curious if and how all this can be realized in quantmod, therefore
> happy about any hint in the right direction.
> Regards mane
> R-SIG-Finance at stat.math.ethz.ch mailing list
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions
> should go.
More information about the R-SIG-Finance