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

RE: [amibroker] Was May 6, 2003 a non-trading day in the US?



PureBytes Links

Trading Reference Links

I got this afl from somewhere I dont remember. But its fantastic. Only 
thing is I am not able to convert it into an explorer. Can anyone help 
 please?

The afl is:

 t=20;x=DEMA(StochD(40),t);Plot(x,"",1,8);
tA=50;xA=DEMA(StochD(40),tA);//Plot(xA,"",7,8);
Cond1=Ref(x,-1)==LLV(x,3);Plot(50*Cond1,"",5,2);
Cond2=Ref(x,-1)==HHV(x,3);Plot(50*Cond2,"",4,2);
k1=BarsSince(Cond1);k2=BarsSince(Cond2);
Plot((k2>k1)*10,"",5,2);Plot((k2<k1)*10,"",4,2);
Coeff=2;
trendbars=20;// calibrate here the start of variable smoothing
t1=IIf(k2>k1 AND k2>trendbars,t+coeff*k1,IIf(k1>k2 AND k1>trendbars,
t+coeff*k2,t));
x1=DEMA(StochD(40),t1);
Plot(x1,"",(x1>Ref(x1,-1))*5+(x1<Ref(x1,-1))*4,8);
GraphXSpace=2;

/*Target:-Medium term--this is not for v short term or intraday but 
for swing(!!)or position traders.
buy when red becomes green and sell when green becomes red...excellent 
signal to judge the trend.*/




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com.  Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/amibroker/

<*> To unsubscribe from this group, send an email to:
     amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
     http://docs.yahoo.com/info/terms/