iqow-keltner-reentry.lua 5 KB · ฟรี ภายใต้ใบอนุญาต MIT
สำหรับ IQ Option ห้องซื้อขายออนไลน์ Quadcode ไม่แสดงเครื่องหมาย "สูงกว่า" และ "ต่ำกว่า" บนมือถือ
เพิ่มมันเข้าไป IQ Option ในขั้นตอน 3
- ดาวน์โหลดไฟล์ กด "รับสคริปต์" เบราว์เซอร์ของคุณจะบันทึกไฟล์ .lua ไว้
- นำเข้าใน IQ Option. เปิดเว็บเทรดรูมบนบัญชีฝึกฝน คลิกไอคอนรูปคลื่นที่มุมล่างซ้ายของกราฟ เปิดแท็บสคริปต์ กดนำเข้าสคริปต์ และเลือกไฟล์
- เพิ่มลงในแผนภูมิ โค้ดจะเปิดขึ้นในโปรแกรมแก้ไขข้อความ คลิกปุ่มบวกด้านล่าง (เพิ่มลงในแผนภูมิ) การบันทึกจำเป็นเฉพาะหลังจากที่คุณแก้ไขโค้ดเสร็จแล้วเท่านั้น
คู่มือฉบับสมบูรณ์พร้อมภาพประกอบและภาพหน้าจอ → ดูวิดีโอ
ความเสี่ยง. การซื้อขายอาจทำให้ขาดทุนได้ ตัวชี้วัดเป็นเพียงการสังเกตจากกราฟ ไม่ใช่การคาดการณ์ และสคริปต์นี้ได้รับการตรวจสอบจากข้อมูลทดสอบแล้ว ยังไม่ได้รับการพิสูจน์ในการซื้อขายจริง ลองใช้ในบัญชีทดลองก่อน
- ความผกผัน
- ราคา
- Beginner
เครื่องหมายนี้แสดงถึงแท่งเทียนที่ปิดตัวกลับเข้ามาภายในช่อง Keltner Channel หลังจากที่แท่งเทียนก่อนหน้าปิดตัวอยู่นอกช่อง ความกว้างของช่องจะแปรผันตามความผันผวน ดังนั้นการปิดตัวอยู่นอกช่องแสดงถึงการเคลื่อนไหวที่ยืดออกผิดปกติ
รับชม: ติดตั้งและปฏิบัติตามขั้นตอนการซื้อขายจริง
กฎระเบียบ
เครื่องหมายที่สูงกว่า
ราคาปิดก่อนหน้านี้อยู่ต่ำกว่าแนวรับ Keltner ด้านล่าง (EMA 20 ของ hlc3, 2 x ATR) และราคาปิดปัจจุบันกลับเข้ามาอยู่ในช่องราคาอีกครั้ง
เครื่องหมายล่าง
ราคาปิดก่อนหน้านี้อยู่เหนือแนวรับ Keltner ตอนบน และราคาปิดปัจจุบันกลับเข้ามาอยู่ภายในช่องราคาแล้ว
เครื่องหมายจะปรากฏขึ้นหลังจากแท่งเทียนถัดไปเปิด และจะถูกวาดลงบนแท่งเทียนที่สร้างรูปแบบการตั้งค่าเสร็จสมบูรณ์ นี่เป็นเพียงการสังเกตการณ์บนกราฟ ไม่ใช่คำแนะนำในการซื้อขาย
วิธีอ่าน
เส้นสีเขียวคือเส้น Keltner Band บนและล่าง โดยมีเส้น EMA อยู่ตรงกลาง สามเหลี่ยมสีเขียวที่แสดงว่า "สูงกว่า" ใต้แท่งเทียนหมายความว่าราคาปิดต่ำกว่าเส้นล่างแล้วปิดกลับเข้ามาอยู่ภายในเส้นล่างอีกครั้ง สามเหลี่ยมสีแดงที่แสดงว่า "ต่ำกว่า" เหนือแท่งเทียนคือกรณีตรงกันข้ามที่เส้นบน
ตัวชี้วัดที่ใช้
- ช่องเคลท์เนอร์ (EMA 20, 2 x ATR)
มุมมองเดียวกันกับตัวบ่งชี้ในตัว: เพิ่ม IQ Optionใช้ Keltner Channels ที่มีช่วงเวลา 20, ค่าชดเชย 2 และใช้ค่าเฉลี่ยเคลื่อนที่แบบเอ็กซ์โปเนนเชียลเป็นประเภทค่าเฉลี่ย
การตั้งค่าเริ่มต้น
| ระยะเวลา | 20 |
|---|---|
| ตัวคูณ ATR | 2 |
ค่าทุกค่าเป็นค่าป้อนเข้าในการตั้งค่าสคริปต์ คำแนะนำเกี่ยวกับแพลตฟอร์มถูกปิดใช้งานโดยค่าเริ่มต้น
ประเด็นสำคัญ
- Keltner Channel คือ EMA ที่มีสองแถบ โดยแต่ละแถบตั้งอยู่ที่ค่าทวีคูณของค่าเฉลี่ยระยะทางจริง
- การปิดราคาที่อยู่นอกกรอบหมายความว่าราคามีการเคลื่อนไหวเกินกว่าช่วงปกติของช่องราคา
- เราไม่ได้ทำการซื้อขายเมื่อราคาหลุดออกจากกรอบ เราจะรอให้ราคาปิดภายในกรอบนั้นอีกครั้ง
- หากราคาปิดต่ำกว่าเส้นล่างแล้วปิดกลับเข้ามาด้านใน จะเรียกว่า ราคาสูงขึ้น (HHIGHER) ส่วนหากราคาปิดสูงกว่าเส้นบน จะเรียกว่า ราคาต่ำลง (LOWER)
- เครื่องหมายนี้ถูกวาดขึ้นหลังจากเทียนดับลงและจะไม่ถูกวาดซ้ำอีก
- สังเกตพฤติกรรมของเครื่องชั่งทดลองเมื่อราคาเคลื่อนไหวไปตามกรอบราคา
ข้อ จำกัด ในแนวโน้มที่แข็งแกร่ง ราคาอาจปิดนอกกรอบหลายครั้งติดต่อกัน และกลับเข้ามาได้เพียงชั่วครู่ก่อนที่จะดันออกไปอีกครั้ง ดังนั้นการกลับเข้ามาจึงไม่ใช่การกลับตัวโดยตัวมันเอง เส้นกลางก็อาจล่าช้าในตลาดที่เคลื่อนไหวเร็วเช่นกัน ทดสอบในบัญชีทดลองก่อนที่จะเสี่ยงเงินจริง
กรอกซอร์สโค้ดให้สมบูรณ์
ไฟล์ที่ดาวน์โหลดและตัวอย่างนี้แสดงผลลัพธ์เป็นไฟล์เดียวกัน SHA-256: b1d5cae25ace0e895bcff4df6ebf07695a696496750f5df5b461986d9232a117
-- SPDX-License-Identifier: MIT
-- IQOptionWiki QCS Library
-- IQOW Keltner Re-entry v1.0.0
--
-- Keltner Channel: EMA of the typical price (hlc3) in the middle, with bands
-- set a multiple of ATR (RMA of the true range) above and below, as in the
-- official Quadcode Keltner Channels script. A close outside a band shows
-- stretched price; the next close back inside is the marked event.
--
-- HIGHER: the previous close was below the lower band and the current close
-- is back inside the channel.
-- LOWER: the previous close was above the upper band and the current close
-- is back inside the channel.
--
-- Markers use the previous completed candle: they appear after the next candle
-- opens and are shifted back one bar onto the candle that qualified.
-- Educational chart tool only. It does not place trades, choose an expiry,
-- predict outcomes, or guarantee results. Test on a Practice balance first.
instrument {
name = "IQOW Keltner Re-entry",
short_name = "IQOW KC REENT",
overlay = true
}
input_group {
"1. Keltner Channel",
channel_period = input (20, "Period (EMA and ATR)", input.integer, 2, 200),
channel_multiplier = input (2, "ATR multiplier", input.double, 0.1, 10, 0.1)
}
input_group {
"Display and advice",
channel_visible = input { default = true, type = input.plot_visibility },
middle_visible = input { default = true, type = input.plot_visibility },
signals_visible = input { default = true, type = input.plot_visibility },
advice_enabled = input { default = false, name = "Enable platform advice", type = input.boolean }
}
input_group {
"Colors",
channel_color = input { default = "#21B190", type = input.color },
middle_color = input { default = rgba(33, 177, 144, 0.6), type = input.color },
channel_fill_color = input { default = rgba(33, 177, 144, 0.08), type = input.color },
channel_width = input { default = 1, type = input.line_width },
higher_color = input { default = "#25E154", type = input.color },
lower_color = input { default = "#FF6C58", type = input.color },
signal_text_color = input { default = "#FFFFFF", type = input.color }
}
-- Keltner Channel as in the official library script.
middle_line = ema (hlc3, channel_period)
band_offset = rma (tr, channel_period) * channel_multiplier
upper_band = middle_line + band_offset
lower_band = middle_line - band_offset
-- Current-bar scalars for the Lua rule logic.
local close_now = get_value (close, nil)
local close_previous = get_value (close [1], nil)
local upper_now = get_value (upper_band, nil)
local lower_now = get_value (lower_band, nil)
local upper_previous = get_value (upper_band [1], nil)
local lower_previous = get_value (lower_band [1], nil)
local has_history = get_value (close [channel_period], nil) ~= nil
local data_is_ready =
has_history and
close_now ~= nil and
close_previous ~= nil and
upper_now ~= nil and
lower_now ~= nil and
upper_previous ~= nil and
lower_previous ~= nil
-- "Back inside": the current close is between the two bands.
local closes_inside = data_is_ready and close_now > lower_now and close_now < upper_now
-- Event: previous close outside one band, this close back inside.
higher_setup = conditional (
closes_inside and close_previous < lower_previous
)
lower_setup = conditional (
closes_inside and close_previous > upper_previous
)
-- Confirm only a new setup on the previous completed candle.
confirmed_higher = conditional (
get_value (higher_setup [1], false) and
not get_value (higher_setup [2], false)
)
confirmed_lower = conditional (
get_value (lower_setup [1], false) and
not get_value (lower_setup [2], false)
)
if channel_visible then
fill (upper_band, lower_band, "Keltner area", channel_fill_color)
plot (upper_band, "Upper Keltner", channel_color, channel_width)
plot (lower_band, "Lower Keltner", channel_color, channel_width)
end
if middle_visible then
plot (middle_line, "Keltner middle", middle_color, 1)
end
if signals_visible then
plot_shape (
confirmed_higher,
"KC REENT HIGHER",
shape_style.triangleup,
shape_size.small,
higher_color,
shape_location.belowbar,
-1,
"HIGHER",
signal_text_color
)
plot_shape (
confirmed_lower,
"KC REENT LOWER",
shape_style.triangledown,
shape_size.small,
lower_color,
shape_location.abovebar,
-1,
"LOWER",
signal_text_color
)
end
-- QCS advice is a platform notification state only; it does not place trades.
if advice_enabled and
get_value (confirmed_higher, false) and
not get_value (confirmed_lower, false) then
advise (advice.buy)
elseif advice_enabled and
get_value (confirmed_lower, false) and
not get_value (confirmed_higher, false) then
advise (advice.sell)
else
advise (advice.neutral)
end
สคริปต์ย้อนกลับเพิ่มเติม
- ความผกผัน
- แผงควบคุมของตัวเอง
- Intermediate
เคดีเจ ครอส
ทำเครื่องหมายจุดตัด K/D ที่เกิดขึ้นในขณะที่เส้น J ที่เร็วกว่านั้นยืดออกไปต่ำกว่า 20 หรือสูงกว่า 80 แล้ว เส้น J จะถึงจุดสุดขั้วก่อน ดังนั้นจุดตัดหลังจากนั้นจึงถูกใช้เป็นเหตุการณ์จับเวลา
ตัวชี้วัด: KDJ (9, 3, 3)
- ความผกผัน
- ราคา
- Intermediate
เช้า เย็น ดาว RSI
ทำเครื่องหมายรูปแบบแท่งเทียน Morning Star และ Evening Star เมื่อ RSI บนแท่งเทียนตรงกลางอยู่ในโซนต่ำหรือสูง RSI ช่วยตรวจสอบว่ารูปแบบดังกล่าวเกิดขึ้นตามการผลักดันในทิศทางตรงกันข้ามหรือไม่
ตัวชี้วัด: แท่งเทียนรูปดาวเช้าและเย็น · RSI (14, 40/60)
- ความผกผัน
- แผงควบคุมของตัวเอง
- Beginner
กฎหมาย RSI
ทำเครื่องหมายแท่งเทียนที่ RSI(5) ระยะสั้นปิดตัวลงเหนือเส้น 30 หรือ 70 หลังจากเคลื่อนที่เข้าสู่โซนสุดขั้ว นี่คือกฎของ RSI จากบทความที่เกี่ยวข้อง ซึ่งแสดงเป็นเครื่องหมายแท่งเทียนที่สมบูรณ์
ตัวชี้วัด: RSI (5, 30/70)
ดาวน์โหลดสคริปต์ทั้ง 74 รายการในรูปแบบไฟล์ ZIP เดียว • สัญญาอนุญาต MIT ให้ใช้งาน "ตามสภาพที่เป็นอยู่" โดยไม่มีการรับประกันใดๆ IQOptionWiki เป็นอิสระจาก • IQ Option ผู้ดำเนินการแพลตฟอร์ม ข้อมูลในที่นี้ไม่ใช่คำแนะนำด้านการลงทุนหรือการรับประกันผลลัพธ์ใดๆ