PureBytes Links
Trading Reference Links
|
I thought of something different and thus try ti reqord what Iīm after.
Please look at the accompanying chart:
Iīm after the highest high between the two red bars (bar number 542 and
606).
Once Iīve foudn the value for the highest high (here: bar # 575 and a value
of 2.92), Iīd like to get the barīs cum() value.
By using a plot, Iīd like to get a simple histogram bar in a separate chart
window.
Do you know what I mean?
Thanks for your assistance!
Markus
----- Original Message -----
From: "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, April 08, 2003 1:07 PM
Subject: [amibroker] Re: Plotting an intervalīs condition
--- In amibroker@xxxxxxxxxxxxxxx, "IVA GmbH" <funnybiz@xxxx> wrote:
> Dimitris,
>
> datīs neat!
>
> 1./ May I ask how come that the second solution works though there
is no IIF
> command?? I looked up the plot function but still canīt figure out
which
> paert of the function it refers to.
>
> 2./ Now, that youīve defined a certain range to be plotted for me:
how would
> I then instruct AB to plot (in a separate window) a historic bar
for the
> highest high in that range??? I thought about highestsincebars
function but
> somehow I canīt get it worked out.
k=Cum(1)>=607 AND Cum(1)<730;
Plot(H,"H",k,1);
Plot(LastValue(Highest(k*H)),"period HIGHEST",4,8);
>
> Markus
> ----- Original Message -----
> From: "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Tuesday, April 08, 2003 8:52 AM
> Subject: [amibroker] Re: Plotting an intervalīs condition
>
>
> > There are two alternatives
> > a. Plot(IIf(Cum(1)>=607 AND Cum(1)<730,H,-1e10),"H",1,8);
> > plots ONLY the requested bars and
> > b. Plot(H,"H",Cum(1)>=607 AND Cum(1)<730,8);
> > It is better, perhaps, because you see the scaling of the non
colored
> > bars.
> > DT
> >
> > --- In amibroker@xxxxxxxxxxxxxxx, "IVA GmbH" <funnybiz@xxxx>
wrote:
> > > Hello,
> > >
> > > I thought that
> > >
> > > Plot(ValueWhen(Cum(1)>=607 AND Cum(1)<730,High,1),"cum value 1.
> > swing top",7,2)
> > >
> > > would plot the high for the interval >=607 and <730, but
> > apparently, it plots even beyond that (i.e. bar number > 730).
Why is
> > that?
> > >
> > > How would I have to formulate the AFL command if it were to plot
> > JUST WITHIN this range, please?
> > >
> > > Markus
> >
> >
> >
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > --------------------------------------------
> > Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get a FREE REFINANCE QUOTE - click here!
http://us.click.yahoo.com/2CXtTB/ca0FAA/i5gGAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Attachment:
highest.jpg
Attachment:
Description: "Description: JPEG image"
|