Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update supertrend to match Tradinview indicator #655

Open
wants to merge 1 commit into
base: development
Choose a base branch
from

Conversation

egrafeuille
Copy link

Hi,
lowerband (lb) and upperband (ub) should be updated with previous value (if condition is met) despite change direction (dir_) occurs or not. This change match with supertrend TradingView indicator.

Hi,
lowerband (lb) and upperband (ub) should be updated with previous value (if condition is met) despite change direction (dir_) occurs or not.
This change match with supertrend TradingView indicator.
@twopirllc
Copy link
Owner

Thanks @egrafeuille!

I will check it out as soon as I can.

KJ

@GSLabIt
Copy link

GSLabIt commented Apr 13, 2024

any chance to merge this one?

@twopirllc
Copy link
Owner

Hello @GSLabIt,

Do not wait for me. Update your local code in the mean time with the code provided if it works for you.

In the long run, supertrend, qqe, et al that are computationally dense loops will be converted to numba to boost performance.

KJ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants