Comments (7)
squizz indicator has nothing to do with a linear regression.. it just tells you, if BB is contained inside KC bands...if this is the case, its a calm moment, ready for the the next squizz....
from finta.
This type of linear regression will be a bit challenging but recently I found another implementation with numpy polyfit that claimed to produce the same results as linreg in TradingView. I cannot remember where it was but try to search for "python, polyfit, linreg, tradingview" and you will find it. In fact in TradingView this function is a rolling linear regression which is not linear at all.
from finta.
@arbitrage-technology Just to tell you if BB is inside KC is only one part of the indicator at TV. It also try to show you the level of the current momentum in order to enter on the right side of the trend as well as to exit when the momentum starts to decrease. The momentum can be implemented in many ways but LazyBear decided to use the rolling linear regression function available at TV to calculate the momentum and to show it as a histogram. This is somehow tricky because sometimes the moment of squeeze release is at the wrong side of the shown momentum. The missing part are the Waves A, B and C which are the part of the whole story well described by its creator John F. Carter.
from finta.
from finta.
The book "Mastering the Trade" by John Carter is a one that must be read in order to understand many important details how to successfuly use this indicator.
All the elements of this indicator are freely available and even done in python. Just need to be assembled. I'm trying to complete the implementation for the Waves A, B and C to have everything together. But there is always something more important to be done before that.
from finta.
from finta.
How did you manage to replicate the tradingview sqz? could you provide the code?
from finta.
Related Issues (20)
- IndexError: list index out of range TWICE HOT 2
- Feature Request, Implementation of Chart Pattern Detection
- RSI does not observe higher values for period correctly
- AttributeError: type object 'TA' has no attribute 'EVSTC' HOT 7
- KAMA classmethod - Need to handle Efficiency Ratio calculation when volatility is zero HOT 1
- error in example HOT 2
- Feature request: Bayesian-BBSMA-Oscillator
- Feature request: Normalized Quantitative Qualitative Estimation nQQE
- Candle and Response Order
- PSAR has a side effect HOT 2
- Set up automatic code-coverage reporting
- Williams Fractal Backtesting
- fhisher trigger line
- Chandelier Correct?
- VAMA Issues?
- Suggestion, BBands MA argument should be enforced to be a supported type (Series or None)
- implementing MAMA indicator
- SSMA and SMMA are the same function
- Please update your license in pypi.org to LGPL-3.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from finta.