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

fix: BotTabIndex high/low #235

Merged
merged 1 commit into from
Aug 25, 2021
Merged

Conversation

achicha
Copy link
Contributor

@achicha achicha commented Aug 23, 2021

старая проблема https://o-s-a.net/forum/threads/191
суть которой в том, что неправильно определяются high/low свечи, особенно это заметно на отрицательных значениях индекса, и как следствие, неверно будут строится индикаторы ( такие как ATR например).

решение простое: надо выбирать из четырех значений. _high= max(o,h,l,c) ; low= min(o,h,l,c)

@AlexWan AlexWan merged commit ed90465 into AlexWan:master Aug 25, 2021
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.

2 participants