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

Re: [system-traders] How to correctly use I:ADX with scan.pl?,



Hi Junmou,

> I have encounter the same problem as  Alexander 'Sascha' Henkel, the
> scan.pl does not work for the Signal "S:Generic:Above {I:ADX} 30", the
> return result is empty. Is anyone has the same problem as me, and how
> to solve this problem?

The problem you discovered is actualy a bug that is related to a 
topic (the 'func'-problem) that is discussed on the developers list 
at the moment. The ADX is a moving average on the dmi. The latter one 
is calculated on runtime but only for the one day you requested. Thus 
it is not possible to calculate the SMA for this day.

As this is a more general proble I don't have a good solution at the 
moment, but I think we'll solve this problem in the next weeks. 

A workaround for this bug is to use 

Siganls::Generic::Above {I:SMA 14 {I:ADX/4}}

instead of the ADX. This calculates the ADX "manually" - so you have 
not problems with the dependencies.

CU, Olf

---
Visit my world: http://www.olfsworld.de