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

[amibroker] blank indicator



PureBytes Links

Trading Reference Links

Below is my code for the SafeZone Short Stop.  I realize others have 
posted their code, but this one works well for me.  My problem is 
that I noticed the last few days the the stop line is <EMPTY> for the 
Dec Eurodollar Futures.  I have noticed this from time to time in 
other futures contracts, but after 5 or 6 sessions the lines 
magically reappear. Any reason why?  Is there a flaw in my ALF?

Here's the code:


// SafeZone Stop
SPeriod = 10; SCoeff = 2; SHolding = 5;
ADP = Sum(IIf(H>Ref(H,-1),H-Ref(H,-1),0),SPeriod)/Sum(IIf(H>Ref(H,-
1),1,0),SPeriod);
SFShortStop = High + (SCoeff * Ref(ADP,-1));
SafeZone = LLV(SFShortStop, SHolding);
Plot(Close,"",1,64);
Plot(SafeZone,"SafeZone Short Stop",colorRed,styleLine);



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/mk9osC/hP.FAA/3jkFAA/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/