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

[amibroker] Re: Analyzing EMA Crossovers



PureBytes Links

Trading Reference Links

How's this, DT?

fast = 7;
slow = 26;
fast = Optimize("fast",7,3,20,1);
slow = Optimize("slow",26,7,40,1);

Buy = Cross(EMA(C,fast), EMA(C,slow));
Sell = Cross(EMA(C,slow), EMA(C,fast));

Gernot

--- In amibroker@xxxxxxxxxxxxxxx, "dtfreak1025" <dtfreak1025@xxxx> 
wrote:
> Does anyone have a formula that will detect a crossover in EMA for 
> the analyzer.
> 
> I want to scan for the (7)day EMA crossing up through the (26)day 
for 
> longs
> 
> and 7 down through 26 for shorts.
> 
> A variable for the length of EMA would work fine too.
> 
> I have loked through the archive on the web, but have not yet 
found 
> anything that will do this.
> 
> Thanks in Advance
> DT


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