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

[EquisMetaStock Group] Re: how to draw the line on chart? Ooopps



PureBytes Links

Trading Reference Links

Eugene,

Ron and I have given you several indicators that will work. If you 
want to use volume instead then just change the indicator to reflect 
volume instead of the high. Like this:

Nth:=Input("Events ago",1,100,1);
X:=Input("Last x bars",1,100,5);
Event1:=V=HHV(V,X);
Event1Bar:=((1+LastValue(Cum(Event1))-
Cum(Event1))*Event1)=Nth;
ValueWhen(1,Event1bar,V);

Notice that the only changes made were

Event1:=H=HHV(H,X);  to  Event1:=V=HHV(V,X);

and

ValueWhen(1,Event1bar,H);  to  ValueWhen(1,Event1bar,V);


Preston




--- In equismetastock@xxxxxxxxxxxxxxx, eugeneou520 <eugeneou520@xxx> 
wrote:
>
> hi
>   thank for all your's help! really , what i want draw the 
horizonal line from last peak till today only. example, the last 
peak valume is 50 and draw the horizonal line =50 untill today.
>    
>   best regards!
>   eugene
>    
>    
>   
> 
> rsb_44 <rsb_44@xxx> wrote:
>           Should be:
> 
> Nth:=Input("Events ago",1,100,1);
> X:=Input("Last x bars",1,100,5);
> Event1:=H=HHV(H,X);
> Event1Bar:=((1+LastValue(Cum(Event1))-
> Cum(Event1))*Event1)=Nth;
> ValueWhen(1,Event1bar,H);
> 
> --- In equismetastock@xxxxxxxxxxxxxxx, "rsb_44" <rsb_44@> wrote:
> >
> > Hi Eugene -
> > 
> > This may be what you want. It enables you to select the instance 
of 
> > the event as wellas the number of bars you want to have the HHV 
> > evaluate.
> > 
> > Nth:=Input("Events ago",1,100,1);
> > Event1:=H=HHV(H,5);
> > Event1Bar:=((1+LastValue(Cum(Event1))-
> > Cum(Event1))*Event1)=Nth;
> > ValueWhen(1,Event1bar,H);
> > 
> > Regards,
> > Ron
> > 
> > 
> > 
> > --- In equismetastock@xxxxxxxxxxxxxxx, eugeneou520 
<eugeneou520@> 
> > wrote:
> > >
> > > hi,
> > > how to draw the horizonal line on the chart,example,start 
> drawing 
> > h=hhv(h,5) to today as horizonal line.
> > > best regards
> > > eugene
> > > 
> > > 
> > > ---------------------------------
> > > Be a better Heartthrob. Get better relationship answers from 
> > someone who knows.
> > > Yahoo! Answers - Check it out. 
> > > 
> > > [Non-text portions of this message have been removed]
> > >
> >
> 
> 
> 
>                          
> 
>        
> ---------------------------------
> Building a website is a piece of cake. 
> Yahoo! Small Business gives you all the tools to get online.
> 
> [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/