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

[EquisMetaStock Group] Re: Find gradient of MA



PureBytes Links

Trading Reference Links

Hi,
I have checked out Jose MetaStock website :)
Really good reference for a rookie like me.
Thanks for advice

Xuanling



--- In equismetastock@xxxxxxxxxxxxxxx, 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}. 
> 
> AnnualizedROIgradient:= 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@xxx>
> To: equismetastock@xxxxxxxxxxxxxxx
> 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;}
> -->
> 
> 
> 
> 
> 
> 
> 
> 
>  
> 
______________________________________________________________________
______________
> 8:00? 8:25? 8:40? Find a flick in no time 
> with the Yahoo! Search movie showtime shortcut.
> http://tools.search.yahoo.com/shortcuts/#news
> 
> [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/