[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Setting colour on a multi-plot indicator



PureBytes Links

Trading Reference Links

Dave,
I am completely lost with your explanation. I know that I can plot a 
multicolored oscillator...green for increasing and red for declining simply 
by using an if statement to plot or not plot(value zero). This works with an 
oscillator simply because I can plot to a value of zero. I can also plot a 
third indicator simply by adding a moving average into the formula. This 
still requires that I manually select the colors that I desire for each and 
yes I can simply this operation by assigning all of this to a template. 
But...I still cannot assign the color in the formula which is what I thought 
the question was(wouldn't that be nice! Metastock can you take a hint?). 
Beyond this point your explanation has me lost. So...if you don't mind would 
you give us some more detail?

J.


>From: Dave Nadeau <dave_nadeau@xxxxxxxxx>
>Reply-To: metastock@xxxxxxxxxxxxx
>To: metastock@xxxxxxxxxxxxx
>Subject: RE: Setting colour on a multi-plot indicator
>Date: Wed, 20 Dec 2000 23:18:50 -0700
>
>Bill,
>
>There is a faster way.  You'll need to use a very structured approach.
>
>Start with a custom formula with three lines which are something like this:
>
>LineA:=<time period one>;
>LineB:=<time period two>;
>LineC:=<time period three>;
>Mov(C,LineA,S); Mov(C,LineB,S);Mov(C,LineC,S)
>...
>
>You can later change these to OPT1, OPT2, and OPT3 in your system test.
>
>Build your next formula based on the first, and give signals for enter, 
>short, exit, etc. as 1,2,3,4 or something like that.
>Then a third formula(Indicator3), based on the second, would use 
>Barssince(<your long signal>)<Barssince(<your short signal>) AND
>Barssince(<your long signal>)<Barssince(<your exit signal>) = 1 for long or 
>=-1 for short and =0 for out.
>
>Then you can create a fourth custom indicator based on this, the equity 
>line.   This one says, Cum(If(Indicator3=1,Open-Ref(Open,-
>1),If(Indicator3=-1,-1*(Open-Ref(Open,-1),0).
>
>Now you've got four indicators based on those three variable definitions 
>which are easy to change.  You can run an exploration with
>this equity line to guage the performance across a portfolio of stocks.
>
>You can write an expert that is based on the formulas and a template.  Your 
>arrows for exits and entries as well as the lines
>themselves will adjust whenever you go back to adjust those three first 
>lines of the first indicator.
>
>You can also run a new exploration once you've adjusted those three values 
>in the formula.  You can do this as many times as you'd
>like.
>
>I hope this explanation makes sense.  I'm happy to clarify.  It is quicker, 
>but still has some manual steps.
>
>Dave Nadeau
>Fort Collins, CO
>
>12/20/00 10:53:21 AM, "Bill Irwin" <Bill-Irwin@xxxxxxxx> wrote:
>
> >Thanks Frans & Steve for the suggestion.  Maybe if I'd more fully 
>explained
> >what I'm doing perhaps another method is available, and would be better.
> >I'm working on a System that's based on this triple plot.  I'm going to 
>be
> >optimizing the values of this triple MA and, after the test, observe the
> >most profitable scenario.
> >
> >What I'd really like is for the System tester to plot the triple MA (in 3
> >colours) along with the Buy/Sell/Exit signs so that I can see the MAs
> >crossing at these triggers.  As it is, it appears I'll have to apply the
> >Triple MA Coloured Template, then adjust the lengths of the MAs to match 
>the
> >winning System (after digging into the winning System to see the values 
>of
> >OPT1/2/3 in a window that can't be sized to avoid the extra step and time 
>of
> >scrolling).  This doesn't make for a speedy review of a given System 
>across
> >many charts.  Of course, having to run the System test on each individual
> >chart (rather than on a selection, as in an Exploration) is what really
> >takes the time.
> >
> >If there's a faster way of doing this, please advise, and thanks again.
> >
>
>Dave Nadeau
>Fort Collins, CO
>
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com