OPEN-SOURCE SCRIPT
Luis channel


Luis Barlier Channel (LB Channel) – Technical Overview
1. Core Concept & Calculations
The LB Channel is a price envelope indicator that generates three lines based on a lookback period (default: 20 bars).
Key Innovation: Ignores wicks entirely, focusing only on candle bodies:
Body High (BH):
max(open, close)
max(open, close)
Body Low (BL):
min(open, close)
min(open, close)
Channel Lines:
Upper Bound:
Highest(BH,length)
Highest(BH,length)
Lower Bound:
Lowest(BL,length)
Lowest(BL,length)
Basis (Middle):
(Upper+Lower)/2
2. Visual & Functional Features
Dynamic S/R Zone: Blue boundaries act as support/resistance, updating only when new body highs/lows break prior extremes.
Value Area Fill: Light blue shading (90% transparency) highlights if price is "inside" or "outside" the recent range.
Offset Control: Shift entire channel forward/backward for cycle analysis.
3. The Problem It Solves: Wick Noise
Traditional channels (Donchian, Bollinger) react to volatility spikes:
Long wicks from news/liquidity hunts artificially widen ranges
Generate false breakouts
Distort "fair value"
LB Channel Solution: Filters noise by using only committed price action (body highs/lows), ignoring temporary spikes that lack follow-through.
Luis Barlier Channel (LB Channel) – Technical Overview
1. Core Concept & Calculations
The LB Channel is a price envelope indicator that generates three lines based on a lookback period (default: 20 bars).
Key Innovation: Ignores wicks entirely, focusing only on candle bodies:
Body High (BH):
max(open, close)
max(open, close)
Body Low (BL):
min(open, close)
min(open, close)
Channel Lines:
Upper Bound:
Highest(BH,length)
Highest(BH,length)
Lower Bound:
Lowest(BL,length)
Lowest(BL,length)
Basis (Middle):
(Upper+Lower)/2
2. Visual & Functional Features
Dynamic S/R Zone: Blue boundaries act as support/resistance, updating only when new body highs/lows break prior extremes.
Value Area Fill: Light blue shading (90% transparency) highlights if price is "inside" or "outside" the recent range.
Offset Control: Shift entire channel forward/backward for cycle analysis.
3. The Problem It Solves: Wick Noise
Traditional channels (Donchian, Bollinger) react to volatility spikes:
Long wicks from news/liquidity hunts artificially widen ranges
Generate false breakouts
Distort "fair value"
LB Channel Solution: Filters noise by using only committed price action (body highs/lows), ignoring temporary spikes that lack follow-through.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน