iqow-fractal-alligator.lua 6 كيلوبايت · مجاني، مرخص بموجب رخصة MIT
بالنسبة IQ Option غرفة التداول عبر الإنترنت. لا يقوم تطبيق Quadcode برسم علامات أعلى وأدنى سعر على الهاتف المحمول.
أضفه إلى IQ Option في الخطوات 3
- احصل على الملف. اضغط على "الحصول على البرنامج النصي". سيقوم متصفحك بحفظ ملف بامتداد .lua.
- قم باستيراده IQ Option. افتح غرفة التداول عبر الإنترنت على رصيد التدريب. انقر على أيقونة الموجة في أسفل يسار الرسم البياني، وافتح علامة تبويب البرامج النصية، واضغط على استيراد البرنامج النصي، ثم اختر الملف.
- أضفها إلى الجدول. يُفتح الكود في محرر. انقر على زر الإضافة (+) الموجود أسفله (إضافة إلى الرسم البياني). لا يلزم الحفظ إلا بعد تعديل الكود.
دليل مصور كامل، مع لقطات شاشة →
خطر. التداول قد يُؤدي إلى خسارة المال. المؤشر هو مجرد ملاحظة على الرسم البياني، وليس تنبؤًا، وقد تم اختبار هذا البرنامج النصي على بيانات تجريبية، ولم يتم إثبات فعاليته في التداول الحقيقي. جرّبه أولًا على حساب التدريب.
- اكثر شيوعا
- السعر
- متقدم
يُشير هذا إلى إغلاق عند آخر مستوى كسري مؤكد عندما يقع هذا المستوى خلف أسنان التمساح. يُحدد التمساح اتجاه السوق، بينما يُحدد النمط الكسري مستوى الاختراق.
القواعد
علامة أعلى
تغلق الشمعة فوق آخر مستوى كسري صاعد مؤكد بعد أن كان الإغلاق السابق عنده أو تحته، وهذا المستوى أعلى من أسنان التمساح.
علامة سفلية
تغلق الشمعة أسفل آخر مستوى كسري هابط مؤكد بعد أن كان الإغلاق السابق عنده أو فوقه، وهذا المستوى يقع أسفل أسنان التمساح.
يظهر مؤشر بعد افتتاح الشمعة التالية، ويُرسم على الشمعة التي أكملت النموذج. هذا المؤشر هو مجرد ملاحظة على الرسم البياني، وليس توجيهًا للتداول.
كيفية قراءته
الخطوط الزرقاء والحمراء والخضراء تمثل فك التمساح وأسنانه وشفتيه، مرسومةً مع إزاحة للأمام. المستويات البيضاء المنقطة هي آخر الفراكتلات الصاعدة والهابطة المؤكدة. يشير المثلث الأخضر الأعلى إلى إغلاق فوق آخر فراكتال صاعد مع وجود هذا المستوى فوق الأسنان؛ أما المثلث الأحمر الأدنى فيشير إلى الحالة المعكوسة.
المؤشرات المستخدمة
- كسور ويليامز (5)
- التمساح (13/8/5، تم تغييره إلى 8/5/3)
نفس العرض مع المؤشرات المدمجة: أضف Fractal (5) و Alligator (13/8/5) وراقب الإغلاقات من خلال مستوى كسري يتجاوز خط الأسنان.
الإعدادات الافتراضية
| فترة الفك / نوبة العمل | 13 / 8 |
|---|---|
| فترة نمو الأسنان / التحول | 8 / 5 |
| فترة الشفاه / التحول | 5 / 3 |
| الحجم الكسري | الشموع 5 |
كل قيمة هي مدخل في إعدادات البرنامج النصي. نصائح النظام الأساسي معطلة افتراضيًا.
النقاط الرئيسية
- الفراكتال هو خمس شموع يكون أعلى سعر فيها أو أدنى سعر فيها في المنتصف.
- لا يتم تأكيد ذلك إلا بعد شمعتين، لذا فإن البرنامج النصي لا يستخدم الشموع اللاحقة.
- يتذكر البرنامج النصي آخر مستويات الفراكتال الصاعدة والهابطة.
- تُظهر أسنان التمساح مرجع الاتجاه، وقد تم تحريكه للأمام بمقدار خمس شموع.
- يتم تمييز الإغلاق من خلال مستوى كسري على جانب الاتجاه من الأسنان بـ "أعلى" أو "أسفل".
- تدرب على ميزان التدريب وشاهد ما يحدث في الأسواق الجانبية.
القيود. لا يتم تأكيد وجود نمط كسري إلا بعد شمعتين من الشمعة الوسطى، لذا تظهر المستويات بتأخير. يشرح المقال الأنماط الكسرية بشكل منفصل دون قاعدة التمساح، لذا فإن فلتر التمساح هو إضافة لهذه المكتبة؛ وتُحتسب حالات التعادل مع القمم أو القيعان المجاورة كنمط كسري، كما هو الحال في نطاقات الأنماط الكسرية الرسمية. اختبر على رصيد التدريب قبل المخاطرة بأموال حقيقية.
كود المصدر الكامل
يُشير كلٌ من التنزيل وهذه المعاينة إلى نفس الملف الذي تمت مراجعته. SHA-256: e68442c95bce26c5e639bab25350fd6a468206234f05b81afc6d7182e23b2d14
-- SPDX-License-Identifier: MIT
-- IQOptionWiki QCS Library
-- IQOW Fractal Alligator v1.0.0
--
-- Combines Williams fractals (five candles, confirmed two candles after the
-- middle one) with the Alligator (SMMA of the median price, jaw 13 shifted
-- 8, teeth 8 shifted 5, lips 5 shifted 3). The Alligator teeth act as the
-- trend reference: a fractal level beyond the teeth means the break comes
-- from the trend side.
--
-- HIGHER: close crosses above the last up-fractal level, and that level is
-- above the Alligator teeth.
-- LOWER: close crosses below the last down-fractal level, and that level is
-- below the Alligator teeth.
--
-- 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 Fractal Alligator",
short_name = "IQOW FR ALLIG",
overlay = true
}
input_group {
"1. Alligator",
jaw_period = input (13, "Jaw period", input.integer, 2, 100),
jaw_shift = input (8, "Jaw shift", input.integer, 0, 30),
teeth_period = input (8, "Teeth period", input.integer, 2, 100),
teeth_shift = input (5, "Teeth shift", input.integer, 0, 30),
lips_period = input (5, "Lips period", input.integer, 2, 100),
lips_shift = input (3, "Lips shift", input.integer, 0, 30)
}
input_group {
"Display and advice",
alligator_visible = input { default = true, type = input.plot_visibility },
fractals_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",
jaw_color = input { default = "#56CEFF", type = input.color },
teeth_color = input { default = "#FF6C58", type = input.color },
lips_color = input { default = "#25E154", type = input.color },
fractal_color = input { default = rgba(255, 255, 255, 0.6), 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 }
}
-- Alligator lines: SMMA (ssma) of the median price.
jaw_line = ssma (hl2, jaw_period)
teeth_line = ssma (hl2, teeth_period)
lips_line = ssma (hl2, lips_period)
-- Williams fractal: the middle candle of five has the highest high (or lowest
-- low). It is only confirmed two candles later, so the pivot is read at [2]
-- and the level is remembered until the next fractal appears. No future bars.
local pivot_high = get_value (high [2], nil)
local pivot_low = get_value (low [2], nil)
local is_up_fractal =
pivot_high ~= nil and get_value (high [4], nil) ~= nil and
get_value (high, 0) <= pivot_high and get_value (high [1], 0) <= pivot_high and
get_value (high [3], 0) <= pivot_high and get_value (high [4], 0) <= pivot_high
local is_down_fractal =
pivot_low ~= nil and get_value (low [4], nil) ~= nil and
get_value (low, 0) >= pivot_low and get_value (low [1], 0) >= pivot_low and
get_value (low [3], 0) >= pivot_low and get_value (low [4], 0) >= pivot_low
up_fractal_level = iff (is_up_fractal, high [2], up_fractal_level [1])
down_fractal_level = iff (is_down_fractal, low [2], down_fractal_level [1])
-- The Alligator is drawn shifted forward. The value shown under the current
-- candle is the teeth calculated teeth_shift candles ago.
local teeth_now = get_value (teeth_line [teeth_shift], nil)
local up_level = get_value (up_fractal_level, nil)
local down_level = get_value (down_fractal_level, nil)
local close_now = get_value (close, nil)
local close_previous = get_value (close [1], nil)
local data_is_ready =
teeth_now ~= nil and up_level ~= nil and down_level ~= nil and
close_now ~= nil and close_previous ~= nil
higher_setup = conditional (
data_is_ready and
up_level > teeth_now and
close_now > up_level and close_previous <= up_level
)
lower_setup = conditional (
data_is_ready and
down_level < teeth_now and
close_now < down_level and close_previous >= down_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 alligator_visible then
plot (jaw_line, "Jaw", jaw_color, line_width, jaw_shift)
plot (teeth_line, "Teeth", teeth_color, line_width, teeth_shift)
plot (lips_line, "Lips", lips_color, line_width, lips_shift)
end
if fractals_visible then
plot (up_fractal_level, "Last up fractal", fractal_color, line_width, 0, style.points)
plot (down_fractal_level, "Last down fractal", fractal_color, line_width, 0, style.points)
end
if signals_visible then
plot_shape (
confirmed_higher,
"Fractal HIGHER",
shape_style.triangleup,
shape_size.small,
higher_color,
shape_location.belowbar,
-1,
"HIGHER",
signal_text_color
)
plot_shape (
confirmed_lower,
"Fractal 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
المزيد من نصوص الترند
- اكثر شيوعا
- السعر
- مبتدئ
هيكين آشي إي إم إيه
يشير إلى أول شمعة هايكن آشي صاعدة أو هابطة بعد سلسلة من شمعتين متعاكستين، فقط عندما يغلق السعر على الجانب المطابق لمتوسط الحركة الأسي 50. يتم حساب هايكن آشي داخل البرنامج النصي، لذلك يمكن أن يبقى الرسم البياني على الشموع العادية.
المؤشرات: شموع هايكن-آشي (محسوبة) · المتوسط المتحرك الأسي (50)
- اكثر شيوعا
- السعر
- متقدم
سحابة إيشيموكو كيجون
يشير هذا إلى إغلاق عكسي عبر خط كيجن-سين عندما يكون السعر بالفعل على جانب الاتجاه من سحابة إيشيموكو الملونة. تحدد السحابة الاتجاه، ويحدد تقاطع كيجن التوقيت.
المؤشرات: سحابة إيشيموكو (9، 26، 52، الإزاحة 26)
- اكثر شيوعا
- السعر
- متوسط
اتجاه كاما
تُغلق ماركس الصفقات التي تتقاطع مع المتوسط المتحرك التكيفي لكوفمان في اتجاه ميل المتوسط. ويؤدي فحص الميل إلى إزالة التقاطعات التي يكون فيها المتوسط المتحرك التكيفي لكوفمان، ذو الحركة البطيئة والمسطحة، على وشك أن يلامس السعر.
المؤشرات: كاما (10، 2، 30)
قم بتنزيل جميع النصوص الـ 74 كملف مضغوط واحد (ZIP). رخصة MIT، مُقدمة "كما هي"، بدون ضمان. موقع IQOptionWiki مستقل عن IQ Option مشغل المنصة. لا تُعدّ أيٌّ من المعلومات الواردة هنا نصيحة استثمارية أو ضماناً للنتائج.