OPEN-SOURCE SCRIPT

Regime-3TF_lane_status_and _connector_V1.4-MaazaCZ

384
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

免责声明

这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。