PureBytes Links
Trading Reference Links
|
Jim,
Here is another suggestion in pseudo code.
X:= upvol/(upvol + downvol);
[this will give a percentage 0 to 1 (100%)}
Then use the moving averages suggested by Roy; see below.
Each day/bar is self scaling since the output is a percentage within
a known range.
Chuck
--- In equismetastock@xxxxxxxxxxxxxxx, "Roy Larsen"
<rlarsen_quik@xxx> wrote:
>
> Jim
>
>
> Would this work, just as an example? Obviously you'd need to set up
the moving averages. It seems to me from your example that using the
raw difference value as an output is the cause of your problem.
>
> NY Upvol-Dnvol
> X:=Cum(Security("C:\MSdata\MSdataDX\UPVOL.NY",C)-Security
> ("C:\MSdata\MSdataDX\DNVOL.NY",C));
> Mov(X,10,S);
> Mov(X,20,S);
> Mov(X,30,S);
>
>
> Roy
>
>
> ----- Original Message -----
> From: stinkerstock
> To: equismetastock@xxxxxxxxxxxxxxx
> Sent: Tuesday, March 13, 2007 8:55 AM
> Subject: [EquisMetaStock Group] Re: Scaling
>
>
> Thanks Preston...I'll give it a try and will report back if I have
> any success. FYI Here's the indicator:
> NY Upvol-Dnvol
> Cum(Security("C:\MSdata\MSdataDX\UPVOL.NY",C)-Security
> ("C:\MSdata\MSdataDX\DNVOL.NY",C))
>
> Pretty simple. What I do is make the raw number invisible and
> overlay with moving averages. The problem is that the program picks
> up the wide range in the raw bars which makes the MA lines look
> compressed.
>
> I don't think a multiplication factor or a merge-overlay option
will
> help this, but I will monkey around with the latter suggestion.
>
> Anyway, thanks for the input.
>
> Jim
>
> --- In equismetastock@xxxxxxxxxxxxxxx, pumrysh <no_reply@> wrote:
> >
> > Jim,
> >
> > Simplest way is to use a multiplication factor. Not knowing what
> > your code is makes it difficult to tell you anything beyond that.
> >
> > Also, when you lay an indicator on a chart you are given the
option
> > to merge or overlay the indicator. You might try one of those.
> >
> > Preston
> >
> >
> >
> > --- In equismetastock@xxxxxxxxxxxxxxx, stinkerstock <no_reply@>
> > wrote:
> > >
> > > Hi folks:
> > >
> > > Does anyone know of a way to set a scaling feature into a
custom
> > > indicator?
> > >
> > > For example, I've created an indicator that plots a moving
> average
> > of
> > > advancing and decling volume. When I plot the indicator, it
> > displays
> > > what I want except the indicator is rather small in the window
> > because
> > > for some reason it is scaled improperly.
> > >
> > > I know I can change the scale manually by modifying the Y-axis
> > > proerties or by using a mouse drag...but is there a way to
build
> > in
> > > maximum-minimum values into the indicator itself so I don't
have
> > to
> > > scew around with manual adjustments?
> > >
> > > Thanks in advance.
> > >
> > > Jim
> > >
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/equismetastock/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/equismetastock/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:equismetastock-digest@xxxxxxxxxxxxxxx
mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
equismetastock-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|