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提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。