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

ATR not correct? #238

Open
Adam-Harte opened this issue May 31, 2021 · 1 comment
Open

ATR not correct? #238

Adam-Harte opened this issue May 31, 2021 · 1 comment

Comments

@Adam-Harte
Copy link

backtesting a trading strategy that uses the ATR for stop loss and take profit but the ATR seems way too high. Its being calculated in the thousands here but when I go to trading view/binance it is only in the hundreds.

@Adam-Harte
Copy link
Author

ok so think ive figured it out. If you are using something like the binance api you want to take the atr you get calculated here and multiply it by the tick size e.g. BTC tick size is 0.01 so a 1000 ATR from here multiplied by 0.01 BTC tick size gives you 10 which is the real ATR values you want to base your stop loss and take profits from

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

No branches or pull requests

1 participant