PureBytes Links
Trading Reference Links
|
MM
ATC are ok to use in AA ... the same way I indicated before ...
4UP = your condition1;
5UP = your condition2;
etc
if (your condition fir 4UP)
{
ATC1(4Up,"~name1",....)
}
//
if (your condition fir 5UP)
{
ATC2(5Up,"~name2",....)
}
...
if (condition1 or condition2 or .....)
{
ATCx(1,"~Namex",...); // this will count the total number of conditions
met
}
----- Original Message -----
From: "marketmonk777" <RedEyes777@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, October 21, 2008 12:42 AM
Subject: [amibroker] Re: Running stats
> Hi Ara,
>
> I think my reply got wiped out so sorry if this appears as a second
> response.
>
> Your solution is a good one. Unfortunately I was not clear in my
> intentions. First off I am not sure that I should use ATCs.
>
> Here is ultimately what I am trying to achieve. I would like an AA
> type of report which would have the following columns:
> Date obviously there would be a lot of dates listed.
> 4 UP # of stocks up 4 days in a row
> 5 UP
> 6 UP
> 7 UP
> 8 UP
> 9 UP
> 10+ # of stocks up 10 days or more in a row
> Total Total # of stocks that are from the columns listed
> 4P % of stocks out of total
> 5P
> 6P
> 7P
> 8P
> 9P
> 10P
>
> Not sure if I can get this type of listing.
>
> As I mentioned before I know how to use ATC's to calculate the # of
> stocks up x days for each day. But how to do I sum these figures, and
> then create a new series of data sets based on the division.
>
> This is just a simple exercise (one that I do want to run) but will be
> a launching pad to exam all sorts of conditions.
>
> Hopefully this is a better description of what I am trying to accomplish.
>
> MM
>
> --- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@xxx> wrote:
>>
>> Run 2 counters:
>> 1 for the criteria you choose
>> 1 for counting every stock ATC(1,"~mysymbolcounter",...
>>
>> When you reteive the info devide your event count by the number of
> symbols
>> and multiple by 100
>>
>
>
>
> ------------------------------------
>
> **** IMPORTANT ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> *********************
> TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to
> SUPPORT {at} amibroker.com
> *********************
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
> *********************************
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
------------------------------------
**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.
*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
*********************
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> 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/
|