timchep

Updated Turtles

timchep Updated   
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
Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?