OPEN-SOURCE SCRIPT
Regime-3TF_lane_status_and _connector_V1.4-MaazaCZ

Following script shows status of market on 1D, 4H and 15m independently of your opened TF. So you can easilly read market when you campare it with your strategy. I hope it can help someone :-) If you want to thanks me, I am looking for real working strategies.
Dashboard toggle – Settings → Display:
Show Regime Dashboard – on/off infotable
Show Regime Flags – on/off flags when regime change
External Connector – 6 hidden plots:
Plot
Dominant Regime 1D 0–8dominant regime on 1D[OUT]
Dominant Regime 4H 0–8dominant regime on 4H[OUT]
Dominant Regime 15m 0–8dominant regime on 15m[OUT]
Prob 1D %0–100j regime strenght[OUT]
Prob 4H %0–100 regime strenght[OUT]
Prob 15m %0–100 regime strenght[OUT]
How to connect to external:
pine
//add to your strategy:
dom1 = request.security("BTCUSDT", timeframe.period,
plot_0) // Dominant Regime 1D (0=BULL, 1=BEAR, 2=RANGE...)
prob1 = request.security("BTCUSDT", timeframe.period,
plot_3) // probability 1D regime in %
// Example:
if dom1 == 0 and prob1 > 60 // BULL with >60% probabiílity
strategy.entry("Long", strategy.long)
//regime list number 0-8 corresponding dashboard list
Dashboard toggle – Settings → Display:
Show Regime Dashboard – on/off infotable
Show Regime Flags – on/off flags when regime change
External Connector – 6 hidden plots:
Plot
Dominant Regime 1D 0–8dominant regime on 1D[OUT]
Dominant Regime 4H 0–8dominant regime on 4H[OUT]
Dominant Regime 15m 0–8dominant regime on 15m[OUT]
Prob 1D %0–100j regime strenght[OUT]
Prob 4H %0–100 regime strenght[OUT]
Prob 15m %0–100 regime strenght[OUT]
How to connect to external:
pine
//add to your strategy:
dom1 = request.security("BTCUSDT", timeframe.period,
plot_0) // Dominant Regime 1D (0=BULL, 1=BEAR, 2=RANGE...)
prob1 = request.security("BTCUSDT", timeframe.period,
plot_3) // probability 1D regime in %
// Example:
if dom1 == 0 and prob1 > 60 // BULL with >60% probabiílity
strategy.entry("Long", strategy.long)
//regime list number 0-8 corresponding dashboard list
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט קוד פתוח
ברוח האמיתית של TradingView, יוצר הסקריפט הזה הפך אותו לקוד פתוח, כך שסוחרים יוכלו לעיין בו ולאמת את פעולתו. כל הכבוד למחבר! אמנם ניתן להשתמש בו בחינם, אך זכור כי פרסום חוזר של הקוד כפוף ל־כללי הבית שלנו.
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.