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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。