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

Re: [GT] Weekly MACD on newer symbol - how much price history required



Thanks Karsten.  That's what I expected (and appears to be the way
stockcharts.com calculates MACD), but there doesn't appear to be
enough data for GT MACD, yet there is enough data for stockcharts.com
MACD.

Regards,

Todd

On 3/18/08, kw <gt
AT
netsrak.net> wrote:
> From
>  @DEFAULT_ARGS = (12, 26, 9, "{I:Prices CLOSE}");
>
>  and
>  my $nb = $self->{'args'}->get_arg_values($calc, $i, 2);
>  $self->add_volatile_indicator_dependency( $self->{'first_ema'}, $nb);
>  $self->add_volatile_indicator_dependency( $self->{'second_ema'}, $nb);
>  $self->add_volatile_indicator_dependency( $self->{'third_ema'}, 1);
>
>  I assume one needs 26 historical values when running with default
>  arguments ... so 26 weeks for your setup
>
>  regards,
>
>  Karsten
>
>
>
>  On Tue, 2008-03-18 at 08:39 -0600, Todd Turner wrote:
>  > Hi All,
>  >
>  > Just getting started with GeniusTrader.  Some of the symbols I follow
>  > are fairly new (HED.TO), and I find that running MACD on the weekly
>  > timeframe results in no data for MACD.
>  >
>  > The MACD at stockcharts.com started showing MACD in december, and the
>  > signal line and histogram in feb.
>  >
>  > http://stockcharts.com/h-sc/ui?s=HED.TO&p=W&yr=2&mn=0&dy=0&id=p79037693320
>  >
>  > Does anyone know offhand how many samples are required before the GT
>  > MACD indicator starts returning a result?
>  >
>  > Thanks
>  >
>  > Todd
>
>