OPEN-SOURCE SCRIPT
TTv Strategy v0.2

TTv Strategy v0.2 is a TensorTrader-compatible strategy adaptation based on the open-source Machine Learning: Lorentzian Classification indicator by jdehorty, originally published for Pine Script v5 and using jdehorty’s MLExtensions/2 and KernelFunctions/2 libraries.
The strategy adapts Lorentzian Classification-style long/short signal logic into TradingView strategy order events that can be backtested or routed through TensorTrader webhook automation. It supports fixed USD sizing, leverage-aware backtests, session/date filters, and optional TensorTrader-managed dynamic stop-loss / take-profit handling.
This script is intended for research, automation testing, and strategy development. Credit to jdehorty for the original open-source Lorentzian Classification work. This is not financial advice; users should test thoroughly and configure risk settings responsibly before using live alerts.
The strategy adapts Lorentzian Classification-style long/short signal logic into TradingView strategy order events that can be backtested or routed through TensorTrader webhook automation. It supports fixed USD sizing, leverage-aware backtests, session/date filters, and optional TensorTrader-managed dynamic stop-loss / take-profit handling.
This script is intended for research, automation testing, and strategy development. Credit to jdehorty for the original open-source Lorentzian Classification work. This is not financial advice; users should test thoroughly and configure risk settings responsibly before using live alerts.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.