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

[EquisMetaStock Group] Re: Plotting vertical line ( indicator )



PureBytes Links

Trading Reference Links

Jose, 

Thanx a lot, works perfectly : it's just magic how you do things.



--- In equismetastock@xxxxxxxxxxxxxxx, "Jose Silva" <josesilva22@xxx> 
wrote:

> Try this indicator:
> ---8<----------------------------------
> { http://www.metastocktools.com }
> { User inputs }
> bars1:= Input("Bars since last day for signal 1:",0,5250,10);
> bars2:= Input("Bars since last day for signal 2:",0,5250,20);
> {
> bars3:= Input("Bars since last day for signal 3:",0,5250,30);
> bars4:= Input("Bars since last day for signal 4:",0,5250,40);
> bars5:= Input("Bars since last day for signal 5:",0,5250,50);
> bars6:= Input("Bars since last day for signal 6:",0,5250,60);
> }
> { Signals }
> signal1:=Cum(1)=LastValue(Cum(1))-bars1;
> signal2:=Cum(1)=LastValue(Cum(1))-bars2;
> {
> signal3:=Cum(1)=LastValue(Cum(1))-bars3;
> signal4:=Cum(1)=LastValue(Cum(1))-bars4;
> signal5:=Cum(1)=LastValue(Cum(1))-bars5;
> signal6:=Cum(1)=LastValue(Cum(1))-bars6;
> }
> 
> { Plot as histogram in own window }
> signal1;signal2;
> {signal3;signal4;signal5;signal6}
> ---8<----------------------------------
> jose '-)
> http://www.metastocktools.com








 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> 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/