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

[amibroker] Re: Market Thermometer



PureBytes Links

Trading Reference Links

--- In amibroker@xxxxxxxxxxxxxxx, "dtfreak1025" <dtfreak1025@xxxx> 
wrote:
> 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)

Follow this definition and simply use

temperature=Max(H-Ref(H,-1),Ref(L,-1)-L);

Dimitris Tsokakis

> 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/