OPEN-SOURCE SCRIPT
Updated

Updated Turtles

8 476
This script has been updated to prevent double orders (short/long) from occurring and modifying backtests results.

This is an update to the script that was written a few years ago to prevent double longs/shorts from occurring and skewin backtesting results. Check out the updated indicator here and let me know what you think.

I also added:

- date range inputs if you want to do some backtesting on a particular set of dates.
- the ability to toggle shorting
Release Notes
Update typo.
Release Notes
- Upgrade pinescript version to prevent repainting
- Update logic to prevent any double entries/double entry sizing

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.