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

[amibroker] Re: Running stats



PureBytes Links

Trading Reference Links

Hi Anthony,

For this example I am running an AFL code that creates my ATC symbols,
~UP4, ~UP5, ~UP6, ~UP7, ~UP8, ~UP9, ~UP10 (10 being 10 or more days)

This code is run against the group "stocks".

Nice thing about ATC's is that they will allow me to see how many
stocks meet each criteria on a daily basis back through my entire
database.   And I understand a lot of companies no longer exist.

What I am trying to create is another ATC or custom symbol based on a
percentage of a sum of all ATCs in that group.  ~UP4P for percentage
of all stocks that were up 4 days in a row (calculated by dividing
~4UP by the sum of all the ATCs which count 4, 5, etc consecutive days
up).

This way I would be able to plot ~UP4P (percent) or look at the daily
historical values over time.

If I am not able to do this I may have to put the ATC data into excel
and perform my calculations there.

MM

PS this is just one of many types of studies that I wish to perform
and will be the basis for how to do it.


--- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxx> wrote:
>
> marketmonk,
> 
> first question...How is your data setup ? are you scanning your
entire database...or is the data divided into separate watchlist ? 
> 
> Thanks
> Anthony
> 
> 
>   ----- Original Message ----- 
>   From: marketmonk777 
>   To: amibroker@xxxxxxxxxxxxxxx 
>   Sent: Tuesday, October 21, 2008 12:33 PM
>   Subject: [amibroker] Re: Running stats
> 
> 
>   That part I get, how do I add ATC1 through ATC10?
>   And then what do I do to create a new variable which holds the % of
>   stocks for each catagory?
> 
>   Like 4P = (ATC1) divided by (Total of ATCs)
> 
>   --- In amibroker@xxxxxxxxxxxxxxx, "Ara Kaloustian" <ara1@> wrote:
>   >
>   > 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@>
>   > To: <amibroker@xxxxxxxxxxxxxxx>
>   > Sent: Tuesday, October 21, 2008 12:42 AM
>   > Subject: [amibroker] Re: Running stats
>   > 
>   > 
> 
> 
> 
>    
> 
> 
>
------------------------------------------------------------------------------
> 
> 
> 
>   No virus found in this incoming message.
>   Checked by AVG - http://www.avg.com 
>   Version: 8.0.173 / Virus Database: 270.8.2/1735 - Release Date:
10/20/2008 2:52 PM
>



------------------------------------

**** 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/