PureBytes Links
Trading Reference Links
|
You might want to try this.
{Incremental Horizontal Lines}
{Plots horizontal lines in defined steps}
{Written by Preston Umrysh 5-28-05}
{adapted from a Roy Larsen indicator}
X:= Input("Direction Up(0) or Down(1)",0,1,0);
D:= Input("Steps",.01,100,.20);
N:= Input("# of additional Lines",1,25,20);
Z:= Input("Start Price",.01,5000,10);
A:=z;B:=D;
If(X,A-B,A+B);
If(N>1,A+2*B*If(X,-1,1),z);
If(N>2,A+3*B*If(X,-1,1),z);
If(N>3,A+4*B*If(X,-1,1),z);
If(N>4,A+5*B*If(X,-1,1),z);
If(N>5,A+6*B*If(X,-1,1),z);
If(N>6,A+7*B*If(X,-1,1),z);
If(N>7,A+8*B*If(X,-1,1),z);
If(N>8,A+9*B*If(X,-1,1),z);
If(N>9,A+10*B*If(X,-1,1),z);
If(N>10,A+11*B*If(X,-1,1),z);
If(N>11,A+12*B*If(X,-1,1),z);
If(N>12,A+13*B*If(X,-1,1),z);
If(N>13,A+14*B*If(X,-1,1),z);
If(N>14,A+15*B*If(X,-1,1),z);
If(N>15,A+16*B*If(X,-1,1),z);
If(N>16,A+17*B*If(X,-1,1),z);
If(N>17,A+18*B*If(X,-1,1),z);
If(N>18,A+19*B*If(X,-1,1),z);
If(N>19,A+20*B*If(X,-1,1),z);
If(N>20,A+21*B*If(X,-1,1),z);
If(N>21,A+22*B*If(X,-1,1),z);
If(N>22,A+23*B*If(X,-1,1),z);
If(N>23,A+24*B*If(X,-1,1),z);{end}
Preston
--- In equismetastock@xxxxxxxxxxxxxxx, "daytraderteam"
<daytraderteam@xxxx> wrote:
> Hi Preston, thatīs a lot of numbers ;)
>
> I made something like this :
> ----------
> step:= Input("step", 0.1, 100, 0.20);
> level:= Input("startlevel", 0, 10000, 122);
> level;
> level+step;level-step;
> level+(2*step);level-(2*step);
> level+(3*step);level-(3*step);
> level+(4*step);level-(4*step);
> level+(5*step);level-(5*step);
> Think you can continue with this till where ever you want.
>
> if a plot this way 50 lines on a RT(intraday)chart, meta shows me
> always all those lines,sometimes it is impossible to have a good
> vieuw at the chart this way becouse of the scaling .
>
>
>
>
> --- In equismetastock@xxxxxxxxxxxxxxx, pumrysh <no_reply@xxxx>
wrote:
> > {Line Indicator}
> > 95.00; 95.20; 95.40; 95.60; 95.80;
> > 96.00; 96.20; 96.40; 96.60; 96.80;
> > 97.00; 97.20; 97.40; 97.60; 97.80;
> > 98.00; 98.20; 98.40; 98.60; 98.80;
> > 99.00; 99.20; 99.40; 99.60; 99.80;
> > 100.00; 100.20; 100.40; 100.60; 100.80;
> > 101.00; 101.20; 101.40; 101.60; 101.80;
> > 102.00; 102.20; 102.40; 102.60; 102.80;
> > {end}
> >
> >
> > This is one way but you are limited by the number of variables
> thus I
> > had to stop at 103. There are more exotic formulas that would
> allow
> > more horizontal outputs and allow user defined inputs. If I run
> > across them I'll post it. Check Roy's site to see if he has one
> > posted there.
> >
> > Preston
> >
> >
> > --- In equismetastock@xxxxxxxxxxxxxxx, "daytraderteam"
> > <daytraderteam@xxxx> wrote:
> > > hi all
> > >
> > > i want to plot automatically horizontal lines in a chart.
> > > example: the price is 100,00 . Then i want to plot every 0,20
> > points
> > > higher and lower a line. 100,20 100,40 100,60 etc.... in a
> > range
> > > from 95 to 105
> > > is that possible in metastock?
> > >
> > > Another problem is the scaling when you plot a lot of lines.
All
> > these
> > > lines are visible and bars are getting difficult to read.
------------------------ Yahoo! Groups Sponsor --------------------~-->
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/BefplB/TM
--------------------------------------------------------------------~->
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/
|