iqow-ultimate-oscillator.lua 5 KB · ฟรี ภายใต้ใบอนุญาต MIT
สำหรับสินทรัพย์ที่มีราคาสูงกว่าประมาณ 100 (เช่น คู่เงิน JPY) สคริปต์นี้สามารถซ่อนเครื่องหมายได้ ดังนั้นจึงต้องนำเข้าไฟล์เครื่องหมายด้วย: มันจะวาดเครื่องหมายเหล่านั้นลงบนกราฟราคา
สำหรับ IQ Option ห้องซื้อขายออนไลน์ Quadcode ไม่แสดงเครื่องหมาย "สูงกว่า" และ "ต่ำกว่า" บนมือถือ
เพิ่มมันเข้าไป IQ Option ในขั้นตอน 3
- ดาวน์โหลดไฟล์ กด "รับสคริปต์" เบราว์เซอร์ของคุณจะบันทึกไฟล์ .lua ไว้
- นำเข้าใน IQ Option. เปิดเว็บเทรดรูมบนบัญชีฝึกฝน คลิกไอคอนรูปคลื่นที่มุมล่างซ้ายของกราฟ เปิดแท็บสคริปต์ กดนำเข้าสคริปต์ และเลือกไฟล์
- เพิ่มลงในแผนภูมิ โค้ดจะเปิดขึ้นในโปรแกรมแก้ไขข้อความ คลิกปุ่มบวกด้านล่าง (เพิ่มลงในแผนภูมิ) การบันทึกจำเป็นเฉพาะหลังจากที่คุณแก้ไขโค้ดเสร็จแล้วเท่านั้น
คู่มือฉบับสมบูรณ์พร้อมภาพประกอบและภาพหน้าจอ →
ความเสี่ยง. การซื้อขายอาจทำให้ขาดทุนได้ ตัวชี้วัดเป็นเพียงการสังเกตจากกราฟ ไม่ใช่การคาดการณ์ และสคริปต์นี้ได้รับการตรวจสอบจากข้อมูลทดสอบแล้ว ยังไม่ได้รับการพิสูจน์ในการซื้อขายจริง ลองใช้ในบัญชีทดลองก่อน
- โมเมนตัม
- แผงควบคุมของตัวเอง
- Beginner
สัญญาณนี้บ่งบอกว่าออสซิลเลเตอร์ขั้นสุดยอดกำลังออกจากโซนซื้อมากเกินไปหรือขายมากเกินไป ออสซิลเลเตอร์นี้ผสมผสานสามช่วงเวลา จึงตอบสนองได้สม่ำเสมอกว่าออสซิลเลเตอร์แบบช่วงเวลาเดียว
ในแผงตัวชี้วัด เครื่องหมายจะถูกวาดที่ราคาของแท่งเทียน ดังนั้นสำหรับสินทรัพย์ที่มีราคาสูงกว่าประมาณ 100 (เช่น คู่เงิน JPY) เครื่องหมายจะอยู่นอกแผง โหลด เครื่องหมายออสซิลเลเตอร์ขั้นสุดยอด เพื่อดูเครื่องหมายเดียวกันบนกราฟราคา
กฎระเบียบ
เครื่องหมายที่สูงกว่า
ดัชนี Ultimate Oscillator ปิดเหนือ 30 หลังจากที่ทรงตัวอยู่ที่ระดับ 30 หรือต่ำกว่านั้น
เครื่องหมายล่าง
ดัชนี Ultimate Oscillator ปิดต่ำกว่า 70 หลังจากที่ทรงตัวอยู่ที่ระดับ 70 หรือสูงกว่านั้น
เครื่องหมายจะปรากฏขึ้นหลังจากแท่งเทียนถัดไปเปิด และจะถูกวาดลงบนแท่งเทียนที่สร้างรูปแบบการตั้งค่าเสร็จสมบูรณ์ นี่เป็นเพียงการสังเกตการณ์บนกราฟ ไม่ใช่คำแนะนำในการซื้อขาย
วิธีอ่าน
แผงควบคุมแสดงค่าการแกว่งระหว่าง 0 ถึง 100 โดยมีระดับอยู่ที่ 30 และ 70 สามเหลี่ยมสีเขียวที่แสดงว่า "สูงขึ้น" ที่ด้านล่างของแผงควบคุม แสดงว่าเส้นนั้นกำลังปิดตัวลงเหนือ 30 อีกครั้ง และสามเหลี่ยมสีแดงที่แสดงว่า "ต่ำลง" ที่ด้านบน แสดงว่าเส้นนั้นกำลังปิดตัวลงต่ำกว่า 70
ตัวชี้วัดที่ใช้
- อัลติเมทออสซิลเลเตอร์ (7, 14, 28)
มุมมองเดียวกันกับตัวบ่งชี้ในตัว: เพิ่ม Ultimate Oscillator (7, 14, 28) ที่มีระดับ 30 และ 70
การตั้งค่าเริ่มต้น
| ช่วงเวลาที่รวดเร็ว | 7 |
|---|---|
| ระยะกลาง | 14 |
| ช่วงเวลาช้า | 28 |
| ระดับการขายมากเกินไป | 30 |
| ระดับซื้อมากเกินไป | 70 |
ค่าทุกค่าเป็นค่าป้อนเข้าในการตั้งค่าสคริปต์ คำแนะนำเกี่ยวกับแพลตฟอร์มถูกปิดใช้งานโดยค่าเริ่มต้น
ประเด็นสำคัญ
- ตัวชี้วัด Ultimate Oscillate ผสานแรงกดดันในการซื้อจากสามช่วงเวลา ได้แก่ 7, 14 และ 28
- ค่าจะอยู่ระหว่าง 0 ถึง 100
- หากราคาปิดสูงกว่า 30 หลังจากที่ทรงตัวอยู่ที่ระดับนั้นหรือต่ำกว่า 30 จะถูกทำเครื่องหมายว่า "สูงขึ้น" (HHIGER)
- หากราคาปิดต่ำกว่า 70 หลังจากที่เคยอยู่ที่ระดับนั้นหรือสูงกว่า จะถูกทำเครื่องหมายว่า "ต่ำกว่า" (LOWER)
- บทความนี้ยังสอนเรื่องความแตกต่างด้วย โดยสคริปต์นี้แสดงถึงจุดตัดระดับที่ง่ายกว่า
- ยืนยันบนแท่งเทียนที่เสร็จสมบูรณ์แล้ว และฝึกฝนบนยอดคงเหลือสำหรับการฝึกฝน
ข้อ จำกัด ในแนวโน้มที่แข็งแกร่ง ออสซิลเลเตอร์อาจคงอยู่ใกล้จุดสูงสุดหรือต่ำสุด และการตัดกันอาจตามมาด้วยการต่อเนื่อง บทความนี้อธิบายถึงสัญญาณความแตกต่างมากกว่าการตัดกันของระดับ ดังนั้นกฎการตัดกันในที่นี้จึงเป็นการปรับใช้ที่ง่ายกว่า ทดสอบกับยอดเงินคงเหลือในบัญชีฝึกหัดก่อนที่จะเสี่ยงใช้เงินจริง
กรอกซอร์สโค้ดให้สมบูรณ์
ไฟล์ที่ดาวน์โหลดและตัวอย่างนี้แสดงผลลัพธ์เป็นไฟล์เดียวกัน SHA-256: ebfb37fb6685346f5cfb3cff204cf7e190caf34282987d089cfe4b7a85dff9f2
-- SPDX-License-Identifier: MIT
-- IQOptionWiki QCS Library
-- IQOW Ultimate Oscillator Cross v1.0.0
--
-- The Ultimate Oscillator (Larry Williams) blends buying pressure over three
-- periods (7, 14, 28) into one 0-100 line, which makes it less jumpy than a
-- single-period oscillator. This script marks the line leaving an extreme.
--
-- HIGHER: the oscillator closes above 30 after being at or below it.
-- LOWER: the oscillator closes below 70 after being at or above it.
--
-- This is a separate-panel script: markers sit at the bottom (HIGHER) and
-- top (LOWER) of the oscillator panel.
--
-- 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 Ultimate Oscillator Cross",
short_name = "IQOW UO",
overlay = false
}
input_group {
"1. Ultimate Oscillator",
period_fast = input (7, "Fast period", input.integer, 1, 50),
period_medium = input (14, "Medium period", input.integer, 2, 100),
period_slow = input (28, "Slow period", input.integer, 3, 200),
oversold_level = input (30, "Oversold level", input.double, 5, 45, 1, false),
overbought_level = input (70, "Overbought level", input.double, 55, 95, 1, false)
}
input_group {
"Display and advice",
lines_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",
line_color = input { default = "#DB4931", type = input.color },
line_width = input { default = 1, type = input.line_width },
level_color = input { default = rgba(255, 255, 255, 0.35), type = input.color },
zone_color = input { default = rgba(255, 255, 255, 0.05), type = input.color },
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 }
}
-- Buying pressure and true range, summed over three periods (official formula).
buying_pressure = close - min (low, close [1])
average_fast = sum (buying_pressure, period_fast) / max (sum (tr, period_fast), 1e-10)
average_medium = sum (buying_pressure, period_medium) / max (sum (tr, period_medium), 1e-10)
average_slow = sum (buying_pressure, period_slow) / max (sum (tr, period_slow), 1e-10)
uo_value = (100 / 7) * (4 * average_fast + 2 * average_medium + average_slow)
local uo_now = get_value (uo_value, nil)
local uo_previous = get_value (uo_value [1], nil)
-- Periods must be ordered fast < medium < slow and levels must not overlap.
local settings_are_valid =
period_fast < period_medium and
period_medium < period_slow and
oversold_level < overbought_level
-- The slowest sum needs period_slow candles plus one for close [1].
local data_is_ready =
settings_are_valid and
uo_now ~= nil and
uo_previous ~= nil and
get_value (close [period_slow], nil) ~= nil
-- Event: the line closes back across a level on this candle.
higher_setup = conditional (
data_is_ready and uo_previous <= oversold_level and uo_now > oversold_level
)
lower_setup = conditional (
data_is_ready and uo_previous >= overbought_level and uo_now < overbought_level
)
-- 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 lines_visible then
fill_area (overbought_level, oversold_level, "UO zone", zone_color)
hline (overbought_level, "Overbought", level_color, 1)
hline (oversold_level, "Oversold", level_color, 1)
plot (uo_value, "UO", line_color, line_width)
end
if signals_visible then
plot_shape (
confirmed_higher,
"UO HIGHER",
shape_style.triangleup,
shape_size.small,
higher_color,
shape_location.bottom,
-1,
"HIGHER",
signal_text_color
)
plot_shape (
confirmed_lower,
"UO LOWER",
shape_style.triangledown,
shape_size.small,
lower_color,
shape_location.top,
-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
เอลเดอร์อิมพัลส์
สัญลักษณ์นี้แสดงแท่งเทียนแรกที่ทั้งแนวโน้ม (EMA 13) และโมเมนตัม (ฮิสโตแกรม MACD) เปลี่ยนไปในทิศทางเดียวกัน โดยใช้สีตามระบบ Impulse System ของ Alexander Elder สัญลักษณ์นี้จะปรากฏขึ้นเฉพาะเมื่อสถานะเปลี่ยนแปลง ไม่ใช่ทุกครั้งที่มีแท่งเทียนสีเขียวหรือสีแดง
ตัวชี้วัด: EMA (13) · ฮิสโตแกรม MACD (12, 26, 9)
- โมเมนตัม
- ราคา
- Beginner
โมเมนตัม EMA
ทำเครื่องหมายแท่งเทียนที่ครบสองเหตุการณ์: ราคาปิดผ่าน EMA(20) และเส้น Momentum(20) ตัดผ่านศูนย์ ภายในไม่กี่แท่งเทียนต่อกัน ทั้งสองต้องยังคงเป็นจริงในแท่งเทียนที่ทำเครื่องหมายไว้
ตัวชี้วัด: EMA (20) · โมเมนตัม (20)
- โมเมนตัม
- ราคา
- Beginner
MACD PSAR 7-14-5
เครื่องหมายนี้แสดงแท่งเทียนที่เส้น MACD เร็วตัดกับเส้นศูนย์ ในขณะที่ Parabolic SAR อยู่ฝั่งเดียวกันกับราคา การตัดกันของ MACD แสดงถึงการเปลี่ยนทิศทางของโมเมนตัม และจุด SAR แสดงว่าจุด Trailing Stop อยู่ฝั่งใด
ตัวชี้วัด: MACD (7, 14, 5) · Parabolic SAR (0.02, 0.2)
ดาวน์โหลดสคริปต์ทั้ง 74 รายการในรูปแบบไฟล์ ZIP เดียว • สัญญาอนุญาต MIT ให้ใช้งาน "ตามสภาพที่เป็นอยู่" โดยไม่มีการรับประกันใดๆ IQOptionWiki เป็นอิสระจาก • IQ Option ผู้ดำเนินการแพลตฟอร์ม ข้อมูลในที่นี้ไม่ใช่คำแนะนำด้านการลงทุนหรือการรับประกันผลลัพธ์ใดๆ