PureBytes Links
Trading Reference Links
|
Jayson,
interestingly, I donīt seem to be able to get the
HHV value itself, let alone the respective cum value!!!??? It may be my
ignorance or something else>VBG<.
Please have a look with me at the attached
chart.
I have circled the high Iīm after. In the indicator
windows below, called linechangeup and linechangedown, you see green and red
bars, one of each being circled yellow as well.
Now, the high value (and itīs resoective cum value
Iīm also after in a separate step) are right between a green bar of linechangeup
and a red bar of linechangedown as you can see.
Letīs say the circled red bar has the cum value of
"test" and the circled green bar has the cum value of "test4".
Then, the highest high in between should
be
hhv(high,(test1-test4)+1) which is shifted from the
last bar to the left by the factor of lastvalue(cum(1)-test1, thus:
<FONT face=Arial
size=2>Ref(hhv(high,(test1-test4)+1),-(lastvalue(cum(1)-test1))
But this gives me another result for whatever
reason!!!!!
Whereīs my flaw???????
Appreciate it a lot!
Markus
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
<A title=jcasavant@xxxxxxxxxxxx
href="">Jayson
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Tuesday, April 08, 2003 4:21
PM
Subject: RE: [amibroker] Re: Plotting an
intervalīs condition
<SPAN
class=789361814-08042003>Markus,
<SPAN
class=789361814-08042003>
Once
you know your HHV just use valuewhen.
<SPAN
class=789361814-08042003>
<SPAN
class=789361814-08042003>x=your criteria to find cond1
<SPAN
class=789361814-08042003>
<SPAN
class=789361814-08042003>valuewhen(x,cum(1));
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: <A
href="">funnybiz@xxxxxx
[mailto:funnybiz@xxxxxx]Sent: Tuesday, April 08, 2003 10:10
AMTo: <A
href="">amibroker@xxxxxxxxxxxxxxxSubject:
Re: [amibroker] Re: Plotting an intervalīs
conditionDimitris,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 and606).Once Iīve foudn the value for the highest
high (here: bar # 575 and a valueof 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 chartwindow.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
PMSubject: [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 thereis no IIF> command?? I
looked up the plot function but still canīt figure outwhich> 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 barfor the> highest high in
that range??? I thought about highestsincebarsfunction 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 noncolored> > 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: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)>
> --------------------------------------------> > Check group FAQ
at:> <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html>
>> > Your use of Yahoo! Groups is subject to<A
href="">http://docs.yahoo.com/info/terms/>
>> >Send BUG REPORTS to
bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx(Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at:<A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.htmlYour
use of Yahoo! Groups is subject to <A
href="">http://docs.yahoo.com/info/terms/Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Send
BUG REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to
suggest@xxxxxxxxxxxxx-----------------------------------------Post
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
Attachment:
highest.jpg
Attachment:
Description: "Description: JPEG image"
|