iqow-envelopes-rsi.lua 6 كيلوبايت · مجاني، مرخص بموجب رخصة MIT
بالنسبة IQ Option غرفة التداول عبر الإنترنت. لا يقوم تطبيق Quadcode برسم علامات أعلى وأدنى سعر على الهاتف المحمول.
أضفه إلى IQ Option في الخطوات 3
- احصل على الملف. اضغط على "الحصول على البرنامج النصي". سيقوم متصفحك بحفظ ملف بامتداد .lua.
- قم باستيراده IQ Option. افتح غرفة التداول عبر الإنترنت على رصيد التدريب. انقر على أيقونة الموجة في أسفل يسار الرسم البياني، وافتح علامة تبويب البرامج النصية، واضغط على استيراد البرنامج النصي، ثم اختر الملف.
- أضفها إلى الجدول. يُفتح الكود في محرر. انقر على زر الإضافة (+) الموجود أسفله (إضافة إلى الرسم البياني). لا يلزم الحفظ إلا بعد تعديل الكود.
دليل مصور كامل، مع لقطات شاشة →
خطر. التداول قد يُؤدي إلى خسارة المال. المؤشر هو مجرد ملاحظة على الرسم البياني، وليس تنبؤًا، وقد تم اختبار هذا البرنامج النصي على بيانات تجريبية، ولم يتم إثبات فعاليته في التداول الحقيقي. جرّبه أولًا على حساب التدريب.
- انعكاس
- السعر
- مبتدئ
يشير هذا إلى ارتداد من خطوط المظروف: تصل الشمعة إلى الخط الخارجي، ثم تغلق عائدةً إلى الداخل، ويؤكد مؤشر القوة النسبية (RSI) أن السعر قد تمدد. ويتبع هذا الأسلوب طريقة "الارتداد من الجوانب" المذكورة في المقال ذي الصلة.
القواعد
علامة أعلى
يلامس أدنى مستوى للشمعة أو يخترق الغلاف السفلي (SMA 20، الانحراف 1 = 0.1٪)، ثم يغلق مرة أخرى فوق هذا الخط، ويكون مؤشر القوة النسبية (RSI) (14) أقل من 35.
علامة سفلية
عندما تصل أعلى قيمة للشمعة إلى الغلاف العلوي أو تخترقه، فإنها تغلق مرة أخرى أسفل ذلك الخط، ويكون مؤشر القوة النسبية (14) أعلى من 65.
يظهر مؤشر بعد افتتاح الشمعة التالية، ويُرسم على الشمعة التي أكملت النموذج. هذا المؤشر هو مجرد ملاحظة على الرسم البياني، وليس توجيهًا للتداول.
كيفية قراءته
الخطوط الزرقاء تمثل الحدين العلوي والسفلي للغلاف، والخط البرتقالي يمثل المتوسط المتحرك البسيط بينهما. يشير المثلث الأخضر "أعلى" أسفل الشمعة إلى ارتداد من الخط السفلي مع مؤشر القوة النسبية (RSI) أقل من 35؛ بينما يشير المثلث الأحمر "أسفل" أعلى الشمعة إلى ارتداد من الخط العلوي مع مؤشر القوة النسبية (RSI) أعلى من 65.
المؤشرات المستخدمة
- أظرف المتوسط المتحرك (SMA 20، الانحراف 1)
- RSI (14, 35/65)
نفس العرض مع المؤشرات المدمجة: أضف الأظرف (SMA 20، الانحراف 1) على مخطط السعر ومؤشر القوة النسبية (14) أسفله.
الإعدادات الافتراضية
| فترة المتوسط المتحرك البسيط | 20 |
|---|---|
| انحراف (IQ Option الوحدات، 1 = 0.1%) | 1 |
| فترة RSI | 14 |
| مستوى مؤشر القوة النسبية (RSI) للأعلى | 35 |
| مستوى مؤشر القوة النسبية (RSI) للأسفل | 65 |
كل قيمة هي مدخل في إعدادات البرنامج النصي. نصائح النظام الأساسي معطلة افتراضيًا.
النقاط الرئيسية
- الأظرف هي متوسط متحرك مع خطين متوازيين، ونسبة مئوية ثابتة أعلى وأسفل.
- On IQ Option يتم إدخال الانحراف بأجزاء من عشرة بالمئة، لذا فإن 1 تعني 0.1 بالمئة.
- تقول طريقة الارتداد المذكورة في المقال إنه يجب مراقبة السعر وهو يلامس خطاً خارجياً ثم يعود للخلف.
- نضيف مؤشر القوة النسبية: أقل من 35 لارتداد الخط السفلي، وأعلى من 65 لارتداد الخط العلوي.
- يجب أن تنغلق الشمعة مرة أخرى داخل الظرف، لذلك لا يتم وضع علامة على وجود قطع في الخط.
- اضبط الانحراف وفقًا لإطارك الزمني واختبره على رصيد تدريبي.
القيود. تشير المقالة إلى أن الارتدادات تناسب الأسواق منخفضة التقلب، بينما تمثل الاختراقات عبر الخط في الأسواق سريعة التقلب عكس ذلك. لا يتكيف عرض النسبة المئوية الثابتة مع التقلبات، لذا يجب ضبط الانحراف لكل إطار زمني وأداة مالية؛ تستخدم أمثلة المقالة المتوسط المتحرك البسيط 9، بينما يستخدم هذا البرنامج المتوسط المتحرك البسيط 20. اختبر على رصيد التدريب قبل المخاطرة بأموال حقيقية.
كود المصدر الكامل
يُشير كلٌ من التنزيل وهذه المعاينة إلى نفس الملف الذي تمت مراجعته. SHA-256: 3c6ad37d98b160161b38b67515ed9c8d06c8124e6a6c09a7ce27dfffab60ec33
-- SPDX-License-Identifier: MIT
-- IQOptionWiki QCS Library
-- IQOW Envelopes RSI v1.0.1
--
-- Moving Average Envelopes draw two lines a fixed percentage above and below
-- a simple moving average. The article's "bounce from the sides" idea is used:
-- price dips through an envelope line, closes back inside, and RSI agrees that
-- the move was stretched. Deviation uses IQ Option's unit: 1 = 0.1% of the average.
--
-- RSI follows IQ Option's built-in RSI: closing prices, with the average gain
-- and the average loss smoothed by an exponential average (alpha 2 / (period +
-- 1)). Version 1.0.1 (9 October 2026) changed this from Wilder smoothing; the
-- inputs, periods and levels are unchanged.
--
-- HIGHER: the low touches or pierces the lower envelope, the candle closes back
-- above it, and RSI(14) is below 35.
-- LOWER: the high touches or pierces the upper envelope, the candle closes back
-- below it, and RSI(14) is above 65.
--
-- 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 Envelopes RSI",
short_name = "IQOW ENV RSI",
overlay = true
}
input_group {
"1. Envelopes",
envelope_period = input (20, "SMA period", input.integer, 2, 200),
envelope_deviation = input (1, "Deviation (1 = 0.1%)", input.double, 0.01, 300, 0.01, false)
}
input_group {
"2. RSI filter",
rsi_period = input (14, "RSI period", input.integer, 2, 100),
rsi_low_level = input (35, "RSI below this for HIGHER", input.double, 5, 50, 1, false),
rsi_high_level = input (65, "RSI above this for LOWER", input.double, 50, 95, 1, false)
}
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",
envelope_color = input { default = "#2384C2", type = input.color },
envelope_fill_color = input { default = rgba(86, 206, 255, 0.10), type = input.color },
middle_color = input { default = "#FF7700", 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 }
}
-- Envelopes as on the IQ Option chart: SMA plus and minus deviation / 1000.
middle_line = sma (close, envelope_period)
envelope_offset = envelope_deviation / 1000 * middle_line
upper_line = middle_line + envelope_offset
lower_line = middle_line - envelope_offset
-- RSI as IQ Option's built-in RSI draws it: the average gain and the average
-- loss are exponential averages (alpha = 2 / (period + 1)), not Wilder's
-- smoothing (alpha = 1 / period). It stays empty until both averages exist and
-- is 50 when price did not move at all.
rsi_change = close - close [1]
rsi_gain = ema (max (rsi_change, 0), rsi_period)
rsi_loss = ema (max (-rsi_change, 0), rsi_period)
rsi_total = rsi_gain + rsi_loss
rsi_value = iff (rsi_total > 0, 100 * rsi_gain / rsi_total, rsi_total + 50)
local high_now = get_value (high, nil)
local low_now = get_value (low, nil)
local close_now = get_value (close, nil)
local upper_now = get_value (upper_line, nil)
local lower_now = get_value (lower_line, nil)
local rsi_now = get_value (rsi_value, nil)
local levels_are_valid = rsi_low_level < 50 and rsi_high_level > 50
local data_is_ready =
levels_are_valid and
high_now ~= nil and low_now ~= nil and close_now ~= nil and
upper_now ~= nil and lower_now ~= nil and rsi_now ~= nil
-- Touch the envelope, close back inside, and RSI shows the stretch.
higher_setup = conditional (
data_is_ready and low_now <= lower_now and close_now > lower_now and rsi_now < rsi_low_level
)
lower_setup = conditional (
data_is_ready and high_now >= upper_now and close_now < upper_now and rsi_now > rsi_high_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 (upper_line, lower_line, "Envelope area", envelope_fill_color)
plot (upper_line, "Upper envelope", envelope_color, line_width)
plot (lower_line, "Lower envelope", envelope_color, line_width)
end
if middle_visible then
plot (middle_line, "Envelope middle (SMA)", middle_color, 1)
end
if signals_visible then
plot_shape (
confirmed_higher,
"ENV RSI HIGHER",
shape_style.triangleup,
shape_size.small,
higher_color,
shape_location.belowbar,
-1,
"HIGHER",
signal_text_color
)
plot_shape (
confirmed_lower,
"ENV RSI 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
المزيد من نصوص الانعكاس
- انعكاس
- لوحة خاصة
- متوسط
مؤشر ستوكاستيك المزدوج
يُشير هذا المؤشر إلى الشمعة التي يؤكد عندها مؤشر ستوكاستيك البطيء تقاطعًا انعكاسيًا سبق أن أظهره مؤشر ستوكاستيك السريع في نفس منطقة ذروة البيع أو ذروة الشراء. باستخدام إعدادين، يتم طرح نفس السؤال على نطاقين زمنيين مختلفين قبل ظهور المؤشر.
المؤشرات: عشوائي سريع (8، 3، 5) · عشوائي بطيء (17، 3، 7)
- انعكاس
- لوحة خاصة
- متوسط
انعكاس تحويل فيشر
يُشير هذا إلى تقاطع تحويل فيشر مع خط الزناد الخاص به عندما يكون المؤشر في منطقة قصوى. وهذا هو تأكيد التقاطع ثم الوصول إلى أقصى حد، كما هو موضح في المقالة ذات الصلة.
المؤشرات: إيلرز فيشر ترانسفورم (10)
- انعكاس
- السعر
- مبتدئ
هارامي آر إس آي
يُحدد هذا النمط أزواج الشموع الصاعدة والهابطة وفقًا لنمط هارامي عندما يكون مؤشر القوة النسبية (RSI) في منطقة منخفضة أو مرتفعة. يساعد مؤشر القوة النسبية في التحقق مما إذا كان الزوج يتبع حركة صعودية في الاتجاه المعاكس.
المؤشرات: زوج شموع Harami · مؤشر القوة النسبية (14، 40/60)
قم بتنزيل جميع النصوص الـ 74 كملف مضغوط واحد (ZIP). رخصة MIT، مُقدمة "كما هي"، بدون ضمان. موقع IQOptionWiki مستقل عن IQ Option مشغل المنصة. لا تُعدّ أيٌّ من المعلومات الواردة هنا نصيحة استثمارية أو ضماناً للنتائج.