Fred,

Everyday I want to get Yesterdays High and Lows at 950 and compare
values starting at yesterdays 1000 to see if any bars touches or
crosses the 950 High and Low value. (Otherwise wait ten minutes after
950 snd keep checking until the 950 values are reached again.)

Plot the open lines each day until they close out (close out means the
line value has been touched).

When the bar touches the 950 high or the 950 low then discontinue
plotting the lines.

See Example I placed at link below:

http://www.photogallery.com/stuff/charts/plottinglines.gif


--- In [email protected], "Fred" <[EMAIL PROTECTED]> wrote:
>
> Yep ... and if I had understood what you were asking I would have 
> responded ... maybe I'm just dense, but I don't have a clue what 
> you're asking ...
> 
> --- In [email protected], "rlfoxworth2006" 
> <rlfoxworth2006@> wrote:
> >
> > Is this the right forum for this type of help here?
> > 
> > 
> > --- In [email protected], "rlfoxworth2006"
> > <rlfoxworth2006@> wrote:
> > >
> > > Is there another way or better way to do this?
> > > 
> > > RichardF
> > > 
> > > 
> > > --- In [email protected], "rlfoxworth2006"
> > > <rlfoxworth2006@> wrote:
> > > >
> > > > I've figured this much out where the line plots for the first 
> day, but
> > > > can't figure out how to make the plot continue to till the value
> > > > closes the line.
> > > > 
> > > > RichardF
> > > > 
> > > > //Using the deDateTime.dll from the 3rd Party area.
> > > > //http://www.amibroker.org/3rdparty/deDateTime.zip
> > > > 
> > > > Plot( C, "Close", ParamColor("Color", colorBlack ), 
> styleNoTitle |
> > > > ParamStyle("Style") | GetPriceStyle() );  
> > > > 
> > > > Daysback=1;
> > > > 
> > > > Day1highband =
> > > > ValueWhen(deFlagLastBarOfDay(150000),deTimeRangeHHV(H,94901,
> > > > 94902),DaysBack);
> > > > Day1lowband =
> > > > ValueWhen(deFlagLastBarOfDay(150000),deTimeRangeLLV(L,94901,
> > > > 94902),DaysBack);
> > > > 
> > > > Day1tenH =
> > > > ValueWhen(deFlagLastBarOfDay(150000),deTimeRangeHHV(H,100001,
> > > > 150059),Daysback);
> > > > Day1tenL =
> > > > ValueWhen(deFlagLastBarOfDay(150000),deTimeRangeLLV(L,100001,
> > > > 150059),Daysback);
> > > > 
> > > > 
> > > > Plot(IIf(Day1highband <= Day1tenH AND Day1highband >= Day1tenL, 
> Null,
> > > > Day1highband ),  "", colorViolet,styleLine|styleNoRescale);
> > > > Plot(IIf(Day1lowband <= Day1tenH AND Day1lowband >= Day1tenL, 
> Null,
> > > > Day1lowband ),  "", colorViolet,styleLine|styleNoRescale);
> > > > 
> > > > 
> > > > 
> > > > 
> > > > 
> > > > --- In [email protected], "rlfoxworth2006"
> > > > <rlfoxworth2006@> wrote:
> > > > >
> > > > > I want to get Yesterdays High at 950 and compare values 
> starting at
> > > > > 1000 to see if any bars touches or crosses the 950 value.
> > > > > 
> > > > > Then plot a line each day until.... a bar touches or crosses 
> that
> > > line.
> > > > > 
> > > > > When the bar touches the 950 high then don't plot the line 
> next day.
> > > > > Lines may sometimes have to plot more than one to several 
> days.
> > > > > 
> > > > > Sometimes a day will have more than one of these lines from 
> previous
> > > > > days plotting.
> > > > > 
> > > > > These are CST times.
> > > > > 
> > > > > Thanks ....Hope this isn't to tough for anyone to figure......
> > > > > 
> > > > > RichardF
> > > > > 
> > > > > Example:
> > > > > Step 1:
> > > > >
> > 950-High|--------|1000-----start-comparing-values----------------
> |1500
> > > > > 
> > > > > Step 2:
> > > > > 830--Compare-again-until-bar-touches-or-crosses------------
> 1500
> > > > > 
> > > > > Step 3:
> > > > > Again repeat checking until line closes.
> > > > >
> > > >
> > >
> >
>





Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html
 
Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to