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

*****SPAM***** Re: [EquisMetaStock Group] Re: Find gradient of MA



PureBytes Links

Trading Reference Links

SPAM: -------------------- Start SpamAssassin results ----------------------
SPAM: This mail is probably spam.  The original message has been altered
SPAM: so you can recognise or block similar unwanted mail in future.
SPAM: See http://spamassassin.org/tag/ for more details.
SPAM: 
SPAM: Content analysis details:   (5.60 hits, 5 required)
SPAM: INVALID_DATE       (1.5 points)  Invalid Date: header (not RFC 2822)
SPAM: COMMENT            (0.8 points)  Found a Comment header
SPAM: TO_BE_REMOVED_REPLY (0.4 points)  BODY: Says: "to be removed, reply via email" or similar
SPAM: SPAM_PHRASE_05_08  (1.6 points)  BODY: Spam phrases score is 05 to 08 (medium)
SPAM:                    [score: 7]
SPAM: QUOTED_EMAIL_TEXT  (-0.8 points) BODY: Contains what looks like a quoted email text
SPAM: SUPERLONG_LINE     (0.0 points)  BODY: Contains a line >=199 characters long
SPAM: MAILTO_TO_SPAM_ADDR (0.7 points)  URI: Includes a link to a likely spammer email address
SPAM: FORGED_YAHOO_RCVD  (1.4 points)  'From' yahoo.com does not match 'Received' headers
SPAM: 
SPAM: -------------------- End of SpamAssassin results ---------------------

Jose,

The 52, 53, 54, ...99...or whatever  weeks problem for inactive or illiquid stocks is not actually a problem for me, because I
have learned (the hard way) about the difficulty with large bid / ask spreads (especially a problem with options), and so I filter out the illiquid / inactive stocks early in any selection process, although of course for many other people these may represent excellent trading opportunities.

Thanks for your reference to the URSC site. As I look through the URSC manual now, I can see implicitly the solution to my earlier series of
emails about how to get Favorites from an ASCII list. Thanks for the hint.

Cheers,
Tony

==============================

----- Original Message ----
From: Jose Silva <josesilva22@xxxxxxxxx>
To: equismetastock@xxxxxxxxxxxxxxx
Sent: Sunday, April 8, 2007 10:45:38 PM
Subject: [EquisMetaStock Group] Re: Find gradient of MA









  


    
            > 1 year (Nbars = 250 or 52 respectively)



>... you then have an EQUAL basis of comparison for ALL your potential

> trades, investments, etc, and even the 



In a perfect world where every stock trades in every single trading day of 

the year, this would be true.  Unfortunately 250 bars in one stock may 

take you back 52 weeks, whereas the same number of bars may be 54 weeks or 

so for another stock which may have been inactive for some of the time.  

This issue is a major headache for Relative Strength Comparative( RSC) 

studies, where the Index and security zero start points need to be 

synchronized for a valid comparison.



More on this issue here:

http://www.metastoc ktools.com/ URSC/URSC. htm



> Jose's Metastocktools site is great, it gave me lots of inspiration



And it gives me lots of perspiration. .. ;)



> (Still in Moscow, probably moving to Mumbai later this year)



Moscow to Mumbai - not far from each other on the alphabet, but quite a 

change of lifestyle I'd imagine.  I'd definitely leave the Cossack boots 

behind.  :)



jose '-)

http://www.metastoc ktools.com



--- In equismetastock@ yahoogroups. com, Tony M <t4tonym@xxx > wrote:

>

> Xuanling & other Metastock friends,

> 

> Jose's Metastocktools site is great, it gave me lots of inspiration, and 

I agree with Jose that the gradient depends on the X-axis timescale, 

"averaging interval", or "smoothing period" that is used. However, as a 

trader, investor and project manager, I have some slightly different ideas 

regarding objective measurements for gradient plots. Personally, I use the 

Annualized ROI% (annualized percentage Return on Investment)  concept, in 

which the percentage price change is converted to a common objective 

measure that can then be used for validly comparing all stocks, indices, 

futures, FX trades, project returns, etc.

> 

> "Annualized" ROI does NOT mean that you have to take the averaging 

period as a whole year, but rather that, whatever averaging period you 

take, the result is then converted to  what would be the  return that you 

would get, if  the price kept changing at that same  rate for a  whole 

year. 

> 

> Try this:

> MyPrice: = C;  {or use EMA, or zero-phased EMA, or whatever else you 

prefer}

> BarsPerYear: = 250; {use 250 here if daily, or use 52 if weekly data}

> Lag: = Nbars; {...use whatever you want here for your averaging 

interval. 

>                        Can be equal to a year, in which case use 250 for 

daily or 52 for weekly data,

>                        OR it can be as short as 1 (bar) , if you want to 

take "instantaneous" slope}. 

> 

> AnnualizedROIgradie nt:= 100 * (MyPrice/Ref( MyPrice,- Lag) -1) * 

BarsPerYear / Lag

> 

> This allows you to select whatever Lag (smoothing) interval you want, 

although the obvious candidates for stocks are: 

> 1 day (Nbars = 1 bar on daily charts. This is very noisy, but good to 

show extreme values), 

> 1 week (Nbars = 5 bars on daily charts, or 1 bar on weekly charts), 

> 1 month (Nbars = 21 or 4 respectively)

> 1 quarter (Nbars = 63 or 13 respectively)

> 1 year (Nbars = 250 or 52 respectively)

> 

> As Jose says, of course the results will differ depending on the 

timescale you look at, but that's true for most other indicators, and what 

you use really depends on the timescale that you are concerned about. The 

advantage of the annualized ROI concept for gradient is that, once you 

decide on the interval that you need to use, which should be consistent 

with your trading or investment timeframe, you then have an EQUAL basis of 

comparison for ALL your potential trades, investments, etc, and even the 

interest (if any) that is paid on your bank account.  :-)

> 

> Cheers,

> from Tony

> (Still in Moscow, probably moving to Mumbai later this year)

> 

> 

> ============ ========

> ----- Original Message ----

> From: Jose Silva <josesilva22@ ...>

> To: equismetastock@ yahoogroups. com

> Sent: Saturday, April 7, 2007 2:46:31 PM

> Subject: [EquisMetaStock Group] Re: Find gradient of MA

>     

> Xuanling, the gradient of any plot is always subjective - it depends on 

> the x-axis' (time/date) settings.  Apart from 0 degrees (flat), it is

> not possible to measure any plot gradient objectively.

> 

> Take a look at these indicators below from

> http://www.metastoc ktools.com/ #metastock :

> 

> EMA-slope - EMA synthetic slope indicator.

> 

> LinReg formulae - Linear Regression Indicator/Slope formulae.

> 

> LinReg Slope - Linear Regression synthetic slope, displays output in 

> 0~100% or 0~90 degrees.

>

> 

> jose '-)

> http://www.metastoc ktools.com

> 

> 

> 

> --- In equismetastock@ yahoogroups. com, "CXL2" <cxl2@> wrote:

> 

> Hi,

> 

> I will like to compute the gradient of Moving Average (or data array) 

> for a given period. Based on the gradient, I can know whether the 

> moving average is how steep or flat it is and its direction within a 

> given period. Is there anyway of doing so?

> 

> Thanks alot!

> 

> Xuanling





    
  

    
    




<!--

#ygrp-mlmsg {font-size:13px;font-family:arial, helvetica, clean, sans-serif;}
#ygrp-mlmsg table {font-size:inherit;font:100%;}
#ygrp-mlmsg select, input, textarea {font:99% arial, helvetica, clean, sans-serif;}
#ygrp-mlmsg pre, code {font:115% monospace;}
#ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family:Georgia;
}
#ygrp-text p{
margin:0 0 1em 0;}
#ygrp-tpmsgs{
font-family:Arial;
clear:both;}
#ygrp-vitnav{
padding-top:10px;font-family:Verdana;font-size:77%;margin:0;}
#ygrp-vitnav a{
padding:0 1px;}
#ygrp-actbar{
clear:both;margin:25px 0;white-space:nowrap;color:#666;text-align:right;}
#ygrp-actbar .left{
float:left;white-space:nowrap;}
.bld{font-weight:bold;}
#ygrp-grft{
font-family:Verdana;font-size:77%;padding:15px 0;}
#ygrp-ft{
font-family:verdana;font-size:77%;border-top:1px solid #666;
padding:5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom:10px;}

#ygrp-vital{
background-color:#e0ecee;margin-bottom:20px;padding:2px 0 8px 8px;}
#ygrp-vital #vithd{
font-size:77%;font-family:Verdana;font-weight:bold;color:#333;text-transform:uppercase;}
#ygrp-vital ul{
padding:0;margin:2px 0;}
#ygrp-vital ul li{
list-style-type:none;clear:both;border:1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight:bold;color:#ff7900;float:right;width:2em;text-align:right;padding-right:.5em;}
#ygrp-vital ul li .cat{
font-weight:bold;}
#ygrp-vital a {
text-decoration:none;}

#ygrp-vital a:hover{
text-decoration:underline;}

#ygrp-sponsor #hd{
color:#999;font-size:77%;}
#ygrp-sponsor #ov{
padding:6px 13px;background-color:#e0ecee;margin-bottom:20px;}
#ygrp-sponsor #ov ul{
padding:0 0 0 8px;margin:0;}
#ygrp-sponsor #ov li{
list-style-type:square;padding:6px 0;font-size:77%;}
#ygrp-sponsor #ov li a{
text-decoration:none;font-size:130%;}
#ygrp-sponsor #nc {
background-color:#eee;margin-bottom:20px;padding:0 8px;}
#ygrp-sponsor .ad{
padding:8px 0;}
#ygrp-sponsor .ad #hd1{
font-family:Arial;font-weight:bold;color:#628c2a;font-size:100%;line-height:122%;}
#ygrp-sponsor .ad a{
text-decoration:none;}
#ygrp-sponsor .ad a:hover{
text-decoration:underline;}
#ygrp-sponsor .ad p{
margin:0;}
o {font-size:0;}
.MsoNormal {
margin:0 0 0 0;}
#ygrp-text tt{
font-size:120%;}
blockquote{margin:0 0 0 4px;}
.replbq {margin:4;}
-->








       
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/equismetastock/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/equismetastock/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:equismetastock-digest@xxxxxxxxxxxxxxx 
    mailto:equismetastock-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    equismetastock-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/