อินดิเคเตอร์สำหรับ TradingViewTradingView indicator

Session Initial Balance v1.1.0

Initial Balance (IB) คือกรอบ High–Low ของช่วงแรกของ session อินดิเคเตอร์นี้วาด IB ได้สูงสุดสามช่อง แต่ละช่องมีช่วงเวลาและเขตเวลาของตัวเอง ค่าเริ่มต้นคือ London และ New York (Asia ปิดไว้) IB ของแต่ละช่องเริ่มที่แท่งแรกของ session และใช้ราคาในชั่วโมงแรก (IB Duration 60 นาที) วาดเป็นกล่องตามช่วง IB แล้วลากระดับ High, Mid และ Low ต่อไปทางขวา (Design แบบ Line) เปิด IBR Extensions เพื่อดูระดับที่ห่างจากกรอบเป็นสัดส่วนของความกว้าง IB อินดิเคเตอร์บอกว่าราคาอยู่ตรงไหนเทียบกับกรอบเปิดของแต่ละ session ส่วนการตัดสินใจเทรดเป็นของคุณ กราฟทุกอันในหน้านี้เป็นกราฟจริงที่กดได้ กด ตั้งค่า เพื่อเปิดแผงตั้งค่าแบบเดียวกับบน TradingView ข้างกราฟThe Initial Balance (IB) is the high–low range of a session's first stretch. This indicator draws up to three of them, each slot with its own window and timezone; London and New York by default (Asia is off). Each slot's IB starts on the session's first bar and takes the first hour (IB Duration 60 minutes); it is drawn as a box over the IB, then its High, Mid and Low are carried to the right (Line design). Switch on IBR Extensions for levels set off the range by a share of its width. The indicator shows where price stands against each session's opening range; the trade itself is yours. Every chart on this page is live: press Settings to open the same settings you have on TradingView beside the chart.

สาม sessionThe three sessionsสามช่องของ IB ช่วงเวลา เขตเวลา และ IB Duration ของแต่ละช่องThe three IB slots: each one's window, timezone and IB DurationSession ModeSession Modeเก็บ IB ทุกวัน เก็บแค่ล่าสุดของแต่ละช่อง หรือแสดงเฉพาะ session ที่กำลังเปิดEvery day's IB, each slot's latest only, or just the session that is openBox หรือ LineBox or Lineกล่องที่ยืดตามราคา หรือกล่องช่วง IB กับระดับ High, Mid, Low ที่ลากต่อA box that stretches with price, or the IB box plus carried High, Mid and Low levelsป้ายLabelsป้ายชื่อในกล่อง และป้ายของระดับ High, Mid, LowThe name in the box, and the High, Mid and Low tagsIBR Extensionsระดับเหนือและใต้กรอบ ห่างเป็นสัดส่วนของความกว้าง IBLevels above and below the range, set off by a share of the IB's widthAlertsalert เมื่อราคาปิดเบรก IB ของ session ข้อความ และการพร้อมใหม่An alert when price closes beyond a session IB: the message and the re-armการตั้งค่าทั้งหมดAll settings49 ช่อง เรียงแบบ TradingView49 inputs in TradingView’s order

ส่วนที่ 1Part 1

สาม sessionThe three sessions

1โมดูลนี้คืออะไรWhat it is

อินดิเคเตอร์มี IB สามช่อง แต่ละช่องตั้งชื่อ สี ช่วงเวลา และเขตเวลาเองได้ ค่าเริ่มต้นคือ Asia 09:00–15:00 เวลาโตเกียว (07:00–13:00 เวลาไทย) ปิดไว้, London 08:00–16:30 เวลาลอนดอน (15:00–23:30 เวลาไทย และ 14:00–22:30 ช่วงเวลาออมแสงของอังกฤษ) และ NY 09:30–16:00 เวลานิวยอร์ก (21:30–04:00 เวลาไทย และ 20:30–03:00 ช่วงเวลาออมแสงของสหรัฐฯ) ช่วงเวลาอ่านในเขตเวลาของแต่ละช่อง เวลาไทยจึงเลื่อนตามเวลาออมแสงเองThere are three IB slots, each with its own name, colour, window and timezone. By default: Asia 09:00–15:00 Tokyo time (07:00–13:00 Bangkok), off; London 08:00–16:30 London time (15:00–23:30 Bangkok, 14:00–22:30 during UK summer time); and NY 09:30–16:00 New York time (21:30–04:00 Bangkok, 20:30–03:00 during US daylight saving). Each window is read in its slot's timezone, so the Bangkok times follow daylight saving on their own.

IB ของแต่ละช่องเริ่มที่แท่งแรกที่เวลาเปิดอยู่ในช่วงเวลาของช่องนั้น แล้วเก็บ High และ Low ของทุกแท่งที่เปิดภายใน IB Duration (ค่าเริ่มต้น 60 นาที) นับจากแท่งแรกนั้น เมื่อครบเวลา กรอบก็ตายตัว ทั้งสามช่องแยกกันทั้งหมด แต่ละช่องมีกรอบ เส้น และ alert ของตัวเอง การ์ดนี้เปิดทั้งสามช่องและตั้ง Session Mode เป็น All Sessions ให้เห็น IB ของทุกวันEach slot's IB starts on the first bar whose open falls inside its window, then takes the High and Low of every bar that opens within IB Duration (60 minutes by default) of that first bar. When the time is up, the range is fixed. The three slots are fully independent: each has its own range, drawings and alert. This card has all three on and Session Mode set to All Sessions, so every day's IB shows.

2อ่านบนกราฟยังไงReading it on the chart

  • กล่องสีน้ำเงิน คือ IB ของ NY กว้างเท่าชั่วโมงแรกของ session สูงจาก Low ถึง High ของชั่วโมงนั้นThe blue box is NY's IB: as wide as the session's first hour, from that hour's Low to its High.
  • กล่องสีเขียวอมฟ้า คือ IB ของ LondonThe teal box is London's IB.
  • กล่องสีส้ม คือ IB ของ Asia ปิดไว้ตามค่าเริ่มต้น (การ์ดนี้เปิด)The orange box is Asia's IB, off by default (on for this card).
  • เส้นที่ลากต่อจากกล่อง คือ High, Mid และ Low ของ IB พร้อมป้าย เช่น NY IB High อธิบายในส่วน Box หรือ LineThe lines carried on from a box are the IB's High, Mid and Low, tagged e.g. NY IB High; see Box or Line.

3ปรับแล้วได้อะไรWhat each setting changes

เรียงตามหน้าตั้งค่าบน TradingView ปุ่มสีทองในแต่ละข้อจะเปลี่ยนค่าบนกราฟด้านบนให้ดูทันทีIn the order TradingView lists them. The gold buttons change the chart above so you can see the effect.

Modulesสวิตช์หลักMaster switch2
Initial Balance · Session IB 3หนึ่งช่อง (ช่อง 1 และ 2 ใช้ชุดเดียวกัน)One slot (slots 1 and 2 have the same set)4

4ทดลองปรับค่าเองTry it

  1. IB ที่ยาวขึ้นA longer IB

    ตั้ง IB Duration ของ NY เป็น 120 นาที กรอบกว้างขึ้นและมักสูงขึ้น เพราะเก็บราคาได้นานขึ้นSet NY's IB Duration to 120 minutes: the box gets wider, and usually taller, since it takes in more trading.

  2. ช่องเดียวOne slot

    ปิด Asia กับ London เหลือ NY ช่องเดียวSwitch Asia and London off and keep NY alone.

5จุดที่มักเข้าใจผิดCommon pitfalls

  • เวลาไทยเลื่อนตามเวลาออมแสงBangkok times shift with daylight saving

    London และ New York มีเวลาออมแสง ช่วงของ session ในเวลาไทยจึงเลื่อนหนึ่งชั่วโมงสองครั้งต่อปี IB เลื่อนตามเองเพราะช่วงเวลาอ่านในเขตเวลาของช่องนั้นLondon and New York keep daylight saving, so in Bangkok time their windows move by an hour twice a year. The IB follows on its own, since each window is read in its slot's timezone.

  • แท่งแรกคือแท่งที่เปิดในช่วงเวลาThe first bar is the one that opens inside the window

    บนกราฟ 1 ชั่วโมง แท่ง 09:00 ของนิวยอร์กเปิดก่อน 09:30 จึงไม่นับ IB ของ NY เริ่มที่แท่ง 10:00 และกรอบอาจต่างจากที่เห็นบนกราฟ 5 นาที ใช้ไทม์เฟรมที่หาร 30 นาทีลงตัวเพื่อให้แท่งแรกตรงกับเวลาเปิดOn a 1-hour chart New York's 09:00 bar opens before 09:30 and does not count; NY's IB starts on the 10:00 bar, and its range can differ from the one on a 5-minute chart. Use a timeframe that divides 30 minutes for the first bar to sit on the open.

  • IB สั้นกว่าแท่งAn IB shorter than a bar

    ถ้า IB Duration สั้นกว่าไทม์เฟรมของกราฟ กรอบคือแท่งแรกทั้งแท่ง เช่น IB 30 นาทีบนกราฟ 1 ชั่วโมงก็คือ High–Low ของทั้งชั่วโมงนั้นWith IB Duration shorter than the chart's timeframe the range is the whole first bar: a 30-minute IB on a 1-hour chart is that whole hour's High–Low.

ส่วนที่ 2Part 2

Session Mode

1โมดูลนี้คืออะไรWhat it is

Session Mode เลือกว่ากราฟเก็บ IB ไว้แค่ไหน All Sessions ทุกช่องที่เปิดเก็บ IB ทุกวัน ประวัติสะสมไปเรื่อยๆ Current Session แต่ละช่องเก็บแค่ IB ล่าสุด IB เดิมของช่องหายตอนช่วงเวลาของช่องนั้นเปิดรอบใหม่ ช่องอื่นไม่เกี่ยว จึงมีไม่เกินสาม IB บนกราฟ Active Only (ค่าเริ่มต้น) IB ของช่องอยู่ระหว่างที่ช่วงเวลาของช่องเปิด เมื่อปิด ถ้ามีอีกช่องกำลังเปิดอยู่ IB นั้นหายทันที (London ปิดตอน NY ยังเปิด) ถ้าไม่มีช่องไหนเปิด IB นั้นค้างไว้จนกว่าช่องถัดไปจะเปิด ระหว่างสอง session จึงยังเห็น IB ล่าสุดเสมอSession Mode decides how many IBs the chart keeps. All Sessions: every enabled slot keeps every day's IB, and the history builds up. Current Session: each slot keeps only its latest IB; the old one goes when that slot's window opens again, and the other slots are left alone, so there are at most three. Active Only (default): a slot's IB lives while its window is open. When it closes, it goes at once if another slot is live (London closing into NY); if none is, it stays frozen until the next slot opens, so between sessions the latest IB is still on screen.

กราฟตัวอย่างจบที่ 11:35 เวลาไทย ระหว่าง session ของ Asia การ์ดนี้เปิด Asia ไว้ ในโหมด Active Only จึงเหลือ IB ของ Asia อันเดียว ปิด Asia แล้ว IB ล่าสุดของ NY ที่ค้างอยู่ตั้งแต่ปิดตอน 04:00 จะกลับมา ซึ่งเป็นภาพตามค่าเริ่มต้นThe demo chart ends at 11:35 Bangkok time, inside Asia's session. This card has Asia on, so Active Only leaves Asia's IB alone. Switch Asia off and NY's latest IB, frozen since its 04:00 close, comes back: the default view.

2อ่านบนกราฟยังไงReading it on the chart

  • Active Only เห็นเฉพาะ IB ของ session ที่กำลังเปิด หรือ IB ล่าสุดเมื่อยังไม่มี session ไหนเปิดActive Only: only the open session's IB, or the latest one while no session is open.
  • Current Session เห็น IB ล่าสุดของทุกช่องที่เปิดพร้อมกัน วันละหนึ่งต่อช่องCurrent Session: every enabled slot's latest IB together, one per slot.
  • All Sessions เห็น IB ทุกวันของทุกช่อง ในแบบ Line ระดับของ IB เก่าหยุดเมื่อ IB ถัดไปของช่องเดียวกันก่อตัวเสร็จAll Sessions: every day's IB of every slot. In Line design an older IB's levels stop when the slot's next IB is complete.

3ปรับแล้วได้อะไรWhat each setting changes

เรียงตามหน้าตั้งค่าบน TradingView ปุ่มสีทองในแต่ละข้อจะเปลี่ยนค่าบนกราฟด้านบนให้ดูทันทีIn the order TradingView lists them. The gold buttons change the chart above so you can see the effect.

Initial Balance · Session IBsIB ที่เก็บไว้บนกราฟWhich IBs stay on the chart1

4ทดลองปรับค่าเองTry it

  1. ค่าเริ่มต้นในช่วงเอเชียThe default during Asian hours

    ปิด Asia (ค่าเริ่มต้น) แล้ว IB ของ NY ที่ค้างตั้งแต่ปิด session กลับมา เพราะไม่มีช่องที่เปิดอยู่กำลังอยู่ใน sessionSwitch Asia off (the default): NY's IB, frozen since its close, comes back, since no enabled slot is in session.

  2. สามโหมดThe three modes

    สลับ Session Mode แล้วดูว่า IB ไหนยังอยู่Switch Session Mode and see which IBs remain.

5จุดที่มักเข้าใจผิดCommon pitfalls

  • Active Only ลบ IB ตอนอีก session เปิดActive Only removes an IB when another session opens

    IB ที่ค้างหลังปิด session หายทันทีที่ช่องอื่นที่เปิดใช้งานเริ่ม session ระดับของมันจึงไม่อยู่ให้เทียบระหว่าง session ถัดไป ถ้าต้องการให้อยู่ ใช้ Current SessionAn IB frozen after its close goes the moment another enabled slot's session starts, so its levels are not there to compare during the next session. Use Current Session to keep them.

  • สอง session ทับกันเห็นทั้งคู่Two overlapping sessions both show

    ระหว่างที่ London กับ New York เปิดพร้อมกัน Active Only แสดงทั้งสอง IB เมื่อ London ปิดขณะ NY ยังเปิด IB ของ London จะหายทันทีWhile London and New York are both open, Active Only shows both IBs; when London closes with NY still open, London's IB goes at once.

ส่วนที่ 3Part 3

Box หรือ LineBox or Line

1โมดูลนี้คืออะไรWhat it is

Line (ค่าเริ่มต้น) วาดกล่องเฉพาะช่วง IB แล้วหยุดตรงนั้น จากแท่งถัดไปลากระดับ High, Mid และ Low เป็นเส้นไปถึงแท่งปัจจุบัน แต่ละเส้นมีป้ายที่ปลายขวา เช่น NY IB High Box ให้กล่องยืดไปทางขวาตามแท่งปัจจุบันจนช่วงเวลาของ session ปิด ถ้าเปิดหลาย IB พร้อมกัน กล่องที่ยืดยาวจะซ้อนกันเป็นแผ่นสีโปร่งบนราคา ส่วนสามเส้นให้ราคาเดียวกันโดยไม่บังแท่งเทียนLine (default) draws the box over the IB only and stops there; from the next bar the High, Mid and Low are carried as lines to the current bar, each tagged at its right end, e.g. NY IB High. Box lets the box stretch right with the live bar until the session window closes. With several IBs on, stretched boxes overlap as translucent blocks on top of price; three lines carry the same prices without covering the candles.

เส้น High และ Low ใช้รูปแบบจาก Border Style และเส้น Mid ใช้รูปแบบของ Midline ชุดเดียวกับที่ใช้วาดกล่อง Border Style จึงกำหนดทั้งขอบกล่องระหว่าง IB และระดับหลัง IB เสมอ การ์ดนี้ตั้ง Session Mode เป็น All Sessions ให้เห็นหลายวันThe High and Low lines take their look from Border Style and the Mid from the Midline style, the same two settings that shape the box, so Border Style always sets both the box during the IB and the levels after it. This card has Session Mode on All Sessions to show several days.

2อ่านบนกราฟยังไงReading it on the chart

  • กล่อง พื้นทึบ 10% ขอบทึบในสีของช่อง เส้นประตรงกลางคือ MidlineThe box: a 10% fill and a solid border in the slot's colour; the dashed line inside is the midline.
  • NY IB High · Mid · Low สามเส้นที่เริ่มจากแท่งหลัง IB ลากถึงแท่งปัจจุบัน ป้ายบอกชื่อช่อง คำว่า IB (Label word) และระดับNY IB High · Mid · Low: three lines from the bar after the IB to the current bar; the tag gives the slot's name, the word IB (Label word) and the level.

3ปรับแล้วได้อะไรWhat each setting changes

เรียงตามหน้าตั้งค่าบน TradingView ปุ่มสีทองในแต่ละข้อจะเปลี่ยนค่าบนกราฟด้านบนให้ดูทันทีIn the order TradingView lists them. The gold buttons change the chart above so you can see the effect.

Initial Balance · Styleรูปแบบที่ใช้ร่วมกันทั้งสามช่องThe look, shared by all three slots7

4ทดลองปรับค่าเองTry it

  1. Box กับ LineBox versus Line

    เปลี่ยนเป็น Box แล้วดูว่ากล่องของแต่ละวันยืดจนช่วงเวลาปิด จากนั้นกลับเป็น LineSwitch to Box and watch each day's box stretch to the window's close; then back to Line.

  2. ระดับเส้นประDashed levels

    ตั้ง Border Style เป็น Dashed ทั้งขอบกล่องและเส้น High / Low กลายเป็นเส้นประพร้อมกันSet Border Style to Dashed: the box border and the High / Low lines turn dashed together.

5จุดที่มักเข้าใจผิดCommon pitfalls

  • ใน All Sessions ระดับเก่าไม่ได้ลากไปตลอดIn All Sessions old levels do not run forever

    ระดับ High, Mid, Low ของ IB หนึ่งลากถึงแท่งปัจจุบันจนกว่า IB ถัดไปของช่องเดียวกันจะก่อตัวเสร็จ แล้วหยุดตรงนั้น บนกราฟจึงมีระดับที่ยังวิ่งอยู่ช่องละชุดเดียวAn IB's High, Mid and Low run to the current bar until the slot's next IB is complete, then stop there, so each slot has one set of running levels.

  • Border Style ใช้ทั้งกล่องและเส้นBorder Style shapes both box and lines

    ตั้ง Solid ให้ระดับเป็นเส้นทึบ กล่องระหว่าง IB ก็จะเป็นขอบทึบด้วย แยกสองอย่างนี้ไม่ได้Set Solid for clean levels and the box during the IB turns solid too; the two cannot be set apart.

ส่วนที่ 4Part 4

ป้ายLabels

1โมดูลนี้คืออะไรWhat it is

มีป้ายสองแบบ ป้ายในกล่อง (Show label in box ปิดไว้ตามค่าเริ่มต้น การ์ดนี้เปิด) เขียนชื่อของช่อง เช่น NY ไว้ในกล่อง IB ตามตำแหน่งที่เลือก มีประโยชน์เมื่อเปิดหลายช่อง ป้ายของระดับ ในแบบ Line อยู่ที่ปลายขวาของเส้น High, Mid, Low เสมอ เป็นชื่อของช่องตามด้วย Label word และชื่อระดับ เช่น NY IB HighThere are two kinds. The label in the box (Show label in box, off by default, on for this card) writes the slot's name, e.g. NY, inside the IB box at the chosen position: useful with several slots on. The level tags of Line design always sit at the right end of the High, Mid and Low lines: the slot's name, then Label word, then the level, e.g. NY IB High.

2อ่านบนกราฟยังไงReading it on the chart

  • NY กลางกล่องคือป้ายในกล่องNY in the middle of the box is the label in the box.
  • NY IB High · NY IB Mid · NY IB Low ที่ปลายเส้นคือป้ายของระดับNY IB High · NY IB Mid · NY IB Low at the line ends are the level tags.

3ปรับแล้วได้อะไรWhat each setting changes

เรียงตามหน้าตั้งค่าบน TradingView ปุ่มสีทองในแต่ละข้อจะเปลี่ยนค่าบนกราฟด้านบนให้ดูทันทีIn the order TradingView lists them. The gold buttons change the chart above so you can see the effect.

Initial Balance · Labelป้ายที่ใช้ร่วมกันทั้งสามช่องLabels, shared by all three slots4

4ทดลองปรับค่าเองTry it

  1. ชื่อที่อ่านง่ายA readable name

    เปลี่ยน Label word เป็น OR ป้ายของระดับกลายเป็น NY OR High แต่ป้ายในกล่องยังเป็น NYChange Label word to OR: the level tags become NY OR High, while the box label stays NY.

  2. ป้ายมุมกล่องA corner label

    ย้ายป้ายไปมุมซ้ายบน ไม่บังกลางกรอบMove the label to the top left, clear of the middle of the range.

5จุดที่มักเข้าใจผิดCommon pitfalls

  • Label word ไม่อยู่ในป้ายในกล่องLabel word is not in the box label

    คำอธิบายของช่องนี้บน TradingView บอกว่าต่อท้ายชื่อของช่อง (Asia IB) แต่ในโค้ดใช้เฉพาะป้ายของระดับแบบ Line ป้ายในกล่องเป็นชื่อของช่องอย่างเดียวIts tooltip on TradingView says it is added to each slot's name (Asia IB), but the code uses it only in the Line design level tags; the box label is the slot's name alone.

  • ขนาดป้ายยังมีผลแม้ช่องเป็นสีเทาSize still applies while greyed out

    Size เป็นสีเทาเมื่อปิด Show label in box แต่ป้ายระดับแบบ Line ยังใช้ขนาดนี้ เปิดป้ายในกล่องชั่วคราวเพื่อแก้ แล้วปิดกลับได้Size greys out with Show label in box off, yet the Line design tags still use it: switch the box label on to change it, then off again.

ส่วนที่ 5Part 5

IBR Extensions

1โมดูลนี้คืออะไรWhat it is

IBR Extensions วาดระดับเหนือ IB High และใต้ IB Low ห่างออกไปเป็นเปอร์เซ็นต์ของความกว้าง IB ระดับ 100% อยู่ห่างจากขอบหนึ่งเท่าของความกว้างกรอบ 200% สองเท่า ใช้ดูว่าวันนี้ราคาวิ่งออกจากกรอบเปิดไปไกลแค่ไหนเมื่อเทียบกับขนาดของกรอบเอง ปิดไว้ตามค่าเริ่มต้น เปิดแล้วมีสองระดับต่อฝั่ง (100% และ 200%) อีกสองระดับ (50% และ 150%) เปิดเพิ่มได้IBR Extensions draws levels above the IB High and below the IB Low, set off by a percentage of the IB's width: 100% sits one full range width beyond the edge, 200% two. They show how far price has run from the opening range, measured in the range's own size. Off by default; switched on, there are two per side (100% and 200%), and two more (50% and 150%) can be added.

เส้น IBR ยาวเท่ากล่องพอดี และป้าย +100% / -100% อยู่ที่ขอบขวาของกล่อง ในแบบ Box ที่ยืดตามแท่ง เส้นจึงยืดตามกล่องจนช่วงเวลาปิด ส่วนในแบบ Line กล่องหยุดเมื่อ IB จบ เส้น IBR จึงยาวแค่ช่วง IB การ์ดนี้ตั้ง Design เป็น BoxThe IBR lines span the box exactly, with their +100% / -100% labels at its right edge. In a stretching Box they stretch with it until the window closes; in Line design the box stops when the IB ends, so the IBR lines cover the IB only. This card is set to Box.

2อ่านบนกราฟยังไงReading it on the chart

  • +100% · +200% เส้นจุดเหนือกล่อง และ -100% · -200% ใต้กล่อง ในสีของช่อง+100% · +200%: dotted lines above the box, and -100% · -200% below it, in the slot's colour.

3ปรับแล้วได้อะไรWhat each setting changes

เรียงตามหน้าตั้งค่าบน TradingView ปุ่มสีทองในแต่ละข้อจะเปลี่ยนค่าบนกราฟด้านบนให้ดูทันทีIn the order TradingView lists them. The gold buttons change the chart above so you can see the effect.

Initial Balance · IBR Extensionsระดับที่ใช้ร่วมกันทั้งสามช่องLevels, shared by all three slots4

4ทดลองปรับค่าเองTry it

  1. ครบสี่ระดับAll four levels

    เปิด Level 3 และ 4 จะได้ 50%, 100%, 150%, 200% ทั้งสองฝั่งSwitch Levels 3 and 4 on for 50%, 100%, 150% and 200% on both sides.

  2. IBR ในแบบ LineIBR in Line design

    เปลี่ยน Design เป็น Line เส้น IBR หดเหลือแค่ช่วง IBSwitch Design to Line: the IBR lines shrink to the IB.

5จุดที่มักเข้าใจผิดCommon pitfalls

  • IBR ไม่ยืดในแบบ LineIBR does not stretch in Line design

    เส้น IBR ยาวเท่ากล่องเสมอ ในแบบ Line (ค่าเริ่มต้น) จึงเห็นแค่ช่วง IB ถ้าต้องการเส้นที่ยาวต่อไปด้วย ใช้แบบ Box กับ Expand with current candleThe IBR lines always span the box, so in Line design (the default) they cover the IB only. For lines that carry on, use Box with Expand with current candle.

  • เปอร์เซ็นต์คิดจากความกว้างของ IBThe percentage is of the IB's width

    100% ไม่ได้แปลว่าราคาขึ้น 100% แต่แปลว่าห่างจากขอบกรอบเท่ากับความกว้างกรอบหนึ่งเท่า กรอบแคบระดับก็ชิด กรอบกว้างระดับก็ห่าง100% is not a 100% price move: it is one range width beyond the edge. A narrow IB puts the levels close, a wide one far.

ส่วนที่ 6Part 6

Alerts

1โมดูลนี้คืออะไรWhat it is

ตั้งใช้งานสามขั้น: (1) เปิด Enable alerts (ค่าเริ่มต้นปิด) (2) เปิด Session IB break (ค่าเริ่มต้นปิด) (3) สร้าง alert บน TradingView อันเดียว โดยตั้ง Condition เป็น Session Initial Balance → Any alert() function call การ์ดนี้เปิดทั้งสองไว้และตั้ง Session Mode เป็น All SessionsSetting up takes three steps: (1) switch on Enable alerts (off by default); (2) switch on Session IB break (off by default); (3) create one TradingView alert with Condition set to Session Initial Balance → Any alert() function call. This card has both on and Session Mode on All Sessions.

alert ส่งเมื่อแท่งปิดเหนือ High หรือใต้ Low ของ IB ของช่องใดช่องหนึ่ง หลัง IB ก่อตัวเสร็จ แต่ละฝั่งส่งได้ครั้งเดียว แล้วพร้อมใหม่เมื่อราคาปิดกลับเข้ามาในกรอบ เบรก → กลับเข้า → เบรกอีก จึงได้สอง alert ส่วนราคาที่แกว่งอยู่นอกกรอบได้ alert เดียว การเฝ้ายังทำต่อหลังช่วงเวลาของ session ปิด จนกว่า session ถัดไปของช่องนั้นจะเริ่ม IB ใหม่The alert fires when a bar closes above the High or below the Low of any slot's IB, once that IB is complete. Each side fires once, then re-arms when price closes back inside the range: break → back inside → break again gives two alerts, while price lingering outside gives one. The watch goes on after the session window closes, until the slot's next session starts a new IB.

2อ่านบนกราฟยังไงReading it on the chart

  • จุดสีส้มเหนือแท่งคือแท่งที่ alert ส่ง ▲ ปิดเหนือ IB High ▼ ปิดใต้ IB LowAn orange dot above a bar marks an alert: ▲ a close above the IB High, ▼ below the IB Low.
  • รายการใต้กราฟคือข้อความที่จะได้รับ เรียงล่าสุดก่อน เช่น SIB | NY IB break ▲ @ 3966.375 | XAUUSD 5 ส่วนแรกคือ Message prefix แล้วเป็นชื่อของช่อง ทิศ ราคาของขอบที่ถูกเบรก (ไม่ใช่ราคาปิด) สัญลักษณ์ และไทม์เฟรมแบบรหัสของ TradingView (5 คือ 5 นาที 60 คือ 1 ชั่วโมง) กดข้อความเพื่อไปที่แท่งนั้นThe log under the chart shows the messages you would get, newest first, e.g. SIB | NY IB break ▲ @ 3966.375 | XAUUSD 5: the Message prefix, the slot's name, the direction, the price of the edge broken (not the close), the symbol, and the timeframe as TradingView's code (5 is 5 minutes, 60 is 1 hour). Press one to jump to its bar.

3ปรับแล้วได้อะไรWhat each setting changes

เรียงตามหน้าตั้งค่าบน TradingView ปุ่มสีทองในแต่ละข้อจะเปลี่ยนค่าบนกราฟด้านบนให้ดูทันทีIn the order TradingView lists them. The gold buttons change the chart above so you can see the effect.

Alertsสวิตช์และข้อความSwitches and message4

4ทดลองปรับค่าเองTry it

  1. Active Only กับ alertActive Only and the alert

    เปลี่ยน Session Mode เป็น Active Only รายการลดลง เพราะ IB ที่ไม่ได้แสดงไม่ส่ง alertSwitch Session Mode to Active Only: fewer entries, since an IB not on show sends nothing.

  2. ข้อความของคุณเองYour own wording

    เปลี่ยน prefix เป็น GOLD และชื่อของ NY เป็น New York แล้วดูบันทึกChange the prefix to GOLD and NY's name to New York, then read the log.

5จุดที่มักเข้าใจผิดCommon pitfalls

  • ราคาแกว่งคร่อมขอบได้หลาย alertChop across an edge gives several alerts

    การพร้อมใหม่ใช้แค่ราคาปิดกลับเข้าในกรอบหรือแตะขอบพอดี ราคาที่ปิดสลับในและนอกขอบไปมาจึงส่ง alert ทุกครั้งที่ปิดออกไปใหม่ ในตัวอย่างนี้ NY IB break ▼ ที่ 3946.585 จึงมาหลายครั้งในเช้าวันเดียวThe re-arm needs only a close back inside the range, or on its edge, so price closing in and out across an edge alerts on every new close outside. In this sample NY IB break ▼ at 3946.585 comes several times in one morning.

  • สองช่องเบรกในแท่งเดียวได้ข้อความเดียวTwo slots breaking on one bar give one message

    alert ส่งได้แท่งละครั้ง ถ้าหลายช่องเบรกในแท่งเดียวกัน ข้อความจะบอกช่องที่อยู่ลำดับหลัง (NY ก่อน London ก่อน Asia) อีกช่องไม่มีข้อความThe alert sends once per bar. When several slots break on the same bar the message names the later slot (NY over London over Asia); the other gets no message.

  • alert ยังมาหลัง session ปิดAlerts still come after the session closes

    ใน All Sessions และ Current Session การเฝ้ายังทำต่อหลังช่วงเวลาปิด จนกว่าช่องนั้นจะเริ่ม IB ใหม่ IB ของ NY จึงอาจส่ง alert ระหว่างช่วงเอเชีย ถ้าไม่ต้องการ ใช้ Active OnlyIn All Sessions and Current Session the watch carries on past the window's close until the slot starts a new IB, so NY's IB can alert during Asian hours. Use Active Only to avoid it.

  • Hide above ปิด alert ด้วยHide above silences the alert too

    บนกราฟที่ไทม์เฟรมสูงกว่า Hide above (ค่าเริ่มต้น 4H) ไม่มีทั้งการวาดและ alertOn a chart above Hide above (4H by default) there is neither drawing nor alert.

อ้างอิงReference

การตั้งค่าทั้งหมดAll settings

ทุกช่องตั้งค่าของ v1.1.0 เรียงตามหน้าตั้งค่าบน TradingView ช่องที่มีจุดทอง เปลี่ยนแล้วกราฟเปลี่ยนตาม กด (i) เพื่ออ่านคำอธิบายของช่องนั้นEvery input of v1.1.0, in the order TradingView shows them. Inputs with a gold dot change the chart; press (i) for an input’s description.