Giter Site home page Giter Site logo

Laguerre RSI wrong computation about technical HOT 3 CLOSED

rd-mg avatar rd-mg commented on July 16, 2024
Laguerre RSI wrong computation

from technical.

Comments (3)

rd-mg avatar rd-mg commented on July 16, 2024 1

It was certainly a bit rash of me to make such a vague comparison, I'll do a little more digging on it and come back if necessary with some feedback. Thanks for your reply

from technical.

xmatthias avatar xmatthias commented on July 16, 2024

Using a random, custom indicator from tradingview and claiming that "library X is not aligned to that" is a dangerous approach.

The implementation here aims to mirror the original paper (from John Ehlers - which also has the link in the sourcecode as this: http://www.davenewberg.com/Trading/TS_Code/Ehlers_Indicators/Laguerre_RSI.html), which at a first glance, it seems to do.

the tradingview calculation for CU and CD seems to ... quite loosely interpret this (starting from the fact that the comparisons are >, not >=).

from technical.

rd-mg avatar rd-mg commented on July 16, 2024

I sent the original EHLERS code to Pine Script, certainly, this is good but the default alpha 0.75 doesn't work for me. Alpha = 0.2 has the same result as the popular LRSI I find in TradingView and it has (for me) a better sensitivity to price changes.

I left the comment and images here only for reference maybe someone finds the same situation in the future

I close this issue, thank you @xmatthias

Alpha = 0.2

image

Alpha = 0.75

image

from technical.

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.