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

Re: [amibroker] Re: Filter question



PureBytes Links

Trading Reference Links

Hello,

CCI is calculated using Average (Typical) price (= (H+L+C)/3 ),
so 

CCI(3 ) is equivalent to CCIa( Avg, 3 )

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "skiabox" <skiabox@xxxxxxxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, June 09, 2005 10:21 PM
Subject: [amibroker] Re: Filter question


> --- In amibroker@xxxxxxxxxxxxxxx, "Bob Jagow" <bjagow@xxxx> wrote:
>> Works fine here.  How did you "see a stock that has positive cci for the
>> last 2 quotes"?
>> Remember that CCIa( Close, 3 ) isn't equal to CCI(  3 ).
>> 
>> Bob
>> -----Original Message-----
>> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]On
> Behalf
>> Of skiabox
>> Sent: Thursday, June 09, 2005 3:43 AM
>> To: amibroker@xxxxxxxxxxxxxxx
>> Subject: [amibroker] Filter questionWork
>> 
>> I want to explore for stocks (weekly) that have :
>> 
>> CCIa( Close, 3 ) < 0 AND Ref( CCIa( Close, 3 ) ,-1) > 0 AND ADX(11) >
>> 25 AND EMA( Close, 13) > EMA( Close, 26
>> 
>> I used this formula :
>> 
>> TimeFrameSet( inWeekly );
>> Filter = CCIa( Close, 3 ) < 0 AND Ref( CCIa( Close, 3 ) ,-1) > 0 AND
>> ADX(11) > 25 AND EMA( Close, 13) > EMA( Close, 26);
>> AddColumn( Close, "Close  " );
>> AddColumn( Open, "Open  " );
>> AddColumn( High, "High  " );
>> AddColumn( Low, "Low  " );
>> AddColumn( Volume, "Volume      " );
>> 
>> but something seems to go wrong because I see a stock that has
>> positive cci for the last 2 quotes.any ideas what am I doing worng?Thnx.
>> 
>> 
>> 
>> 
>> 
>> Please note that this group is for discussion between users only.
>> 
>> To get support from AmiBroker please send an e-mail directly to
>> SUPPORT {at} amibroker.com
>> 
>> For other support material please check also:
>> http://www.amibroker.com/support.html
>> 
>> 
>> Yahoo! Groups Links
> 
> yeah,you are absolutely right!So to see the indicator on the chart I
> made the following custom indicator :
> 
> _SECTION_BEGIN("CCIa");
> periods = Param( "Periods", 14, 2, 200, 1 );
> Plot( CCIa( Close, periods ), _DEFAULT_NAME(), ParamColor( "Color", 
> colorCycle ), ParamStyle("Style")  );
> _SECTION_END();
> 
> I am not sure if I must answer after the previous messages or before
> them.Now I am writing this one after the previous messages.Thnx again
> for the immediate answers! :)
> 
> 
> 
> 
> 
> Please note that this group is for discussion between users only.
> 
> To get support from AmiBroker please send an e-mail directly to 
> SUPPORT {at} amibroker.com
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> 
> Yahoo! Groups Links
> 
> 
> 
> 
> 
> 
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.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/