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 อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน