PROTECTED SOURCE SCRIPT
ATR Position Sizer

Found the substack from Ryan Wright (raen prop trading) which has amazing insights into the real prop trading world.
In his post Your Trading Edge Isn't Your Setup. It's Your Knowledge he shared a few interesting nuggets of knowledge.
Especially the part about Risk according to the 20-day ATR caught my eye, so i reconstructed a version of that formula directly for Tradingview. It works with ES (MES), NQ (MNQ), GC (MGC), YM and can be extended.
Additionally I implemented a function that tracks the chart ATR (automatically on the chosen time frame) on a defined period. This can of course be disable.
Hope it helps
In his post Your Trading Edge Isn't Your Setup. It's Your Knowledge he shared a few interesting nuggets of knowledge.
Especially the part about Risk according to the 20-day ATR caught my eye, so i reconstructed a version of that formula directly for Tradingview. It works with ES (MES), NQ (MNQ), GC (MGC), YM and can be extended.
Additionally I implemented a function that tracks the chart ATR (automatically on the chosen time frame) on a defined period. This can of course be disable.
Hope it helps
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์ที่ได้รับการป้องกัน
สคริปต์นี้ถูกเผยแพร่เป็นแบบ closed-source อย่างไรก็ตาม คุณสามารถใช้ได้อย่างอิสระและไม่มีข้อจำกัดใดๆ – เรียนรู้เพิ่มเติมได้ที่นี่
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน