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

[amibroker] Re: Some basic questions



PureBytes Links

Trading Reference Links

Hello !

I am also finding its good use. However, it can be used to better 
advantage if reports are generated in explorer for all stocks in one 
go. (List of stocks where red turned to green & green turned to red 
today).

Can anyone help to get such reports in explorer.

Regards.
-----------------------------

--- In amibroker@xxxxxxxxxxxxxxx, "vichooo_1999" <vichooo_1999@xxxx> 
wrote:
> 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.*/




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/