PureBytes Links
Trading Reference Links
|
Roy,
Thanks for the input!
I saw the problem after I posted and was looking at several
different ways to resolve it. Your suggestion is probably the best.
Sure would be nice if we could set the colors and style in the
formula. Another option that I thought about was resetting the
default style and color.
Preston
--- In equismetastock@xxxxxxxxxxxxxxx, "Roy Larsen" <rlarsen@xxx>
wrote:
>
> Hi Preston
>
>
> Just a thought on this one. Unless the last bar indicator is
plotted with a heavy weight it will be virtually invisible.
Selecting it when it can't be seen is also a problem. Another way to
go might be generate X several bars prior to the last bar (easy to
do as you'll already know), and use the earlier signal with ValueWhen
() to plot the LastValue() of support and resistance for several
bars rather than just the one bar.
> Like this perhaps.
>
> {Pivot Points #2}
>
> R#2:=((H+L+C)/3) - (2*((H+L+C)/3) - H) +
> (2*((H+L+C)/3) - L);
> R#1:=2*((H+L+C)/3) - L;
> S#1:=2*((H+L+C)/3) - H;
> PP:=(H+L+C)/3;
> S#2:=((H+L+C)/3) - (((2*((H+L+C)/3) -
> L)-(2*((H+L+C)/3) - H)));
> X:= Cum(1)=LastValue(Cum(1))-10;
> ValueWhen(1,X,LastValue(R#2));
> ValueWhen(1,X,LastValue(R#1));
> ValueWhen(1,X,LastValue(PP));
> ValueWhen(1,X,LastValue(S#1));
> ValueWhen(1,X,LastValue(S#2));{end}
>
> The indicator is visible without needing to have the weight
changed of each plot changed.
>
> As far as color etc. goes, an easy way to ensure that an indicator
gets the wanted color, style and weight as soon as it's first
dropped down onto a chart is to include an Input() function in the
formula. Inserting an Input() function in this case could also serve
to set the number of bars plotted.
>
> {Pivot Points #3}
>
> N:=Input("Bars to plot",1,101,10)-1;
> R#2:=((H+L+C)/3) - (2*((H+L+C)/3) - H) +
> (2*((H+L+C)/3) - L);
> R#1:=2*((H+L+C)/3) - L;
> S#1:=2*((H+L+C)/3) - H;
> PP:=(H+L+C)/3;
> S#2:=((H+L+C)/3) - (((2*((H+L+C)/3) -
> L)-(2*((H+L+C)/3) - H)));
> X:= Cum(1)=LastValue(Cum(1))-N;
> ValueWhen(1,X,LastValue(R#2));
> ValueWhen(1,X,LastValue(R#1));
> ValueWhen(1,X,LastValue(PP));
> ValueWhen(1,X,LastValue(S#1));
> ValueWhen(1,X,LastValue(S#2));{end}
>
> As the indicator is pulled down onto a chart there's an
opportunity to change not only the Input() value for bars to plot
but also select a common colour, style and weight for all plots.
>
>
> Regards
>
> Roy
>
>
> ----- Original Message -----
> From: pumrysh
> To: equismetastock@xxxxxxxxxxxxxxx
> Sent: Saturday, September 29, 2007 3:23 PM
> Subject: [EquisMetaStock Group] Re: Support & Resistant Formula
>
>
> Mark,
>
> This should do the trick.
>
> Preston
>
> {Pivot Points}
>
> R#2:=((H+L+C)/3) - (2*((H+L+C)/3) - H) +
> (2*((H+L+C)/3) - L);
> R#1:=2*((H+L+C)/3) - L;
> S#1:=2*((H+L+C)/3) - H;
> PP:=(H+L+C)/3;
> S#2:=((H+L+C)/3) - (((2*((H+L+C)/3) -
> L)-(2*((H+L+C)/3) - H)));
> X:= Cum(1)=LastValue(Cum(1));
> ValueWhen(1,X,R#2);
> ValueWhen(1,X,R#1);
> ValueWhen(1,X,PP);
> ValueWhen(1,X,S#1);
> ValueWhen(1,X,S#2);{end}
>
> --- In equismetastock@xxxxxxxxxxxxxxx, markumansky <no_reply@>
> wrote:
> >
> > Is it possible to adapt the formula that it only shows the
current
> bar
> > points, instead of all of the past one too? This would reduce
the
> > clutter on the chart.
> >
> >
> > --- In equismetastock@xxxxxxxxxxxxxxx, pumrysh <no_reply@>
wrote:
> > >
> > > http://trader.online.pl/MSZ/e-w-Pivot_Points.html
> > >
> > >
> > > --- In equismetastock@xxxxxxxxxxxxxxx, Danny Rianto
> > > <dannyrianto01@> wrote:
> > > >
> > > > Anybody has Support & Resistant Formula...
> > > >
> > > > (S1, S2, S3, Pivol, R1, R2, R3).
> > > >
> > > > This formula will be vary valuable for day trader as guide
> > > price....
> > > >
> > > > Appreciate for your help
> > > >
> > > > Danny
> > > >
> > > >
> > > > ________________________________________________________
> > > > Bergabunglah dengan orang-orang yang berwawasan, di di
bidang
> > > Anda! Kunjungi Yahoo! Answers saat ini juga di
> > > http://id.answers.yahoo.com/
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > >
> >
>
>
>
>
>
> __________ NOD32 2559 (20070929) Information __________
>
> This message was checked by NOD32 antivirus system.
> http://www.eset.com
>
>
> [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/
|