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

RE: [GT] Problem with display_indicator/EMA/revision 599



João,
 
I do not see any problems in my installation. I do not have your EURUSD to try, but please see the run below using SPY.
 
There are many places where difficulties could come in. I am loading the data below from a text file. Maybe you are using a data base?
 
Please tell me how you get your data, or send me the data file, so I can try...
 
Thanks, Th.
 
547 % ./display_indicator.pl I:EMA SPY 20
Calculating indicator EMA[20, {I:Prices CLOSE}] ...
EMA[20, {I:Prices CLOSE}][2006-07-24] = 121.6165
EMA[20, {I:Prices CLOSE}][2006-07-25] = 121.7102
EMA[20, {I:Prices CLOSE}][2006-07-26] = 121.8102
....
EMA[20, {I:Prices CLOSE}][2008-07-15] = 127.6092
EMA[20, {I:Prices CLOSE}][2008-07-16] = 127.2616
EMA[20, {I:Prices CLOSE}][2008-07-17] = 127.0653
EMA[20, {I:Prices CLOSE}][2008-07-18] = 126.9619
548 % 

________________________________

From: João Costa [mailto:joaocosta
AT
zonalivre.org]
Sent: Fri 7/25/2008 5:35 AM
To: devel
AT
geniustrader.org
Subject: [GT] Problem with display_indicator/EMA/revision 599



There is something wrong somewhere, and it seems to have happened in
revision 599.

If I do:

svn co --revision 598 https://devel.geniustrader.org:8082/svn/trunk/GT
svn co --revision 598 https://devel.geniustrader.org:8082/svn/trunk/Scripts

And then run:

display_indicator.pl I:EMA EURUSD 20

it works fine. But I can't get it to work with newer revisions.

>From revision 599 onwards, the above display_indicator call returns no
data. This does not happen with all indicators, apparently only with
EMA and others which depend on EMA like MACD.

Revision 599 has the following log entry:
------------------------------------------------------------------------
r599 | thomas | 2008-04-14 01:02:32 +0100 (Mon, 14 Apr 2008) | 1 line

Change all scripts to use consistent options for periods.
------------------------------------------------------------------------


Thomas, if you have an idea of what might cause this, that would save
me debugging time.


We need unit tests to catch these things as soon as possible, and I'll
start creating them when i get a chance.  Actually some of it was
started a long time ago i think, but haven't had a look at it before.


<<winmail.dat>>