PureBytes Links
Trading Reference Links
|
A good description is at
http://www.purebytes.com/archives/omega/2002/msg04479.html
To avoid negative values, he calculates abs and then introduces an
average of the temp, to define entry/exit points.
The above description is similar to AFL
TEMP=Max(abs(H-Ref(H,-1)),abs(Ref(L,-1)-L));
Plot(TEMP,"temp",1,2);Plot(MA(temp,22),"average temp",4,1);
The basic disadvantage of this temp is the deal with absolute prices.
Recent CSCO temp is 0.3 to 0.6.
Two years ago it was ten times today´s values.
You may have better relative values with
RELATIVETEMP=Max(abs(H-Ref(H,-1))/MA(H,3),abs(Ref(L,-1)-L)/MA(L,3));
Plot(RELATIVETEMP,"Relative temp",1,2);Plot(MA
(RELATIVETEMP,22),"average temp",4,1);
DT
--- In amibroker@xxxxxxxxxxxxxxx, "DIMITRIS TSOKAKIS" <TSOKAKIS@xxxx>
wrote:
> --- 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/
|