PureBytes Links
Trading Reference Links
|
<SPAN
class=167091406-10032003>Anthony,
<SPAN
class=167091406-10032003>
<FONT
size=2>using this
<FONT
size=2>
<FONT
size=2><FONT
color=#000000>Title=<FONT
color=#ff00ff>"max high "+<FONT
color=#0000ff>WriteVal(Maxr,<FONT
color=#ff00ff>1.2)+ " Min
Low "+WriteVal<FONT
color=#282828>(Minr,1.2<FONT
color=#282828>); I get the following result
on any number of stocks.....
<IMG align=baseline alt=""
border=0 hspace=0 src="gif00127.gif">
How ever you are absolutely correct when
placed on an index like the DJ30 it fails. Looking at your description this does
explain why it failed for you. What I still do not understand is why it needs to
be bound at all. Since the low and high are clearly visible why would zero or
1200 ever be returned? If you see the bars on the chart then barvisible will
always be 1 (true). Therefore both iff statements should return your H or Low
or, in my code, close. Zero or 1200 should not come into play. Should
it?
I did use Closing data in my calculation. My
thought was that this would filter some wild fluctuations that may not
accurately reflect the support/resistance levels. I personally would be more
interested in where the stock settles than what occurred in a wild open. Your
version more accurately represents the spirit of the authors, thanks for sharing
it.
Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: Anthony Faragasso
[mailto:ajf1111@xxxxxxxx]Sent: Monday, March 10, 2003 12:59
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: RE: [amibroker]
barvisible and lowest low ?Jayson, I did try
it..but it always returned a value of 100 for lowest low....neverthe lowest
low of the bars visible....you might want to check your formulayou posted
earlier...try adding this at the end : Title="minr ="+WriteVal(Minr,1.2);
Also, in your formula you are using the Close to make the
calculations...Notreally Tirone Levels as per the Description...is this your
personal choice ? To explain this: "I found this in Tomasz's example
of the FibRSI and used it in the Tironelevels I posted earlier. It made no
sense to me either " The RSI is bounded by 0 and 100...that is why
Tomasz ( I Believe ) usedthose values....Now, when dealing with
Stocks...etc...they need to bebounded by some higher value ( example..the
DJI was close to 12,000 at onetime)...So, we need to bound the tickers...in
my formula I am using 0 and 12000.. Does this help explain.....
Anyway, I found what works and after reading the description given
forTirone Levels at the following link: <A
href="">http://www.marketscreen.com/help/atoz/default.asp?Num=103
I believe the calculation for Tirone Levels ( MidPoint Method ) is
asfollows: // Tirone Levels adjusted to visable bars //MidPoint
Method barvisible= Status("barvisible"); maxh =
LastValue(Highest(IIf(barvisible ,H,0))); minl = LastValue(Lowest
(IIf(barvisible ,L,12000))); ranr = maxh - minl; Plot( C, "",
colorBlack,styleCandle ); Plot( maxh-(ranr/3) , "Top", colorGrey50 );
Plot( minl+ (ranr/2), "Mid", colorPaleGreen ); Plot( minl+(ranr/3) ,
"Bott", colorPaleBlue ); PlotGrid(Maxh,colorYellow); PlotGrid( minl
,colorYellow ); GraphXSpace = 3; Title=Name()+" - "+"Tirone Levels (
MidPoint Method )" +"-- Top = +WriteVal(maxh-(ranr/3),1.2)+"-- MidPoint =
"+WriteVal(minl+ (ranr/2),1.2)+"--Bot = "+WriteVal(minl+(ranr/3),1.2);
Anthony -------Original Message------- From:
amibroker@xxxxxxxxxxxxxxx Date: Monday, March 10, 2003 00:25:26 To:
amibroker@xxxxxxxxxxxxxxx Subject: RE: [amibroker] barvisible and lowest low
? Anthony, I am not sure but it seems to work :) I
found this in Tomasz's example of the FibRSI and used it in the Tironelevels
I posted earlier. It made no sense to me either but then Highest andLowest,
by definition in the help files, should return the highest valueover the
entire chart yet when used in this code it only reflects the
barsvisible..Try it, It works.... Perhaps TJ can answer why Jayson
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:
Description: ""
|