1 مرفقمرفقات هل يمكن لشخص ما مساعدتي في العثور على التنبيه لتعمل؟ لديه ميزة ، ولكن لا يبدو أن العمل.
شكرا لكم
هنا هو رمز (وسأقوم بإرفاق المؤشر):
#property copyright حقوق الطبع والنشر © 2006، ايلي هيون
# رابط العقار
#property indior_chart_window
#property indior_buffers 2
#property indior_color1 Blue
#property indior_color2 Crimson
//- أدخل المعلمات
extern Int fastEma = 38؛
extern int slowEma = 120؛
extern int macdSma = 20؛
extern bool UseAlert = false؛
//-- مخازن
double ExtMapBuffer1 []؛
double ExtMapBuffer2 []؛
// ----------------------------------------------- -------------------
//| وظيفة التهيئة مؤشر مخصص
// ----------------------------------------------- -------------------
int init ()
//- المؤشرات
SetIndexStyle (0، DRAW_ARROW)؛
SetIndexArrow (0233)؛
SetIndexBuffer (0، ExtMapBuffer1)؛
SetIndexEmptyValue (0،0.0)؛
SetIndexStyle (1، DRAW_ARROW)؛
SetIndexArrow (1234)؛
SetIndexBuffer (1، ExtMapBuffer2)؛
SetIndexEmptyValue (1،0.0)؛
//-
عودة (0)؛
// ----------------------------------------------- -------------------
//| وظيفة مخصصة مؤشر تسييل |
// ----------------------------------------------- -------------------
int deinit ()
//-
//-
عودة (0)؛
// ----------------------------------------------- -------------------
//| وظيفة التكرار مؤشر مخصص
// ----------------------------------------------- -------------------
int تبدأ ()
الحد الأقصى
int counted_bars = IndiorCounted ()؛
//- التحقق من الأخطاء المحتملة
إذا (counted_barslt؛ 0) return (-1)؛
//- سيتم عد الحانة الأخيرة
إذا (counted_barsgt؛ 0) counted_bars--
حد = البارات-counted_bars.
//- حلقة رئيسية
لـ (int I = 0؛ ilt ؛ تحديد ؛ I )
ExtMapBuffer1 [I] = 0؛ ExtMapBuffer2 [I] = 0؛
double macdMain0 = iMACD (NULL، 0، fastEma، slowEma، macdSma، PRICE_CLOSE، MODE_MAIN، I)؛
double macdMain2 = iMACD (NULL، 0، fastEma، slowEma، macdSma، PRICE_CLOSE، MODE_MAIN، I 1)؛
double macdSignal0 = iMACD (NULL، 0، fastEma، slowEma، macdSma، PRICE_CLOSE، MODE_SIGNAL، I)؛
double macdSignal2 = iMACD (NULL، 0، fastEma، slowEma، macdSma، PRICE_CLOSE، MODE_SIGNAL، I 1)؛
if (macdMain0 gt؛ macdSignal0 macdMain2 lt؛ macdSignal2)
ExtMapBuffer1 [I] = iLow (NULL، 0، I 1)؛
if (macdMain0 lt؛ macdSignal0 macdMain2 gt؛ macdSignal2)
ExtMapBuffer2 [I] = iHigh (NULL، 0، I 1)؛
عودة (0)؛
// ----------------------------------------------- -------------------
https://www.cavemantrading.com/attac...6588651794.mq4