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.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.