[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Market Thermometer



PureBytes Links

Trading Reference Links

Hi 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 appreciated
TIA to all.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/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/