PureBytes Links
Trading Reference Links
|
I think this is it:
temp=IIf<FONT
face="Courier New">(H<<FONT
face="Courier New">Ref(H,<FONT
face="Courier New">-1<FONT
face="Courier New">) & L<FONT
face="Courier New">><FONT face="Courier New"
color=#0000ff>Ref(L<FONT
face="Courier New">,-1<FONT
face="Courier New">),0<FONT
face="Courier New">,<FONT face="Courier New"
color=#0000ff>IIf ((H<FONT
face="Courier New"> - <FONT face="Courier New"
color=#0000ff>Ref(H<FONT
face="Courier New">,-1<FONT
face="Courier New">))>
(Ref<FONT
face="Courier New">(L<FONT
face="Courier New">,-1<FONT
face="Courier New">) - L<FONT
face="Courier New">), H<FONT
face="Courier New"> -<FONT face="Courier New"
color=#0000ff>Ref(<FONT
face="Times New Roman">H,-<FONT
face="Courier New" color=#ff00ff>1),
Ref<FONT
face="Courier New">(L<FONT
face="Courier New">,-1<FONT
face="Courier New">) - L<FONT
face="Courier New">))<FONT face="Times New Roman"
size=2>;
Graph0<FONT
size=2>=temp;
<FONT face=Tahoma
size=2>-----Original Message-----From: dtfreak1025
[mailto:dtfreak1025@xxxxxxxxx]Sent: Sunday, June 01, 2003 11:12
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker]
Market ThermometerHi Group; I am
trying to get the following Windows on Wall St.formula into
AmiBroker.if(hi<ref(hi-1)and lo>ref(lo,-1),0,if ((hi -
ref(hi,-1))>(ref(lo,-1) - lo), hi -ref(hi,-1), ref(lo,-1) -
lo))The Formula is:Temperature = the greater of either
(HIGHtoday - HIGHyesterday)or(LOWyesterday - LOWtoday)Elders'
Market Thermometer measures how far the most extreme point of today,either
high or low, protrudes outside of yesterdays range.The greater the
extension of todays bar outside of yesterday's, the higher the Market
temperature.Any help would be appreciatedTIA to
all.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.
|