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

[EquisMetaStock Group] Re: Vertical Bars...continuation Barssince



PureBytes Links

Trading Reference Links

------------------------------------------------------------------------
You cannot reply to this message via email because you have chosen not
to disclose your email address to the group.

To reply:  http://groups.yahoo.com/group/equismetastock/post?act=reply&messageNum=5968
------------------------------------------------------------------------

Milton,

One way to have a vertical bar on a chart is to develop an indicator 
which plots either a value of one or zero using an if statement. This 
indicator is then overlayed on your chart without scale. 

Using the barssince indicator to indicate when a certain number of 
days have passed your indicator would be:

{BarsSinceDate-vertical}
{overlay without scale} 
d:=Input("Day",1,31,1);
m:=Input("Month",1,12,1);
y:=Input("Year",1920,2030,2002);
condition:=Input("enter desired number",1,1000,28);
count:=BarsSince(d<DayOfMonth() AND m=Month() AND y=Year());
count:=count + Cum(If(count=0,1,0));
if(count=condition,1,0);

This will only give you one occurrence of the event(the first). 

Preston 


--- In equismetastock@xxxxxxxxxxxxxxx, "mc11512022 <miltonc@xxxx>" 
<miltonc@xxxx> wrote:
>   I have been told MS wont draw vertical bars on chart...is this 
> correct (Have MS Pro 7)
> 
> Have been following the recent posts on "Barssince"which draws a 
> sloping line
> Thought is: that if Barssince had a Barsto included,then the 
sloping 
> line could be restricted to say one day or less(EG Slopes from one 
> day to the next or less)
> By using time, or other input,,could the line be made vertical on 
the 
> chart
> 
> Next issue would be to have another vertical line appear at a 
future 
> date 
> 
> Basically, I wish to have the Delta Phenonemon Lines drawn on the 
> chart
> 
> Any help is appreciated
> 
> Milton Cooper
> Miltonc@xxxx


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/