OPEN-SOURCE SCRIPT
Markov Chain [3D] | Fractalyst & SYNC & TRADE | Multi-Timeframe

English Version
Author Credit and Thanks:
This improved Pine Script code is based on the original work by @Fractalyst. Thank you, Fractalyst, for the foundational code and inspiration!
Key Improvements and Differences from Original:
Short-term Movement Inner Sphere: Added dynamic inner sphere animation representing short-term (14-bar) regime probabilities, pulsing when active. Original lacked multi-timeframe distinction; now visualizes both midterm (500-bar) outer sphere and short-term inner sphere.
Probabilities for Short-term and Midterm Movements: Calculated all transition and self-probabilities separately for short-term (14 bars) and midterm (500 bars) lookbacks. Labels show midterm % (short-term % in parentheses). Original used single lookback; now multi-timeframe with independent matrices.
Weights for Each Event: Introduced configurable weights (default 0.1 each) for up to 10 custom indicators in regime detection. Original had no weights; now allows balanced signal combination.
10 External Signals: Expanded to 10 custom input sources (ind1 to ind10) with individual bull/bear thresholds. Original supported 3; now more flexible for complex strategies.
Other differences: Separate matrices/state tracking for each timeframe; enhanced visuals with multi-timeframe offsets; regime detection unchanged but applied per timeframe.
Author Credit and Thanks:
This improved Pine Script code is based on the original work by @Fractalyst. Thank you, Fractalyst, for the foundational code and inspiration!
Key Improvements and Differences from Original:
Short-term Movement Inner Sphere: Added dynamic inner sphere animation representing short-term (14-bar) regime probabilities, pulsing when active. Original lacked multi-timeframe distinction; now visualizes both midterm (500-bar) outer sphere and short-term inner sphere.
Probabilities for Short-term and Midterm Movements: Calculated all transition and self-probabilities separately for short-term (14 bars) and midterm (500 bars) lookbacks. Labels show midterm % (short-term % in parentheses). Original used single lookback; now multi-timeframe with independent matrices.
Weights for Each Event: Introduced configurable weights (default 0.1 each) for up to 10 custom indicators in regime detection. Original had no weights; now allows balanced signal combination.
10 External Signals: Expanded to 10 custom input sources (ind1 to ind10) with individual bull/bear thresholds. Original supported 3; now more flexible for complex strategies.
Other differences: Separate matrices/state tracking for each timeframe; enhanced visuals with multi-timeframe offsets; regime detection unchanged but applied per timeframe.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
📊 SMART MONEY | PRICE ACTION | ICT
🎯 Авторские индикаторы
t.me/SyncAndTradeExperience
📑 Разбор сделок и анализ рынка:
t.me/SyncAndTrade
Donat
Сеть TRC20
TH4nMkQGoVMru55feDLG2spUYvPumabLLe
ByBit UID 133965006
🎯 Авторские индикаторы
t.me/SyncAndTradeExperience
📑 Разбор сделок и анализ рынка:
t.me/SyncAndTrade
Donat
Сеть TRC20
TH4nMkQGoVMru55feDLG2spUYvPumabLLe
ByBit UID 133965006
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
📊 SMART MONEY | PRICE ACTION | ICT
🎯 Авторские индикаторы
t.me/SyncAndTradeExperience
📑 Разбор сделок и анализ рынка:
t.me/SyncAndTrade
Donat
Сеть TRC20
TH4nMkQGoVMru55feDLG2spUYvPumabLLe
ByBit UID 133965006
🎯 Авторские индикаторы
t.me/SyncAndTradeExperience
📑 Разбор сделок и анализ рынка:
t.me/SyncAndTrade
Donat
Сеть TRC20
TH4nMkQGoVMru55feDLG2spUYvPumabLLe
ByBit UID 133965006
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.