BB1 บอลลิงเจอร์ สคริปต์

← สคริปต์ทั้งหมด 74 รายการ

iqow-bb1-bollinger.lua 5 KB · ฟรี ภายใต้ใบอนุญาต MIT

สำหรับ IQ Option ห้องซื้อขายออนไลน์ Quadcode ไม่แสดงเครื่องหมาย "สูงกว่า" และ "ต่ำกว่า" บนมือถือ

เพิ่มมันเข้าไป IQ Option ในขั้นตอน 3

  1. ดาวน์โหลดไฟล์ กด "รับสคริปต์" เบราว์เซอร์ของคุณจะบันทึกไฟล์ .lua ไว้
  2. นำเข้าใน IQ Option. เปิดเว็บเทรดรูมบนบัญชีฝึกฝน คลิกไอคอนรูปคลื่นที่มุมล่างซ้ายของกราฟ เปิดแท็บสคริปต์ กดนำเข้าสคริปต์ และเลือกไฟล์
  3. เพิ่มลงในแผนภูมิ โค้ดจะเปิดขึ้นในโปรแกรมแก้ไขข้อความ คลิกปุ่มบวกด้านล่าง (เพิ่มลงในแผนภูมิ) การบันทึกจำเป็นเฉพาะหลังจากที่คุณแก้ไขโค้ดเสร็จแล้วเท่านั้น

ความเสี่ยง. การซื้อขายอาจทำให้ขาดทุนได้ ตัวชี้วัดเป็นเพียงการสังเกตจากกราฟ ไม่ใช่การคาดการณ์ และสคริปต์นี้ได้รับการตรวจสอบจากข้อมูลทดสอบแล้ว ยังไม่ได้รับการพิสูจน์ในการซื้อขายจริง ลองใช้ในบัญชีทดลองก่อน

  • ฝ่าวงล้อม
  • ราคา
  • Beginner

เครื่องหมายนี้แสดงแท่งเทียนแรกที่ปิดอยู่นอกแถบ Bollinger Band แคบ (ค่าเบี่ยงเบน 1) หลังจากที่แท่งเทียนสองแท่งปิดอยู่ภายในแถบนั้น โดยเป็นไปตามกฎ BB1 จากบทความที่เกี่ยวข้อง ซึ่งการเคลื่อนตัวออกจากแถบจะถูกอ่านในทิศทางของการทะลุ

  • เนื้อไม่มีมัน iqow-bb1-bollinger.lua
  • เวอร์ชั่น 1.0.0
  • ขนาด 140 บรรทัด · 5 KB
  • ระยะเวลา เทียน 5 นาที
  • ใบอนุญาตประกอบธุรกิจ เอ็มไอที
BB1 Bollinger ที่วาดบนแท่งเทียนจำลอง
วิธีการแสดงผลของสคริปต์ แสดงบนแท่งเทียนสังเคราะห์ที่สร้างขึ้นเพื่อการทดสอบ เป็นเพียงภาพประกอบของเครื่องหมายและเส้น ไม่ใช่ข้อมูลตลาดจริงหรือผลลัพธ์ที่แท้จริง

กฎระเบียบ

เครื่องหมายที่สูงกว่า

แท่งเทียนปิดเหนือเส้น Bollinger Band ด้านบน (20, ค่าเบี่ยงเบน 1) หลังจากที่แท่งเทียนสองแท่งก่อนหน้าปิดที่ระดับเดียวกับหรือต่ำกว่าเส้นดังกล่าว

เครื่องหมายล่าง

แท่งเทียนปิดต่ำกว่าเส้น Bollinger Band ด้านล่าง (20, ค่าเบี่ยงเบน 1) หลังจากที่แท่งเทียนสองแท่งก่อนหน้าปิดที่ระดับเดียวกับหรือสูงกว่าเส้นดังกล่าว

เครื่องหมายจะปรากฏขึ้นหลังจากแท่งเทียนถัดไปเปิด และจะถูกวาดลงบนแท่งเทียนที่สร้างรูปแบบการตั้งค่าเสร็จสมบูรณ์ นี่เป็นเพียงการสังเกตการณ์บนกราฟ ไม่ใช่คำแนะนำในการซื้อขาย

วิธีอ่าน

เส้นสีน้ำเงินคือแถบบนและล่าง ซึ่งอยู่ห่างจากค่าเฉลี่ย 20 แท่งเทียนไปหนึ่งค่าเบี่ยงเบนมาตรฐาน โดยมีเส้นกลางบางๆ คั่นอยู่ สามเหลี่ยมสีเขียวที่เขียนว่า "สูงขึ้น" ใต้แท่งเทียนแสดงว่าราคาปิดล่าสุดอยู่เหนือแถบบน สามเหลี่ยมสีแดงที่เขียนว่า "ต่ำลง" เหนือแท่งเทียนแสดงว่าราคาปิดล่าสุดอยู่ต่ำกว่าแถบล่าง

ตัวชี้วัดที่ใช้

  • แถบโบลิงเจอร์ (20, ค่าเบี่ยงเบน 1)

มุมมองเดียวกันกับตัวบ่งชี้ในตัว: เพิ่ม Bollinger Bands โดยกำหนดช่วงเวลาเป็น 20 และค่าเบี่ยงเบนมาตรฐานเป็น 1 บนกราฟแท่งเทียนญี่ปุ่น 5 นาที

การตั้งค่าเริ่มต้น

ช่วงเวลาของโบลลิงเจอร์20
การเบี่ยงเบน1
จุดเทียนไว้ข้างในก่อนปิดร้าน2

ค่าทุกค่าเป็นค่าป้อนเข้าในการตั้งค่าสคริปต์ คำแนะนำเกี่ยวกับแพลตฟอร์มถูกปิดใช้งานโดยค่าเริ่มต้น

ประเด็นสำคัญ

  1. BB1 คือ Bollinger Bands ที่ตั้งค่าส่วนเบี่ยงเบนเป็น 1 แทนที่จะเป็น 2
  2. ช่วงราคาแคบลง ดังนั้นราคาจึงปิดนอกช่วงราคาบ่อยขึ้น
  3. กฎนี้ต้องการการเริ่มต้นใหม่: แท่งเทียนสองแท่งก่อนหน้านี้ต้องปิดภายในกรอบราคา
  4. หากราคาปิดสูงกว่าแถบบน จะถูกทำเครื่องหมายว่า สูงกว่า (HIGHER) และหากราคาปิดต่ำกว่าแถบล่าง จะถูกทำเครื่องหมายว่า ต่ำกว่า (LOWER)
  5. บทความนี้ใช้ข้อมูลนี้กับกราฟ 5 นาที และเน้นตลาดที่มีแนวโน้มชัดเจน
  6. ทดสอบบนบัญชีทดลองและเปรียบเทียบช่วงขาขึ้นและขาลง

ข้อ จำกัด บทความนี้เสนอ BB1 เป็นเครื่องมือสำหรับตลาดที่มีแนวโน้ม และอาจให้ผลลัพธ์ที่ไม่ดีในตลาดทรงตัวที่ราคาหลุดออกนอกกรอบแคบๆ แล้วกลับตัวกลับ ค่าเบี่ยงเบน 1 นั้นแคบ ดังนั้นการปิดนอกกรอบจึงเป็นเหตุการณ์ทั่วไปมากกว่าเหตุการณ์สุดขั้ว ตัวบ่งชี้จะติดตามการทะลุผ่าน ซึ่งตรงกันข้ามกับการอ่านค่าการกลับตัวของกรอบ ทดสอบในบัญชีทดลองก่อนที่จะเสี่ยงใช้เงินจริง

เรียนรู้กลยุทธ์: อ่านคู่มือฉบับเต็มได้ที่ IQOptionWiki →

กรอกซอร์สโค้ดให้สมบูรณ์

ไฟล์ที่ดาวน์โหลดและตัวอย่างนี้แสดงผลลัพธ์เป็นไฟล์เดียวกัน SHA-256: 9339d745e157d9a183a94c38aa1b001e1e352e0b8583031769a2efed16d152af

-- SPDX-License-Identifier: MIT
-- IQOptionWiki QCS Library
-- IQOW BB1 Bollinger v1.0.0
--
-- BB1 is a Bollinger Bands setup with a deviation of 1 instead of the usual 2,
-- as described in the IQOptionWiki article. Price closing outside the narrow
-- band after sitting inside it marks a push away from the average.
--
-- HIGHER: this candle closes above the upper band after the previous two
--         candles closed at or below the upper band.
-- LOWER:  this candle closes below the lower band after the previous two
--         candles closed at or above the lower band.
--
-- 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 BB1 Bollinger",
    short_name = "IQOW BB1",
    overlay = true
}

input_group {
    "1. Bollinger Bands",
    bb_period = input (20, "Period", input.integer, 2, 200),
    bb_deviation = input (1, "Deviation", input.double, 0.1, 5, 0.1, false),
    quiet_candles = input (2, "Candles inside before the close", input.integer, 1, 5)
}

input_group {
    "Display and advice",
    lines_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",
    band_color = input { default = "#56CEFF", type = input.color },
    band_fill_color = input { default = rgba(86, 206, 255, 0.06), type = input.color },
    middle_color = input { default = rgba(255, 255, 255, 0.35), type = input.color },
    line_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 }
}

-- Bollinger Bands: SMA of close plus and minus deviation times stdev.
middle_band = sma (close, bb_period)
band_offset = stdev (close, bb_period) * bb_deviation
upper_band = middle_band + band_offset
lower_band = middle_band - band_offset

local close_now = get_value (close, nil)
local upper_now = get_value (upper_band, nil)
local lower_now = get_value (lower_band, nil)

local data_is_ready = close_now ~= nil and upper_now ~= nil and lower_now ~= nil

-- The earlier candles must have closed on the inner side of the band.
local was_inside_upper = data_is_ready
local was_inside_lower = data_is_ready
for back = 1, quiet_candles do
    local past_close = get_value (close [back], nil)
    local past_upper = get_value (upper_band [back], nil)
    local past_lower = get_value (lower_band [back], nil)
    if past_close == nil or past_upper == nil or past_lower == nil then
        was_inside_upper = false
        was_inside_lower = false
    else
        was_inside_upper = was_inside_upper and past_close <= past_upper
        was_inside_lower = was_inside_lower and past_close >= past_lower
    end
end

higher_setup = conditional (data_is_ready and close_now > upper_now and was_inside_upper)
lower_setup = conditional (data_is_ready and close_now < lower_now and was_inside_lower)

-- 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 (upper_band, lower_band, "Bollinger area", band_fill_color)
    plot (upper_band, "Upper band", band_color, line_width)
    plot (lower_band, "Lower band", band_color, line_width)
end

if middle_visible then
    plot (middle_band, "Middle band (SMA)", middle_color, 1)
end

if signals_visible then
    plot_shape (
        confirmed_higher,
        "BB1 HIGHER",
        shape_style.triangleup,
        shape_size.small,
        higher_color,
        shape_location.belowbar,
        -1,
        "HIGHER",
        signal_text_color
    )

    plot_shape (
        confirmed_lower,
        "BB1 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

สคริปต์ Breakout เพิ่มเติม

  • ฝ่าวงล้อม
  • ราคา
  • Intermediate
คะแนน IQOW2อันดับ #54หน้าต่างแบบเดินเข้าไปได้ 26 บาน · ผ่านการทดสอบการค้า 999,260 รายการ

การแหกเต่าดอนเชียน

สัญญาณนี้บ่งชี้ว่าราคาปิดสูงกว่าราคาสูงสุดหรือต่ำสุดในรอบ 20 แท่งเทียนก่อนหน้า เมื่อค่า ATR สูงกว่าค่าเฉลี่ย 50 ช่วงเวลา เป็นการทะลุช่องราคาแบบง่ายๆ ตามหลักการของกฎ Turtle โดยมีตัวกรอง ATR เพื่อสอบถามถึงความผันผวนที่เพิ่มขึ้น

ตัวชี้วัด: การทะลุของ Donchian (20) · ATR (14) · SMA ของ ATR (50)

  • ฝ่าวงล้อม
  • ราคา
  • Intermediate
คะแนน IQOW13อันดับ #47หน้าต่างแบบเดินเข้าไปได้ 26 บาน · ผ่านการทดสอบการค้า 4,836,424 รายการ

แถบความโกลาหลแบบแฟรกทัลแตก

แสดงถึงการปิดตัวลงของแถบความโกลาหลแบบแฟรกทัล: แถบด้านบนคือจุดสูงสุดแบบแฟรกทัลที่ได้รับการยืนยันครั้งสุดท้าย และแถบด้านล่างคือจุดต่ำสุดแบบแฟรกทัลที่ได้รับการยืนยันครั้งสุดท้าย

ตัวชี้วัด: วงเศษส่วนความโกลาหล

ดาวน์โหลดสคริปต์ทั้ง 74 รายการในรูปแบบไฟล์ ZIP เดียว • สัญญาอนุญาต MIT ให้ใช้งาน "ตามสภาพที่เป็นอยู่" โดยไม่มีการรับประกันใดๆ IQOptionWiki เป็นอิสระจาก • IQ Option ผู้ดำเนินการแพลตฟอร์ม ข้อมูลในที่นี้ไม่ใช่คำแนะนำด้านการลงทุนหรือการรับประกันผลลัพธ์ใดๆ

คำเตือนความเสี่ยงทั่วไป

ผลิตภัณฑ์ทางการเงินที่นำเสนอโดยบริษัทมีความเสี่ยงสูงและอาจส่งผลให้สูญเสียเงินทุนทั้งหมดของคุณ คุณไม่ควรลงทุนเงินที่คุณไม่สามารถจะเสียได้
โปรดทราบว่าบทความนี้ไม่ได้ให้คำแนะนำการลงทุนใดๆ ข้อมูลที่นำเสนอเกี่ยวกับเหตุการณ์ในอดีตหรือการพัฒนาที่อาจเกิดขึ้นในอนาคตเป็นเพียงความเห็นเท่านั้นและไม่สามารถรับประกันได้ว่าเป็นข้อเท็จจริง รวมถึงตัวอย่างที่ให้มา เราเตือนผู้อ่านตามนั้น