techietrader / trading-indicators-and-chart-patterns Goto Github PK
View Code? Open in Web Editor NEWATR, SuperTrend, Heiken Ashi, Renko
License: GNU General Public License v3.0
ATR, SuperTrend, Heiken Ashi, Renko
License: GNU General Public License v3.0
The HA Candles on the chart provided by Trading View or any other brokers is different than the one got from your module.
How do you calculate the First HA Candle since there is no previous HA Candle ? What is the value of Open and Close of previous candle do you consider?
Hi,
i am seeing error as below,
This error i am seeing after adapting the dataframe for my stocks (15mins)
any idea where i am going wrong?
Traceback (most recent call last):
File "renko.py", line 166, in
renkoData[stock]['BrickSize']=round(data[stock]['ATR'][-1],2) #This can be set manually as well!
File "/usr/local/lib/python3.5/dist-packages/pandas/core/series.py", line 767, in getitem
result = self.index.get_value(self, key)
File "/usr/local/lib/python3.5/dist-packages/pandas/core/indexes/base.py", line 3118, in get_value
tz=getattr(series.dtype, 'tz', None))
File "pandas/_libs/index.pyx", line 106, in pandas._libs.index.IndexEngine.get_value
File "pandas/_libs/index.pyx", line 114, in pandas._libs.index.IndexEngine.get_value
File "pandas/_libs/index.pyx", line 162, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 958, in pandas._libs.hashtable.Int64HashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 964, in pandas._libs.hashtable.Int64HashTable.get_item
KeyError: -1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.