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

[amibroker] Re: Safezone Stop



PureBytes Links

Trading Reference Links

How does Elder define a safezone Stop?


Thanks

--- In amibroker@xxxxxxxxxxxxxxx, "russ_shor" <russ_shor@xxxx> wrote:
> Hi all
> 
> I'm trying to chart Elder's Safezone Stop. This is what I've got so 
> far:
> 
> B=Low;
> B1=Ref(Low,-1);
> 
> Y=IIf(B>B1,B-B1,0);
> Y1=Sum(Y,10);
> Y2=IIf(B1<B,1,0);
> Y3=Sum(Y2,10);
> Y4=Y1/Y3;
> Y5=B-(2*Y4);
> 
> I'm having trouble with Y1: summing "B-B1" from Y, and trouble with 
> Y3: summing the variable's true value. Any suggestions?
> 
> Thanks very much.
> 
> Russ


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/i5gGAA/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/