OPEN-SOURCE SCRIPT
Mid-Body 50% Candles – Support/Resistance with Confirmation

How it works:
– Calculates the mid-body (open+close)/2 of the previous candle.
– Bullish candle → potential SUP level.
– Bearish candle → potential RES level.
– Optional next-bar confirmation (close above/below the mid-body).
– Filters available: ATR size, swing detection, upper/lower wick %.
– Lines extend until broken or removed.
– Alerts available for: level creation, touch and break.
Use cases:
– Confirm candle rejections (pin bars).
– Filter false breakouts.
– Refine entries/exits for scalping or swing trading.
What makes it unique:
Unlike generic Fibonacci or candle tools, this script focuses exclusively on the 50% body level with confirmations and multiple filters, making it more precise for price action decision points.
– Calculates the mid-body (open+close)/2 of the previous candle.
– Bullish candle → potential SUP level.
– Bearish candle → potential RES level.
– Optional next-bar confirmation (close above/below the mid-body).
– Filters available: ATR size, swing detection, upper/lower wick %.
– Lines extend until broken or removed.
– Alerts available for: level creation, touch and break.
Use cases:
– Confirm candle rejections (pin bars).
– Filter false breakouts.
– Refine entries/exits for scalping or swing trading.
What makes it unique:
Unlike generic Fibonacci or candle tools, this script focuses exclusively on the 50% body level with confirmations and multiple filters, making it more precise for price action decision points.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้มันเป็นโอเพ่นซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันการทำงานของสคริปต์ได้ ขอแสดงความชื่นชมผู้เขียน! แม้ว่าคุณจะสามารถใช้งานได้ฟรี แต่อย่าลืมว่าการเผยแพร่โค้ดซ้ำนั้นจะต้องเป็นไปตามกฎระเบียบการใช้งานของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน