Alexander Trufanov
Alexander Trufanov
``` >>> import talib >>> talib.__ta_version__ b'0.6.0-dev (Jun 3 2022 00:21:00)' ``` Aren't you gettig 80 in results with my code sample?
Yeah, now I could reproduce your problem and you're right - I'm using an other than official realize zip sources of ta-lib. The version that acts like you described is...
I was able to compile the sources on Linux without a problem: ``` svn checkout https://svn.code.sf.net/p/ta-lib/code/trunk ta-lib-code cd ta-lib-code/ta-lib/ mkdir build cd build/ cmake .. make -j4 ``` Are you...
It seems makefiles in `cdr\win32\msvc\ta_libc\` and `cdr\win32\msvc\ta_func\` folders are missing references to `..\..\..\..\..\src\ta_func\ta_IMI.c` and `..\..\..\..\..\src\ta_func\ta_AVGDEV.c`. And makefile in `cdr\win32\msvc\ta_regtest\` is missing references to `..\..\..\..\..\src\tools\ta_regtest\ta_test_func\test_imi.c` and `..\..\..\..\..\src\tools\ta_regtest\ta_test_func\test_avgdev.c` Use the attached makefiles...
Could you provide a direct links to the code lines you are comparing?
This is ADX code from TA-Lib C library, which is under the hood of this python wrapper: https://github.com/TA-Lib/ta-lib/blob/master/src/ta_func/ta_ADX.c#L414 It contains: ``` prevMinusDM -= prevMinusDM/optInTimePeriod; prevPlusDM -= prevPlusDM/optInTimePeriod; ``` > All...
I'm running: >import talib import numpy as np h = np.array([146.59,145.74,145.7,145.47,145.12,145.26,145.27,145.25,145.01,145.13]); l = np.array([145.85,145.53,145.4,145.0,144.92,145.0,145.12,144.91,144.92,144.93]); c = np.array([146.2,145.58,145.47,145.12,145.03,145.11,145.25,144.98,144.98,145.1]); talib.ADX(h, l, c, timeperiod=4) And getting ``` array([ nan, nan, nan, nan, nan,...
Ок, so we discussing DX. Could you show how your DX is calculated?
I don't know Typescript.... Could you veify your `tRange()`? The TA-Lib's implementation (particularly used in DX) is: ``` #define TRUE_RANGE(TH,TL,YC,OUT) {\ OUT = TH-TL; \ tempReal2 = std_fabs(TH-YC); \ if(...
I've successfully installed talibjs with: `npm install talib.ts@latest --S` But then ``` $ nodejs Welcome to Node.js v12.22.9. Type ".help" for more information. > import { TALib } from 'talibjs';...