PROTECTED SOURCE SCRIPT
Joseph's %ATR TRAIL STOP band CALC (LONGSHORT-Multitimeframe)

MTF ATR Trailing Stop (H1–H4–D): Levels & %Trail Guide
Overview
This indicator computes and plots ATR-based trailing stop levels from Hourly (H1), 4-Hour (H4), and Daily (D) timeframes simultaneously. It is multi-timeframe (MTF), so you get consistent levels regardless of the chart timeframe you use. For higher timeframes, calculations reference the most recent bar to account for different candle ranges.
What you get
Trailing stop lines for H1, H4, and D (ATR-based)
A summary table showing:
H1/H4/D ATR values
Suggested % trailing stop for brokers that support percentage trails
Initial stop-loss level based on the latest bar
Trailing distance (k × ATR) — in a format you can enter directly into your broker’s trailing stop panel
User-selectable ATR length and k multiplier for each timeframe
Recommended defaults
H1: ATR 14, k 2.0
H4: ATR 22, k 2.2
Daily: ATR 22, k 2.5
How to use
Add the indicator to your chart.
At entry, use the table to take the stop-loss and %Trail values and input them in your broker’s order ticket.
Adjust ATR length and k per timeframe to match your risk tolerance and asset characteristics.
Display tips
If lines do not align visually with candles, click the indicator’s three-dot menu → “Scale to Right.”
For the clearest levels, enable “Stepped Lines” in the style settings.
Disclaimer
This tool does not generate signals. It is intended for risk management and level reference. Not financial advice.
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน