OPEN-SOURCE SCRIPT
ที่อัปเดต: ATR Multiples Plotted

Inspired by @jeffsuntrading and @Fred6724's ATR% multiple from 50-MA.
There are no catch-all values, however a high of 6 and a low of -4 generally has been valuable to me. I tend to look at the historical highs and lows of the indicator, and adjust the Value High and Value Low accordingly to get an idea when profit-taking may be sensible.
The essence is the difference between price and the selected moving average, measured in ATRs.
There are no catch-all values, however a high of 6 and a low of -4 generally has been valuable to me. I tend to look at the historical highs and lows of the indicator, and adjust the Value High and Value Low accordingly to get an idea when profit-taking may be sensible.
The essence is the difference between price and the selected moving average, measured in ATRs.
เอกสารเผยแพร่
Added custom ATR Lengthเอกสารเผยแพร่
Added optional 0-lineเอกสารเผยแพร่
Tidied and clarified some of the code.--Currently working on an 'Adaptive Mode', which will calculate and plot the upper and lower values based on the selected average's historical turning points
เอกสารเผยแพร่
Added quick reference table to show the dollar value of your chosen Value High and it's upside percentage. Comes in handy when scanning or evaluating Pre/Post-Market moves. See ATRx6 value and AMZN pre-market value of ~$170 on 02/02/2024 for example.
เอกสารเผยแพร่
Chartเอกสารเผยแพร่
Added option to allow percentage based calculations, which is how Jeff Sun's indicator is calculated. Some changes and clarification to the table, see the tooltips for guidance.
เอกสารเผยแพร่
Chart updateเอกสารเผยแพร่
Fixed typos in tableเอกสารเผยแพร่
Updated to Pine v6เอกสารเผยแพร่
Added Dynamic Mode, which you can enable from the indicator settings. It calculates the upper and lower thresholds based on the lookback value.By default, the lookback is set to 504 bars (roughly 2 years on a daily chart), and it uses the 95th and 5th percentiles. You can change both in the settings. If there’s not enough data to calculate them (like with recent IPOs), it’ll fall back to static values until the full lookback becomes available.
I haven’t nailed down the ideal lookback and percentile settings yet, so the defaults might not be super useful straight away.
Nothing has changed for the static mode. For price-based signals, I find 6 and -4 thresholds work best most of the time. For percentage-based, 9 and -3 seem reliable.
เอกสารเผยแพร่
Minor change to info in tableเอกสารเผยแพร่
Updated chartสคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน