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

RE: [amibroker] Re: Easiest way to scan for rising/falling/flat stocks



PureBytes Links

Trading Reference Links

TaoTrader,

Thx.

 

--- In amibroker@xxxxxxxxxxxxxxx, "TaoTrader" <taotrader@xxxx> wrote:
> Here you go:
> 
> //Price Channel
> 
> T1=Param("T1",20,1,40,1);
> T2=Param("T2",20,1,40,1);
> P1=Param("P1",3,1,20,1);
> 
> UF1=MA((H+L+2*C)/4,T1)+MA((H-L),T1);
> LF1=MA((H+L+2*C)/4,T1)-MA((H-L),T1);
> K1=IIf(C>UF1,100, IIf(C<LF1,-100,0));
> 
> UF2=MA((H+L+C)/3,T2)+MA((H-L),T2);
> LF2=MA((H+L+C)/3,T2)-MA((H-L),T2);
> K2=IIf(C>UF2,100, IIf(C<LF2,-100,0));
> 
> PR=MA((K1+K2)/2,P1);
> 
> Plot(0,"",colorYellow,styleLine);
> 
> upbar=PR>Ref(PR,-1) ;
> downbar=PR<Ref(PR,-1) ;
> barcolor=IIf(downbar,4, IIf(upbar,5,7));
> Graph1BarColor=ValueWhen(barcolor != 0,barcolor);
> Plot(PR,"Price Channel",Graph1BarColor,styleDots);
> 
> Title="Price Channel :"+WriteVal(PR)+
> WriteIf(PR>98," {Overbought}",
> WriteIf(PR<-98," {Oversold}"," "))+" : < Trend > : "+
> WriteIf(PR>0," Bullish"," Bearish")+" ; <Trade> : "+
> WriteIf(upbar,"Buy",WriteIf(downbar,"Sell"," "));
> 
> 
>   ----- Original Message ----- 
>   From: xyou_lone 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Tuesday, August 03, 2004 12:32 AM
>   Subject: [amibroker] Re: Help!!!Tillson T3 and Price Channel
> 
> 
> 
>   the price channel indicator looks like:
> 
>   ----------------------------------------------------------
>   Price Channel 100.00 {Oversold}
>   ==========                                =======    100
>             \\                            //
>              \\                          //
>               \\                        //
>                 ==               =======               0
>                   \\           //
>                    \\        ==
>                     \\     //
>                       =====                            -100
> 
>   -----------------------------------------------------------
>   also see  
>   http://home.earthlink.net/~danny.feng/data/T3_PriceChannel.jpg
> 
>   really appreciated if anyone can post the original code.
>   thx.
> 
> 
> 
> 
> 
> 
> 
>   --- In amibroker@xxxxxxxxxxxxxxx, Terry <MagicTH@xxxx> wrote:
>   > I donšt know if this is the Tillson T3, but it is a T3 
indicator. 
>   (Also
>   > included as attachment).
>   > 
>   >  /* T3 trading system */
>   > a = 0.618;
>   > n = 24;
>   >  
>   > alpha = 2/(n + 1);
>   > e1 =  EMA(Close, n);
>   > e2 = EMA (e1, n);
>   > e3 = EMA (e2, n);
>   > e4 = EMA (e3,  n);
>   > e5 = EMA (e4, n);
>   > e6 = EMA (e5, n);
>   >  
>   > T3 = -a^3 * e6 + (3 * a^2 +3 * a^3) * e5 + (-6 * a^2 - 3 *
>   >  a - 3 * a^3) * e4 + (1 + 3 * a + a^3 + 3 * a^2) * e3;
>   >  
>   > Graph0 = Close;
>   > Graph1 = T3;
>   > Graph2 = EMA(Close,24);
>   > Graph2Color=28;
>   > Graph2Style=1;
>   >  
>   > Sell = Cross ( Close, T3 );
>   > Buy = Cross (T3, Close );
>   > Short = Cross ( Close, T3);
>   > Cover = Cross (T3, Close );
>   > 
>   > Terry
>   > --
>   > 
>   > > people where i can find AFL files for Tillson T3 and Price 
Channel
>   > > please help me 
>   > > if anybody has already please e-mail to me md_nemo@xxxx
>   > > 
>   > > 
>   > 
>   > 
>   > 
>   > [Non-text portions of this message have been removed]
> 
> 
> 
>   Check AmiBroker web page at:
>   http://www.amibroker.com/
> 
>   Check group FAQ at: 
http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
> 
> 
>         Yahoo! Groups Sponsor 
>               ADVERTISEMENT
>              
>        
>        
> 
> 
> --------------------------------------------------------------------
----------
>   Yahoo! Groups Links
> 
>     a.. To visit your group on the web, go to:
>     http://groups.yahoo.com/group/amibroker/
>       
>     b.. To unsubscribe from this group, send an email to:
>     amibroker-unsubscribe@xxxxxxxxxxxxxxx
>       
>     c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
Service. 
> 
> 
> 
> [Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

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/