Giter Site home page Giter Site logo

Comments (7)

arbitrage-technology avatar arbitrage-technology commented on July 17, 2024 1

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.

AGG2017 avatar AGG2017 commented on July 17, 2024

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.

AGG2017 avatar AGG2017 commented on July 17, 2024

@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.

arbitrage-technology avatar arbitrage-technology commented on July 17, 2024

from finta.

AGG2017 avatar AGG2017 commented on July 17, 2024

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.

verdaguer70 avatar verdaguer70 commented on July 17, 2024

I have done this :D 💯
image

from finta.

p-lorenzo avatar p-lorenzo commented on July 17, 2024

I have done this :D 💯 image

How did you manage to replicate the tradingview sqz? could you provide the code?

from finta.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.