Questions tagged [ta-lib]

TA-Lib : Technical Analysis Library. It is widely used by trading software developers requiring to perform technical analysis of financial market data. Includes 200 indicators such as ADX, MACD, RSI, Stochastic, Bollinger Bands and Candlestick pattern recognition. It's an open-source API for C/C++, Java, Perl, Python, PHP and 100% Managed .NET.

286 questions
0
votes
0 answers

Does anyone have a working slow stochastic implementation in python?

I am using 1 second delayed data on the eur/usd to try and get a working slow stochastic indicator. Nothing seems to work, I have tried implementing the formula: %K = (Current Close - Lowest Low)/(Highest High - Lowest Low) * 100: K1 = (high - low)…
namor
  • 97
  • 1
  • 3
  • 11
0
votes
1 answer

Highest high for a specific time span

How can I get the highest high for a specific time span, e.g. from 08:00 - 10:00 am using a pyalogtrade or ta-lib indicator. Of course I could write two if statements to check the time on the current bar, but I thought there must be a more elegant…
Fari
  • 86
  • 4
0
votes
0 answers

Python 2.7.11 Pip 8.0.3 can't install gohike WHL of TA-Lib 0.4.9

A random pip update of numpy caused other modules(pandas) to 'break' and further updates(distutils,setuptools) I think broke pip somehow. I deleted pip and all python's and directories and reinstalled python. 'pip install module' works and numpy…
puzzler
  • 343
  • 4
  • 14
0
votes
0 answers

Calculating the +DI and -DI values

I'm trying to calculate the +DI and -DI values (period 28) using the TA-lib library. The values I am getting are not similar to the values on my charting platform. Please find my code below and let me know if I'm missing anything. Also, the ADX…
0
votes
0 answers

Meteorjs with ta-lib npm module (server side)

I would like to use npm talib module within a meteorjs application.I followed the instruction here and I added this to the packages.json file: { "talib" : "0.6.0" } After running meteor the module talib.node is there in the…
Stefano Piovesan
  • 1,185
  • 3
  • 19
  • 37
0
votes
1 answer

Example usage of TA-LIB trader_sma function?

I just installed TA-Lib / trader into my php installation and it's good to go. My PHP isn't great and even with the trader documentation I just need a bit of guidance. I want to load an array of values from my database and send them into…
user3515232
  • 133
  • 2
  • 12
0
votes
1 answer

DEMA & TEMA Ta-lib Java Implementation

I am currently working with Ta-lib Java implementations. I can run properly MA & SUM. But having problem while try to run DEMA, TEMA. The output is all zeros. I am calling the DEMA & TEMA method of Ta-lib as follows import…
-1
votes
1 answer

The TA-Lib and IQoptionapi is Not Working

i am making a bot using TA-Lib and iqoptionapi by following This Tutorial. I follow everything he did but when i run the python code it gives me this error: Traceback (most recent call last): File "c:\Users\%USERNAME%\Desktop\for Test Python\Test…
-1
votes
2 answers

unable to import TA-Lib python

I've a problem regarding the installation of TA-Lib, I've followed both the documentation and this tutorial (https://blog.quantinsti.com/install-ta-lib-python/) but both don't seem to work. The module is present but when I try to check in vscode if…
Pogus
  • 17
  • 7
-1
votes
1 answer

hello,any advice for adding TA-Lib

When trying to use a cmd in visual studio code Version: 1.53.2 (user setup) Chrome: 87.0.4280.141 Node.js: 12.18.3 OS: Windows_NT x64 10.0.19041 Python version 3.9.2.. This is my error, I have been at stand still for a day..pls help, Thanks…
-1
votes
1 answer

how can i call talib macd in c++?

i can use talib MACD function correctly in python, but it failed in c++. talib is easy to use in python, i can use it as: MACD(close, 12, 26,9) # close is a pandas series but when i use it in c++, it confuses me about the params. I have a function…
xyhuang
  • 414
  • 3
  • 11
-1
votes
1 answer

Unable to return a specific output from multiprocessing pool

I am trying to use the python multiprocessing library to call a function (calc_indicator) that takes an array of string names of technical indicators that are in the ta-lib and then call another function(technical_indicators) to calculate the values…
-1
votes
1 answer

How to convert a list of closing price data to RSI Value using Ta-LIB Python library?

Let us just say I have a list of closing price data for an asset: priceList = [3,1,2,1,2,1,2,1,2,1,2] How do I get the RSI value for the last closing price of priceList? Currently, I am having this code: import talib import numpy priceList =…
user11004931
-1
votes
1 answer

Calculate column in Pandas Dataframe using adjacent rows without iterating through each row

I would like to see if there is a way to calculate a column in a dataframe that uses something similar to a moving average without iterating through each row. Current working code: def create_candles(ticks, instrument, time_slice): candlesticks…
-1
votes
1 answer

How to report bugs for TA-Lib?

I found the algorithm of SAR is incorrect: the value maybe in the range of High and Low, there is no email or forum(Sorry, SMF was unable to connect to the database. This may be caused by the server being busy. Please try again later.) to report it.…
acrazing
  • 1,955
  • 16
  • 24
1 2 3
19
20