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

RE: [amibroker] Re: Reverse EMA function



PureBytes Links

Trading Reference Links

The reverse of the indicators can be useful when you are trading using
breakouts, via signals from indicators. If you are looking for a break with
the ema you can determine the price it needs to go to for that condition to
occur

Cheers,
Graham
http://groups.msn.com/ASXShareTrading
http://groups.msn.com/FMSAustralia


-----Original Message-----
From: DIMITRIS TSOKAKIS [mailto:TSOKAKIS@xxxxxxxxx] 
Sent: Friday, 13 June 2003 6:25 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Reverse EMA function


Greg,
You miss the important ", if we suppose next bar EMA."
There is a relation between 3 parameters :today´s EMA, tomorrow´s EMA 
and tomorrow´s CLOSE. We need two of them to know the 3rd.
If we know today´s EMA and we suppose tomorrow´s EMA, then we can 
calculate tomorrow´s CLOSE.
DT

--- In amibroker@xxxxxxxxxxxxxxx, "Greg" <gregbean@xxxx> wrote:
>  Hi Dimitris,
> 
> You say that we can "anticipate" next bar close with this
indicator. I'm
> still trying to learn about TA and I don't know how you would do
that. Would
> you be kind enough to illustrate this. Perhaps with a well known
stock such
> as MSFT.
> 
> Thanks,
> 
> Greg
>  
> -------Original Message-------
>  
> From: amibroker@xxxxxxxxxxxxxxx
> Date: June 13, 2003 4:00:35 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Reverse EMA function
>  
> EMA is a function of todays Close and yesterdays EMA.
> The mechanism is analytically described in AFL>AFL Scripting
> Host>Examples>a) Indicator example - Exponential moving average
> After the math transormation, we may solve for C and get the
Reverse EMA
> function.
> I will call it CLOSEviaEMA to be more expressive.
> In Indicator builder paste the
>  
> // Reverse EMA function, by D.Tsokakis, June 2003
> P=20; CLOSEviaEMA=0.5*((P+1)*EMA(C,P)-(P-1)*Ref(EMA(C,P),-1));
> Plot(C,"CLOSE",1,1);
> Plot(CLOSEviaEMA,"CLOSEviaEMA",7,8);
>  
> to see actual Close and CLOSEviaEMA matching.
> The Reverse EMA function is useful to anticipate next bar Close, if
we
> suppose next bar EMA.
> It is placed at http://www.amibroker.com/library/detail.php?id=286
> for further reference.
> Dimitris Tsokakis 
> 
> Yahoo! Groups Sponsor
> 
> 
> 
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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.


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



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