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

Multi-Timeframe EMA Ribbon (K2) v1.2.0

ริบบอน K2 คือ EMA 8 กับ EMA 21 ที่บอกทิศของโมเมนตัมระยะสั้น พร้อมเส้นแนวโน้ม EMA 55 และ EMA 200 ที่มีสถานะแบน ทั้งหมดอ่านได้บนไทม์เฟรมของกราฟและไทม์เฟรมใหญ่ไปพร้อมกัน ป้ายตัดยืนยันเมื่อแท่งปิดจึงไม่ repaint มี A2 Confluence ที่ทาสีแท่งเมื่อการย่อตัวเกิดพร้อมกันสองไทม์เฟรม ตารางหกไทม์เฟรม และ alert สิบเอ็ดเหตุการณ์ ชั้นเสริมปิดไว้ตามค่าเริ่มต้น เปิดได้ทีละชั้นใน K2 · Modules กราฟทุกอันในหน้านี้เป็นกราฟจริงที่กดได้ เลื่อนเมาส์ไปบนแท่งไหน ค่าต่าง ๆ จะแสดงตามแท่งนั้น กด ตั้งค่า เพื่อเปิดแผงตั้งค่าแบบเดียวกับบน TradingView ข้างกราฟThe K2 ribbon, EMA 8 and EMA 21, for the direction of short-term momentum, with the EMA 55 and EMA 200 trend lines and their flat state, all read on the chart's timeframe and a higher one at once. Cross badges confirm on the close, so nothing repaints. A2 Confluence paints a candle when a pullback lines up on two timeframes; a six-timeframe grid and eleven alert events complete it. The extra layers ship off; switch them on one at a time in K2 · Modules. Every chart on this page is live: move the cursor over a bar and the readings show that bar; press Settings to open the same settings you have on TradingView beside the chart.

ริบบอน K2The K2 ribbonEMA 8 / 21 พื้นสีตามทิศ ป้ายตัดที่ยืนยันเมื่อแท่งปิด และป้ายชื่อเส้นEMA 8 / 21, the fill coloured by direction, close-confirmed cross badges and line tagsEMA 55 และ EMA 200EMA 55 and EMA 200เส้นแนวโน้มสองเส้น EMA 200 เปลี่ยนสีตามฝั่งของราคา และเป็นสีเทาเมื่อแบนTwo trend lines; the EMA 200 coloured by price's side, grey while flatไทม์เฟรมใหญ่The higher timeframeริบบอนและ EMA 200 ของไทม์เฟรมใหญ่ วาดคู่กับของกราฟ ไม่ repaintThe higher timeframe's ribbon and EMA 200 beside the chart's, never repaintingA2 Confluenceแท่งที่ย่อตัดผ่าน EMA 21 ขณะที่ไทม์เฟรมใหญ่อยู่ฝั่งเดียวกันแล้วCandles that break the EMA 21 while the higher timeframe already sits on that sideตาราง MTFThe MTF tableทิศของริบบอนและฝั่งของ EMA 200 บนหกไทม์เฟรมในตารางเดียวThe ribbon's direction and the EMA 200 side on six timeframes, in one tableAlertsสิบเอ็ดเหตุการณ์ใน alert ตัวเดียว ข้อความพร้อมบริบท หรือ JSON และ Data Window exportEleven events through one alert, prose with context or JSON, and the Data Window exportการตั้งค่าทั้งหมดAll settings78 ช่อง เรียงแบบ TradingView78 inputs in TradingView’s order

ส่วนที่ 1Part 1

ริบบอน K2The K2 ribbon

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

ริบบอนตอบคำถามว่า ตอนนี้โมเมนตัมระยะสั้นไปทางไหน คือ EMA สองเส้น เส้นเร็ว (EMA 8) กับเส้นช้า (EMA 21) พื้นที่ระหว่างเส้นเป็นสี Bull เมื่อเส้นเร็วอยู่เหนือ และสี Bear เมื่ออยู่ใต้ ป้ายตัด K2 ขึ้นที่แท่งแรกที่ EMA เร็วตัด EMA ช้า และยืนยันเมื่อแท่งปิดแล้วเท่านั้น จึงไม่เปลี่ยนย้อนหลัง ป้ายขาขึ้นอยู่ใต้แท่ง ป้ายขาลงอยู่เหนือแท่งThe ribbon answers which way short-term momentum points. It is two EMAs, a fast one (EMA 8) and a slow one (EMA 21); the band between them takes the Bull colour while the fast line is above and the Bear colour while it is below. The K2 cross badge marks the first bar where the fast EMA crosses the slow one, confirmed on the bar's close only, so it never repaints: bull below the bar, bear above.

นักเทรดมักอ่านสีของริบบอนเป็นทิศของโมเมนตัม และใช้ป้ายตัดเป็นจุดที่โมเมนตัมเปลี่ยนข้าง ความยาวของสองเส้นเปลี่ยนได้ และใช้ร่วมกับทุกส่วนที่อ่านริบบอน: ริบบอนของไทม์เฟรมใหญ่ ตาราง MTF, A2 และ alert การตัดทุกตัว จึงยังมีผลแม้ซ่อนริบบอนTraders commonly read the ribbon's colour as momentum's direction and the cross badge as the point where it changes side. The two lengths can be changed and are shared by everything that reads the ribbon: the higher-timeframe ribbon, the MTF grid, A2 and every cross alert, so they stay live with the ribbon hidden.

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

  • EMA 8 (เส้นเร็ว) และ EMA 21 (เส้นช้า) พื้นระหว่างเส้นเป็นสี Bull เมื่อ EMA 8 อยู่เหนือ เป็นสี Bear เมื่ออยู่ใต้ ทึบ 25% ป้าย "EMA 8" / "EMA 21" ที่ปลายขวาใช้สีของเส้นนั้น และเปลี่ยนตัวเลขตามความยาวที่ตั้งEMA 8 (fast) and EMA 21 (slow). The band between them takes the Bull colour while EMA 8 is above and the Bear colour while it is below, at 25% opacity. The "EMA 8" / "EMA 21" tags at the right end take each line's colour and follow the lengths you set.
  • ป้ายตัด K2 ป้ายสี Bull ใต้แท่งคือ EMA 8 ตัดขึ้นเหนือ EMA 21 ป้ายสี Bear เหนือแท่งคือตัดลง ป้ายขึ้นเมื่อแท่งนั้นปิดแล้ว ระหว่างที่แท่งยังวิ่ง เส้นอาจตัดกันแล้วแต่ยังไม่มีป้ายK2 cross badges: Bull-coloured below the bar when EMA 8 crosses above EMA 21, Bear-coloured above the bar when it crosses below. A badge lands once its bar has closed; while a bar is forming the lines can cross with no badge yet.

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.

K2 · Modulesสวิตช์หลักThe masters2
K2 · RibbonริบบอนThe ribbon5
K2 · Badgesป้ายปลายเส้นEnd-of-line badges1
K2 · ColorsสีของสถานะState colours1

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

  1. ริบบอนที่ไวขึ้นA quicker ribbon

    ตั้งเส้นเร็วเป็น EMA 5 แล้วนับป้ายตัด จะมีมากขึ้นและมาก่อน แต่กลับข้างบ่อยขึ้นในช่วงแกว่งSet the fast leg to EMA 5 and count the cross badges: more, and earlier, but flipping more often in a range.

  2. เส้นเดียวไม่มีพื้นLines without the fill

    ปิด Fill แล้วดูว่าอ่านทิศจากเส้นอย่างเดียวยากขึ้นแค่ไหนSwitch Fill off: see how much harder the direction is to read from the lines alone.

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

  • ป้ายมาตอนแท่งปิดThe badge comes at the close

    ระหว่างที่แท่งยังวิ่ง EMA อาจตัดกันแล้วกลับ ป้ายขึ้นเฉพาะเมื่อการตัดยังอยู่ตอนแท่งปิด บนกราฟ 1 ชั่วโมงจึงอาจรอถึงชั่วโมงWhile a bar is forming the EMAs can cross and uncross; the badge lands only if the cross holds at the close, so on a 1-hour chart it can take up to an hour.

  • ซ่อนเส้นไม่ได้ปิดสัญญาณHiding a line does not switch it off

    การซ่อนริบบอน ซ่อนแค่ที่วาด ความยาวยังใช้กับตาราง, A2 และ alert การตัด และ alert การตัดยังส่งได้แม้ซ่อนริบบอนHiding the ribbon hides the drawing only; its lengths still drive the grid, A2 and the cross alerts, and the cross alerts still fire with the ribbon hidden.

ส่วนที่ 2Part 2

EMA 55 และ EMA 200EMA 55 and EMA 200

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

EMA 200 คือเส้นแนวโน้มหลัก เปลี่ยนสีตามฝั่งของราคาปิด: สี Bull เมื่อราคาอยู่เหนือ สี Bear เมื่ออยู่ใต้ และสี Flat (เทา) เมื่อเส้นแบน คือแทบไม่ขยับเมื่อเทียบกับความผันผวนของราคา ช่วงที่เส้นแบน ราคามักแกว่งข้ามเส้นไปมา การอยู่เหนือหรือใต้เส้นจึงบอกอะไรได้น้อย ป้ายที่ปลายเส้นบอก ▲ / ▼ ตามฝั่งของราคา และเติมคำว่า flat เมื่อแบนThe EMA 200 is the main trend line, coloured by the side price closes on: Bull above, Bear below, and Flat (grey) while the line is flat, barely moving against price's own volatility. While it is flat price tends to chop across it, and above / below stops meaning much. Its tag gives ▲ / ▼ for price's side and adds "flat" while flat.

EMA 55 (ปิดไว้) เป็นเส้นแนวโน้มระยะกลางระหว่างริบบอนกับ EMA 200 ใช้สีส้มตายตัว จึงแยกจาก EMA 200 ได้ง่าย ทั้งสองเส้นเป็นบริบทเท่านั้น ไม่ได้กรองป้ายตัด K2 เส้นที่ซ่อนอยู่ยังใช้กับ alert ของมันThe EMA 55 (off) is a mid-term trend line between the ribbon and the EMA 200, in a fixed orange so it never reads as the EMA 200. Both are context only: they do not filter the K2 cross badges. A hidden line still feeds its alerts.

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

  • EMA 200 สี Bull ราคาอยู่เหนือ สี Bear ราคาอยู่ใต้ เทาเมื่อแบน ป้าย "EMA 200 ▲" อยู่ในกล่องสีเดียวกับเส้น ราคาของเส้นแสดงบนแกนราคาด้านขวาEMA 200: Bull with price above, Bear below, grey while flat. The "EMA 200 ▲" tag sits in a box of the line's colour; the line's price shows on the right scale.
  • EMA 55 เส้นสีส้ม ป้าย "EMA 55" เป็นตัวอักษรสีเดียวกับเส้น (การ์ดนี้เปิดไว้)EMA 55, the orange line, tagged "EMA 55" in its own colour (on, on this card).

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.

K2 · Modulesสวิตช์Switches2
K2 · Trend EMAsเส้นแนวโน้มThe trend lines3

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

  1. ช่วงที่แบนThe flat stretches

    เพิ่ม Slope เป็น 0.05 ช่วงสีเทาจะยาวขึ้น ลดเป็น 0.01 จะเหลือแค่ช่วงที่เส้นแทบนิ่งจริง ๆRaise Slope to 0.05: the grey stretches grow. Lower it to 0.01: only the truly still stretches stay grey.

  2. EMA 100EMA 100

    เปลี่ยน EMA 200 เป็น 100 เส้นเข้าใกล้ราคาขึ้นและเปลี่ยนฝั่งบ่อยขึ้นSet the EMA 200 to 100: the line sits closer to price and changes side more often.

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

  • EMA 200 ไม่ได้กรองป้ายตัดThe EMA 200 does not filter the crosses

    ป้ายตัด K2 ขึ้นทุกครั้งที่เส้นตัดกัน ไม่ว่าราคาจะอยู่ฝั่งไหนของ EMA 200 ถ้าต้องการเฉพาะการตัดตามแนวโน้ม ใช้ alert Trend-aligned crossK2 badges print on every cross, whatever side of the EMA 200 price is on. For crosses with the trend only, use the Trend-aligned cross alert.

  • สีเทาไม่ได้แปลว่าไม่มีแนวโน้มGrey does not mean no trend

    สถานะแบนวัดความชันของเส้น เทียบกับ ATR ตลาดที่เงียบมากอาจแบนทั้งที่ราคายังไปทางเดียว ค่าเริ่มต้นยังไม่ได้ปรับตามสินทรัพย์Flat measures the line's slope against ATR; a very quiet market can read flat while price still drifts one way. The defaults are not calibrated per symbol.

ส่วนที่ 3Part 3

ไทม์เฟรมใหญ่The higher timeframe

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

สองชั้นนี้ (ปิดไว้) วาดริบบอนและ EMA 200 ของไทม์เฟรมใหญ่ คู่กับของกราฟ ไม่ได้แทนที่ เช่น ดูกราฟ 5 นาทีแล้วเห็นริบบอน 15 นาทีและ EMA 200 ของ 1 ชั่วโมงไปพร้อมกัน ค่าของไทม์เฟรมใหญ่ลงบนกราฟเมื่อแท่งของไทม์เฟรมนั้นปิด เส้นจึงเป็นขั้นบันไดและไม่เปลี่ยนย้อนหลังThese two layers (off) draw a higher timeframe's ribbon and EMA 200 beside the chart's, never instead of them: sit on 5 minutes and see the 15-minute ribbon and the 1-hour EMA 200 at once. A higher-timeframe value lands when that timeframe's bar closes, so the lines step and never repaint.

ริบบอนใหญ่ใช้ความยาว Fast / Slow เดียวกับริบบอนของกราฟ ในสีม่วงของตัวเอง พร้อมสามเหลี่ยมที่แท่งที่ริบบอนใหญ่ตัด (ไม่ใช่ป้ายแบบของกราฟ จึงไม่สับสน) HTF EMA 200 ใช้ความยาวเดียวกับ EMA 200 ของกราฟ เลือกไทม์เฟรมแยกจากริบบอนใหญ่ได้ และเปลี่ยนสี Bull / Bear / Flat ด้วยกฎเดียวกัน หรือใช้สีเดียวตายตัวThe higher ribbon uses the chart ribbon's Fast / Slow lengths, in its own purples, with triangles where it crosses (not the chart's badge shape, so the two never read alike). The HTF EMA 200 uses the chart EMA 200's length, takes its timeframe separately from the higher ribbon, and colours Bull / Bear / Flat by the same rule, or one fixed colour.

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

  • ริบบอน 15 นาที เส้นเร็ว และเส้นช้า พร้อมพื้นสี Bull / Bear เป็นขั้นบันไดตามแท่ง 15 นาทีที่ปิด ป้าย "15m EMA 8" / "15m EMA 21" ที่ปลายขวา (การ์ดนี้เปิดไว้)The 15-minute ribbon: fast and slow with the Bull / Bear fill, stepping with each closed 15-minute bar, tagged "15m EMA 8" / "15m EMA 21" (on, on this card).
  • สามเหลี่ยม ▲ ใต้แท่ง / ▼ เหนือแท่ง คือแท่งที่ริบบอนใหญ่ตัด ตรวจบนเส้นขั้นบันไดของไทม์เฟรมใหญ่และยืนยันเมื่อแท่งปิดTriangles, ▲ below the bar / ▼ above it, mark where the higher ribbon crosses, found on its stepped lines and confirmed on the close.
  • HTF EMA 200 (1 ชั่วโมง) เส้นขั้นบันไดสี Bull / Bear / Flat ตามฝั่งของราคา ป้าย "1H EMA 200 ▲" ในกล่อง และราคาบนแกนด้านขวา เส้นนี้อาจอยู่ห่างราคามากจนพ้นกราฟ กด ดูบนกราฟ ที่ข้อแรกเพื่อขยายแกนราคาให้เห็นThe HTF EMA 200 (1 hour), a stepped line in Bull / Bear / Flat by price's side, with a boxed "1H EMA 200 ▲" tag and its price on the right scale. It can sit far enough from price to be off the chart; press Show me on the first item to stretch the scale.

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.

K2 · Modulesสวิตช์Switches2
K2 · HTFไทม์เฟรมใหญ่Higher timeframe8

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

  1. สองนาฬิกาTwo clocks

    ปิดริบบอนของกราฟ เหลือแค่ของไทม์เฟรมใหญ่ แล้วเปิดกลับ ดูว่าสองริบบอนเห็นตรงกันตรงไหน และขัดกันตรงไหนSwitch the chart ribbon off and keep the higher one, then back on: see where the two agree and where they disagree.

  2. EMA 200 ของ 4 ชั่วโมงThe 4-hour EMA 200

    เปลี่ยน EMA 200 timeframe เป็น 4 ชั่วโมง เส้นจะห่างราคาขึ้นและขยับเป็นขั้นที่ยาวขึ้นSet the EMA 200 timeframe to 4 hours: the line sits further from price and steps in longer runs.

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

  • เส้นขั้นบันไดThe steps

    ค่าของไทม์เฟรมใหญ่เปลี่ยนเฉพาะเมื่อแท่งของมันปิด ระหว่างนั้นเส้นนิ่ง นี่คือเหตุผลที่มันไม่ repaintA higher-timeframe value changes only when its bar closes, and holds in between: that is why it never repaints.

  • สัญญาณสดอาจหายได้A live mark can still undo

    บนแท่งที่กำลังวิ่ง ค่าของแท่งไทม์เฟรมใหญ่ที่ยังไม่ปิดยังขยับได้ สามเหลี่ยมที่ขึ้นตอนแท่งของกราฟปิดอาจหายเมื่อแท่งใหญ่ปิดไม่ตัด ในประวัติไม่เห็นกรณีนี้In realtime the forming higher-timeframe bar still moves, so a triangle printed on a chart-bar close can be undone when the higher bar closes uncrossed. History never shows it.

ส่วนที่ 4Part 4

A2 Confluence

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

A2 (ปิดไว้) ทาสีแท่งเมื่อราคาปิดตัดผ่าน EMA 21 ของกราฟ ขณะที่ไทม์เฟรมใหญ่ (ค่าเริ่มต้น 15 นาที) อยู่ฝั่งเดียวกันของ EMA 21 ของมันแล้ว แนวคิด A2 ของ Austin Silver / ASFX คือเข้าตามแนวโน้มที่แท่งซึ่งย่อตัดผ่าน EMA 21 สวนแนวโน้ม ส่วนนี้เพิ่มนาฬิกาที่สอง: การย่อแบบเดียวกันต้องจริงบนไทม์เฟรมใหญ่ด้วย ไทม์เฟรมใหญ่ต้องอยู่ฝั่งนั้น ไม่ต้องตัดในแท่งเดียวกันA2 (off) paints the candle when the close crosses the chart's EMA 21 while the higher timeframe (15 minutes by default) already is on that same side of its own EMA 21. The A2 setup (Austin Silver / ASFX) enters a trend on a candle that breaks the EMA 21 against it; this adds a second clock: the same pullback has to be true on the higher timeframe too. The higher timeframe has to be on that side, not cross on the same bar.

สามตัวเลือกเปิดไว้ตามค่าเริ่มต้น Catch late HTF confirmation นับการตัดของกราฟที่เกิดในแท่งใหญ่แท่งเดียวกัน เมื่อแท่งใหญ่นั้นปิดยืนยัน จึงทาสีที่แท่งที่ยืนยัน ไม่ใช่แท่งที่ตัด Catch HTF-led turns ทาสีเมื่อไทม์เฟรมใหญ่เป็นฝ่ายตัด และกราฟอยู่ฝั่งนั้นอยู่แล้ว Must clear the ribbon ตัดการตัดที่ยังอยู่ในริบบอนออก ตัวกรองนี้ไม่เป็นกลาง: ในทางปฏิบัติจะตัดการตัดที่ไปตามริบบอนออกThree options ship on. Catch late HTF confirmation counts a chart cross inside the higher bar that just closed when that bar confirms it, so the paint lands on the confirming candle, not the crossing one. Catch HTF-led turns paints when the higher timeframe is the one that crosses while the chart already sits on that side. Must clear the ribbon drops crosses still inside the ribbon; it is not a neutral filter: in practice it removes crosses that go with the ribbon.

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

  • แท่งสีส้ม คือแท่ง A2 พร้อมสามเหลี่ยมเล็ก ▲ ใต้แท่งคือขาขึ้น ▼ เหนือแท่งคือขาลง แท่งเดียวกันอาจมีป้ายตัด K2 ด้วย (การ์ดนี้เปิด A2 ไว้)An orange candle is an A2 candle, with a small triangle: ▲ below the bar for up, ▼ above it for down. The same bar can carry a K2 cross badge too (A2 is on, on this card).
  • สีของสามเหลี่ยมตายตัว เป็น #F39C12 เปลี่ยน Highlight colour แล้วเปลี่ยนแค่สีแท่ง สามเหลี่ยมยังเป็นสีเดิมThe triangles' colour is fixed at #F39C12: changing Highlight colour repaints the candle only; the triangles keep the default shade.

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.

K2 · Modulesสวิตช์Switch1
K2 · A2 ConfluenceA26

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

  1. กฎแบบไม่กรองThe unfiltered rule

    ปิด Must clear the ribbon แล้วดูว่าแท่ง A2 เปลี่ยนไปอย่างไรSwitch Must clear the ribbon off and see how the A2 candles change.

  2. เฉพาะกฎปกติThe plain rule only

    ปิด Catch late และ Catch HTF-led เหลือเฉพาะแท่งที่ตัดเองในขณะที่ไทม์เฟรมใหญ่อยู่ฝั่งนั้นแล้วSwitch Catch late and Catch HTF-led off: only candles that cross while the higher timeframe already sits on that side remain.

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

  • แท่งที่ทาสีอาจไม่ใช่แท่งที่ตัดThe painted candle may not be the crossing one

    กับ Catch late และ Catch HTF-led สีลงที่แท่งที่ไทม์เฟรมใหญ่ยืนยัน ซึ่งอาจอยู่หลังแท่งที่ตัดหลายแท่งWith Catch late and Catch HTF-led the paint lands on the bar the higher timeframe confirms, which can be several bars after the cross.

  • แท่งสดอาจหายA live candle can undo

    แท่งไทม์เฟรมใหญ่ที่ยังไม่ปิดยังขยับได้ แท่ง A2 ที่ขึ้นระหว่างแท่งอาจหายก่อนแท่งปิด ในประวัติไม่เห็นกรณีนี้ ถ้าใช้ alert ให้เปิด Fire on bar close onlyThe forming higher bar still moves, so an A2 candle shown live can withdraw before the close; history never shows it. For alerts, keep Fire on bar close only on.

ส่วนที่ 5Part 5

ตาราง MTFThe MTF status table

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

ตาราง (ปิดไว้) อ่านหกไทม์เฟรมพร้อมกัน แต่ละแถวบอกสองอย่าง: K2 Signal ริบบอนของไทม์เฟรมนั้นเป็นขาขึ้น (▲ UP: EMA เร็วอยู่เหนือ) หรือขาลง (▼ DOWN) และ EMA 200 ราคาอยู่เหนือ (↑ UP) หรือใต้ (↓ DOWN) EMA 200 ของไทม์เฟรมนั้น ค่าเริ่มต้นคือ 1, 5, 15, 30 นาที 1 และ 4 ชั่วโมง ใช้ความยาวเดียวกับริบบอนและ EMA 200 ของกราฟ และไม่ใช้สถานะแบนThe table (off) reads six timeframes at once. Each row says two things: K2 Signal, whether that timeframe's ribbon is up (▲ UP: fast EMA above) or down (▼ DOWN), and EMA 200, whether price is above (↑ UP) or below (↓ DOWN) that timeframe's EMA 200. By default 1, 5, 15, 30 minutes, 1 and 4 hours, at the chart ribbon's and EMA 200's lengths, without the flat state.

บน TradingView ตารางแสดงค่าของแท่งล่าสุด บนกราฟด้านล่าง เลื่อนเมาส์ไปที่แท่งไหน ตารางจะแสดงค่าของแท่งนั้น คลิกบนกราฟเพื่อล็อกค่าไว้ ตัวอย่างนี้ไม่มีข้อมูล 1 นาที แถว 1m จึงเป็น "—" ไทม์เฟรมทั้งหกยังเป็นชุดที่ alert MTF alignment ใช้นับOn TradingView the table shows the latest bar. On the chart below, move the cursor to see any bar's values; click to lock them. This demo has no 1-minute data, so the 1m row reads "—". The same six timeframes are what the MTF alignment alerts count.

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

  • คอลัมน์ K2 Signal ▲ UP สี Bull / ▼ DOWN สี Bear คอลัมน์ EMA 200 ↑ UP สี Bull / ↓ DOWN สี Bear ไทม์เฟรมที่เห็นตรงกันทั้งสองช่องจะเป็นสีเดียวกันทั้งแถวK2 Signal: ▲ UP in Bull, ▼ DOWN in Bear. EMA 200: ↑ UP in Bull, ↓ DOWN in Bear. A timeframe where both agree reads one colour across the row.

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.

K2 · Modulesสวิตช์Switch1
K2 · MTF Status TableตารางThe table2

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

  1. เทียบกับกราฟAgainst the chart

    เลื่อนเมาส์ไปที่ป้ายตัด K2 ล่าสุด ดูว่าไทม์เฟรมที่ใหญ่กว่าเห็นด้วยกี่แถวMove the cursor to the latest K2 cross badge: see how many larger timeframes agree.

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

  • แถวที่สดอาจเปลี่ยนLive rows can change

    แถวของไทม์เฟรมที่ใหญ่กว่ากราฟใช้แท่งที่ปิดแล้วในประวัติ แต่บนแท่งที่กำลังวิ่ง แท่งใหญ่ที่ยังไม่ปิดยังขยับได้ ค่าในแถวจึงเปลี่ยนได้จนกว่าแท่งนั้นจะปิดRows for timeframes above the chart's read closed bars on history, but in realtime the forming higher bar still moves, so a row can change until that bar closes.

  • ตารางไม่ใช้สถานะแบนThe table ignores the flat state

    ช่อง EMA 200 บอกแค่ราคาอยู่เหนือหรือใต้ แม้เส้นจะแบนThe EMA 200 cell gives above or below only, even while the line is flat.

ส่วนที่ 6Part 6

Alerts

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

ตั้งใช้งานสามขั้น: (1) เปิด └ Alerts ใน K2 · Modules (ค่าเริ่มต้นปิด) (2) เลือกเหตุการณ์ในกลุ่ม K2 · Alerts (ค่าเริ่มต้นเปิดไว้เฉพาะ Ribbon cross ของกราฟ) (3) สร้าง alert บน TradingView อันเดียว ที่ Condition เป็นอินดิเคเตอร์นี้ → Any alert() function call การเลือกเหตุการณ์ทำในหน้าตั้งค่าของอินดิเคเตอร์ ไม่ใช่ในหน้าต่างของ TradingView ทุกเหตุการณ์ยืนยันเมื่อแท่งปิด ยกเว้นแท่ง A2 ที่ขึ้นกับสวิตช์ Fire on bar close onlySetting up takes three steps: (1) switch on └ Alerts in K2 · Modules (off by default); (2) pick the events in K2 · Alerts (only the chart's Ribbon cross is on by default); (3) create one TradingView alert with Condition set to this indicator → Any alert() function call. Events are picked in the indicator's settings, not in TradingView's dialog. Every event is close-confirmed except the A2 candle, which follows Fire on bar close only.

แต่ละข้อความต่อท้ายด้วยบริบท: ทิศของริบบอน และราคาอยู่ฝั่งไหนของ EMA 200 (เติม (flat) เมื่อแบน) ในรายการ Condition ของ TradingView ยังมี K2 Bull / K2 Bear แบบเก่าให้ใช้ต่อ สองตัวนี้ทำงานแยกจากระบบนี้ ไม่ตามสวิตช์ AlertsEach message ends with its context: the ribbon's direction and which side of the EMA 200 price is on ("(flat)" while flat). TradingView's Condition list still has the old K2 Bull / K2 Bear; those two work on their own, outside this layer and its switch.

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

  • จุดสีส้มเหนือแท่งคือแท่งที่ alert จะส่งข้อความ ถ้าหลายเหตุการณ์เกิดในแท่งเดียว จุดจะซ้อนขึ้นไป (การ์ดนี้เปิด └ Alerts ไว้)An orange dot above a bar marks where an alert fires; several on one bar stack upward (└ Alerts is on, on this card).
  • รายการใต้กราฟเป็นข้อความที่จะได้รับ เรียงล่าสุดก่อน กดเพื่อไปที่แท่งนั้นThe log under the chart shows the messages, newest first; press one to jump to its bar.
  • ไม่มีในตัวอย่าง MTF alignment reached / broken (ตัวอย่างนี้ไม่มีข้อมูล 1 นาที จึงนับครบหกไทม์เฟรมไม่ได้)Not in the demo: MTF alignment reached / broken (this demo has no 1-minute data, so it cannot count all six timeframes).

หน้าตาข้อความ [prefix] สัญลักษณ์ ไทม์เฟรม · เหตุการณ์ @ ราคาปิด · บริบท เช่น
[K2] XAUUSD 15 · K2 cross ▲ (EMA 8 above EMA 21) @ 3924.420 · K2 bull · above EMA 200
ไทม์เฟรมเป็นรหัสของ TradingView (15 คือ 15 นาที, 60 คือ 1 ชั่วโมง) ตัวเลข EMA ตามความยาวที่ตั้ง เมื่อเปิด JSON payload จะเป็น
{"src":"k2_ema_ribbon","sym":"XAUUSD","tf":"15","event":"K2 cross ▲ (EMA 8 above EMA 21)","price":3924.420,"close":3924.420,"k2":"bull"}
What a message looks like: [prefix] symbol timeframe · event @ close · context, for example
[K2] XAUUSD 15 · K2 cross ▲ (EMA 8 above EMA 21) @ 3924.420 · K2 bull · above EMA 200
The timeframe is TradingView's code (15 is 15 minutes, 60 is 1 hour); the EMA numbers follow your lengths. With JSON payload on it becomes
{"src":"k2_ema_ribbon","sym":"XAUUSD","tf":"15","event":"K2 cross ▲ (EMA 8 above EMA 21)","price":3924.420,"close":3924.420,"k2":"bull"}

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.

K2 · Modulesสวิตช์Switches2
K2 · Alertsเหตุการณ์Events9
K2 · Alertsการส่งและรูปแบบข้อความTiming and message format4

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

  1. เฉพาะตามแนวโน้มWith the trend only

    ปิด Ribbon cross แล้วเปิด Trend-aligned cross ดูว่าเหลือข้อความกี่รายการSwitch Ribbon cross off and Trend-aligned cross on: see how many messages remain.

  2. รูปแบบข้อความMessage format

    เปิด JSON payload แล้วดูบันทึก จากนั้นปิดบริบทSwitch JSON payload on and read the log; then switch the context off.

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

  • ติ๊กแล้วแต่ไม่มี alertTicked, but nothing arrives

    ต้องเปิด └ Alerts (ค่าเริ่มต้นปิด) และสร้าง alert บน TradingView ที่ Any alert() function call แท่ง A2 ต้องเปิด └ A2 confluence ด้วย└ Alerts must be on (off by default) and a TradingView alert must exist on Any alert() function call; the A2 candle also needs └ A2 confluence on.

  • K2 Bull / K2 Bear แบบเก่าThe old K2 Bull / K2 Bear

    สองรายการนี้ใน Condition ไม่ตามสวิตช์ Alerts และข้อความตายตัวเป็น "EMA8 crossed above EMA21" แม้เปลี่ยนความยาวแล้วThese two in the Condition list ignore the Alerts switch, and their text stays "EMA8 crossed above EMA21" even after you change the lengths.

อ้างอิงReference

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

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