باكتست الفوركس الخيار الثنائي


الخيارات الثنائية الحافة.


إي - باكتست استراتيجيات الخيارات الثنائية إي.


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


هذه هي أول مشاركة لي في هذا المنتدى، ويسرني جدا أن أقدم لكم إي أن انتهيت للتو ديفيلوبينغ.


أنا دائما قراءة الاستراتيجيات، وما إلى ذلك، ولكن لم أشارك بعد، لذلك هذا هو الآن إسهام المتواضع.


أنا ديفيلوبر (درجة الماجستير في ديفيلوبيمنت) وأنا رئيس المشاريع في صناعة البرمجيات.


أنا مبتدئ حقيقي على الفوركس / الخيارات الثنائية، أنا مهتم في هذا السوق لمدة 1 سنة الآن.


وحتى الآن، أنا لم يفز بأي سنت بعد. لكن سأفعل.


هذا إي (الإصدار 1.0) تعطيك كل ما تحتاجه لاختبار استراتيجيات بسيطة في MT4 للخيارات الثنائية.


هود: أنها تظهر معلومات حول الاستراتيجية الخاصة بك سوف ديفيلوبب مع هذا إي.


الرسم البياني: فإنه رسم على الأسهم الرسم البياني، تحقق ووقف للتجارة.


كيفية ديفيلوبب كنت تملك الاستراتيجيات؟


هنا هو رمز حيث يمكنك إضافة المؤشرات الخاصة بك وإضافة التعليمات البرمجية الخاصة بك ل بوت أو خيار كال:


المثال المعطى هو مؤشر القوة النسبية (لا يعمل استراتيجية!)


رصيد الحساب: تعيين الاستثمار الذي تريد أن تبدأ مع العوائد: تعيين النسبة المئوية وسيط تعطيك على العملة (إكسيمبل: دفع تعويضات 80٪) الاستثمار: تعيين الاستثمار الذي تريد أن تضع على كل موقف الخيار ثنائي (إكسيمبل: 5 €)


هذا هو كل شيء للإصدار 1.0.


قل لي إذا كنت ترغب في الإصدار 2.0 مع:


إدارة الأموال مارتينغال خطوات الرسوم البيانية التخصيصات اللون أي شيء آخر؟ ورحب الاقتراح!


من الواضح إذا كنت ترى أي الافتراضي أو البق، لا تتردد في الرد!


الملفات المرفقة.


Konkis_EA_BO_Tester_v1.0.mq4 14.29KB 549 التنزيلات.


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


محفوظة للإصدار 2.0.


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


محفوظة للإصدار 3.0.


مثل هذا خلافا ياويكس 16 يوليو 2018.


مثل هذا خلافا ندريههات 16 يوليو 2018.


ثاتس كبيرة وموثقة بشكل جيد.


أليس من الأفضل أن تكون مؤشرا وليس كخصخصة أمريكية؟


مثل هذا خلافا my_be 16 يوليو 2018.


انتصارات متتالية والخسائر المتتالية يمكن أن تضاف.


مثل هذا خلافا بيرنال 16 يوليو 2018.


لا يعمل بالنسبة لي ! هل يعمل على الرسم البياني الحالي أو فقط في اختبار استراتيجية؟


مثل هذا خلافا بيرنال 16 يوليو 2018.


آه حل المشكلة! لديك لوضعه في مجلد الخبراء.


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


مرحبا شكرا! حسنا سوف نلقي نظرة على ذلك، لم أكن قراءة جميع المشاركات في المنتدى حتى الآن.


ثاتس كبيرة وموثقة بشكل جيد.


أليس من الأفضل أن تكون مؤشرا وليس كخصخصة أمريكية؟


لا أنا لا أعتقد ذلك.


يمكن لمناطق العد القيام بأشياء أكثر من المؤشرات، مثل مارتينغال، وإدارة الأموال، والحسابات، وما إلى ذلك.


وأعتقد أن الجميع یشاركون المؤشرات، ولكن لا أحد یشارك مناطق العد، وأتساءل لماذا؟


حلمي، وآمل أن تصبح حقيقة واقعة، هو تبادل معرفتي ومهاراتي في ديفيلوبيمنت للحصول على إي جيدة، استنادا إلى أي استراتيجية.


ومن شأن هذا التقييم أن يحقق ربحا صغيرا ولكنه متسق مع مرور الوقت، وسيشاركه مع هذا المجتمع، لتحسينه ومناقشته وجعله صخبا.


أعتقد أن إن إي مشفرة بشكل جيد، يمكن أن يكون أكثر كفاءة من النظر إلى الرسم البياني طوال اليوم للعثور على دخول.


حتى مع تنبيه الصوت، أو البريد الإلكتروني، فإن إي يكون دائما أسرع من البشر.


لذلك، نعم، إي في باكتست تظهر دائما "أفضل" النتائج الممكنة وهناك الكثير من الاختلافات بين باكتست والتجارة الحية (بينغ، زمن الاستجابة، انتشار الخ ..).


ولكن هذا مؤشر لأي الناس الذين يرغبون في اختبار استراتيجية جديدة وتحسينه.


و إي أنا ديفيلوبينغ يمكن استخدامها كأساس لاختبار استراتيجية مثل استراتيجية نيميسيس V3 أو رينبو أو ما سأختبر في وقت لاحق.


أنا فقط بحاجة إلى قواعد تعمل بشكل جيد، وأنا أريد أن تقاسمها معكم يا رفاق.


مثل هذا خلافا بيرنال 16 يوليو 2018.


هذا الاختبار لديه مشكلة مع = يوبين (نول، 0، 0)؛ أحاول: إذا فتح الشمعة الحالية يفتح فوق / أدناه البولنجر العصابات ولكن أحصل على خطأ حاسم في إي! في علامة التبويب "الخبراء".


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


هذا الاختبار لديه مشكلة مع = يوبين (نول، 0، 0)؛ أحاول: إذا فتح الشمعة الحالية يفتح فوق / أدناه البولنجر العصابات ولكن أحصل على خطأ حاسم في إي! في علامة التبويب "الخبراء".


نعم فعلا ؟ يمكنك نسخ / لصق الخطأ ونسخ / لصق التعليمات البرمجية الخاصة بك إكسيمبل؟


مثل هذا خلافا بيرنال 16 يوليو 2018.


مثل هذا خلافا ياويكس 16 يوليو 2018.


مثل هذا خلافا بيرنال 16 يوليو 2018.


هناك استراتيجيات لها معدلات إيتم عالية والتي هي مربحة للغاية.


80٪ إيتم معدل ولكن عندما تشغيله على منصة حية إي لا يمكن أن تتكاثر نفس النتائج بسبب التأخير في تنفيذ التجارة والوسيط رفض الصفقات.


حول هذا التأخير جيدا، ونحن لا يمكن أن تفعل شيئا عن ذلك قبل شهر اقترحت على مشرف من mql5 لإضافة وظيفة إذا تأخر أجل 1 ثانية لإلغاء النظام، وهذا هو ما حصلت عليه من مشرف:


لا، لن تتم إضافة هذا الخيار.


لديك لتوضيح ذلك مع الوسيط الخاص بك.


ملاحظة: هذا هو ل إياس لا التداول اليدوي.


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


هناك استراتيجيات لها معدلات إيتم عالية والتي هي مربحة للغاية.


كل ما يمكنني قوله هو كل ما تحتاجه هو:


(أي لاغي واحد مع أكثر من استراتيجية معقدة) فس جيدة لتشغيل MT4 مع إي الخاص بك طوال اليوم وسيط جيد (أنا باستخدام غمفس مع أبي ثنائي الخيار جيدة)


أنا تنشيط التداول التلقائي مع غمفس واستراتيجية نيميسيس V1 أمس، وكانت التجارة سريعة حقا، لذلك أنا لا تقلق بشأن ذلك.


مثل هذا خلافا ياويكس 16 يوليو 2018.


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


حسنا وجدت الخطأ:


الخط 307، يرجى تغيير:


يمكنني تحديث إي في أول وظيفة لاختبار بيتا المقبل، ولكن لا أستطيع تحرير مشاركتي.


مثل هذا خلافا بيرنال 16 يوليو 2018.


ليك ذيس أونليكيس تيز 16 جول 2018.


هذه هي أول مشاركة لي في هذا المنتدى، ويسرني جدا أن أقدم لكم إي أن انتهيت للتو ديفيلوبينغ.


أنا دائما قراءة الاستراتيجيات، وما إلى ذلك، ولكن لم أشارك بعد، لذلك هذا هو الآن إسهام المتواضع.


أنا ديفيلوبر (درجة الماجستير في ديفيلوبيمنت) وأنا رئيس المشاريع في صناعة البرمجيات.


أنا مبتدئ حقيقي على الفوركس / الخيارات الثنائية، أنا مهتم في هذا السوق لمدة 1 سنة الآن.


وحتى الآن، أنا لم يفز بأي سنت بعد. لكن سأفعل.


هذا إي (الإصدار 1.0) تعطيك كل ما تحتاجه لاختبار استراتيجيات بسيطة في MT4 للخيارات الثنائية.


هود: أنها تظهر معلومات حول الاستراتيجية الخاصة بك سوف ديفيلوبب مع هذا إي.


الرسم البياني: فإنه رسم على الأسهم الرسم البياني، تحقق ووقف للتجارة.


كيفية ديفيلوبب كنت تملك الاستراتيجيات؟


هنا هو رمز حيث يمكنك إضافة المؤشرات الخاصة بك وإضافة التعليمات البرمجية الخاصة بك ل بوت أو خيار كال:


المثال المعطى هو مؤشر القوة النسبية (لا يعمل استراتيجية!)


رصيد الحساب: تعيين الاستثمار الذي تريد أن تبدأ مع العوائد: تعيين النسبة المئوية وسيط تعطيك على العملة (إكسيمبل: دفع تعويضات 80٪) الاستثمار: تعيين الاستثمار الذي تريد أن تضع على كل موقف الخيار ثنائي (إكسيمبل: 5 €)


هذا هو كل شيء للإصدار 1.0.


قل لي إذا كنت ترغب في الإصدار 2.0 مع:


إدارة الأموال مارتينغال خطوات الرسوم البيانية التخصيصات اللون أي شيء آخر؟ ورحب الاقتراح!


من الواضح إذا كنت ترى أي الافتراضي أو البق، لا تتردد في الرد!


عمل جميل جدا! تشكرات!!


سؤال واحد، كيف يمكنني تغيير وقت انتهاء الصلاحية؟ لذلك على سبيل المثال 5 الشموع بدلا من 1؟


ليك ذيس أونليكيس تيز 16 جول 2018.


اقتراح آخر سيكون لطباعة النتائج في المجلة، بحيث يمكنك روند اختبار الطبقة أيضا في أي وضع البصرية ونرى النتائج بعد ذلك في المجلة، يجعلها أسرع بكثير لاختبار.


الخيارات الثنائية الحافة.


إي - باكتست استراتيجيات الخيارات الثنائية إي.


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


هذه هي أول مشاركة لي في هذا المنتدى، ويسرني جدا أن أقدم لكم إي أن انتهيت للتو ديفيلوبينغ.


أنا دائما قراءة الاستراتيجيات، وما إلى ذلك، ولكن لم أشارك بعد، لذلك هذا هو الآن إسهام المتواضع.


أنا ديفيلوبر (درجة الماجستير في ديفيلوبيمنت) وأنا رئيس المشاريع في صناعة البرمجيات.


أنا مبتدئ حقيقي على الفوركس / الخيارات الثنائية، أنا مهتم في هذا السوق لمدة 1 سنة الآن.


وحتى الآن، أنا لم يفز بأي سنت بعد. لكن سأفعل.


هذا إي (الإصدار 1.0) تعطيك كل ما تحتاجه لاختبار استراتيجيات بسيطة في MT4 للخيارات الثنائية.


هود: أنها تظهر معلومات حول الاستراتيجية الخاصة بك سوف ديفيلوبب مع هذا إي.


الرسم البياني: فإنه رسم على الأسهم الرسم البياني، تحقق ووقف للتجارة.


كيفية ديفيلوبب كنت تملك الاستراتيجيات؟


هنا هو رمز حيث يمكنك إضافة المؤشرات الخاصة بك وإضافة التعليمات البرمجية الخاصة بك ل بوت أو خيار كال:


المثال المعطى هو مؤشر القوة النسبية (لا يعمل استراتيجية!)


رصيد الحساب: تعيين الاستثمار الذي تريد أن تبدأ مع العوائد: تعيين النسبة المئوية وسيط تعطيك على العملة (إكسيمبل: دفع تعويضات 80٪) الاستثمار: تعيين الاستثمار الذي تريد أن تضع على كل موقف الخيار ثنائي (إكسيمبل: 5 €)


هذا هو كل شيء للإصدار 1.0.


قل لي إذا كنت ترغب في الإصدار 2.0 مع:


إدارة الأموال مارتينغال خطوات الرسوم البيانية التخصيصات اللون أي شيء آخر؟ ورحب الاقتراح!


من الواضح إذا كنت ترى أي الافتراضي أو البق، لا تتردد في الرد!


الملفات المرفقة.


Konkis_EA_BO_Tester_v1.0.mq4 14.29KB 549 التنزيلات.


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


محفوظة للإصدار 2.0.


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


محفوظة للإصدار 3.0.


مثل هذا خلافا ياويكس 16 يوليو 2018.


مثل هذا خلافا ندريههات 16 يوليو 2018.


ثاتس كبيرة وموثقة بشكل جيد.


أليس من الأفضل أن تكون مؤشرا وليس كخصخصة أمريكية؟


مثل هذا خلافا my_be 16 يوليو 2018.


انتصارات متتالية والخسائر المتتالية يمكن أن تضاف.


مثل هذا خلافا بيرنال 16 يوليو 2018.


لا يعمل بالنسبة لي ! هل يعمل على الرسم البياني الحالي أو فقط في اختبار استراتيجية؟


مثل هذا خلافا بيرنال 16 يوليو 2018.


آه حل المشكلة! لديك لوضعه في مجلد الخبراء.


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


مرحبا شكرا! حسنا سوف نلقي نظرة على ذلك، لم أكن قراءة جميع المشاركات في المنتدى حتى الآن.


ثاتس كبيرة وموثقة بشكل جيد.


أليس من الأفضل أن تكون مؤشرا وليس كخصخصة أمريكية؟


لا أنا لا أعتقد ذلك.


يمكن لمناطق العد القيام بأشياء أكثر من المؤشرات، مثل مارتينغال، وإدارة الأموال، والحسابات، وما إلى ذلك.


وأعتقد أن الجميع یشاركون المؤشرات، ولكن لا أحد یشارك مناطق العد، وأتساءل لماذا؟


حلمي، وآمل أن تصبح حقيقة واقعة، هو تبادل معرفتي ومهاراتي في ديفيلوبيمنت للحصول على إي جيدة، استنادا إلى أي استراتيجية.


ومن شأن هذا التقييم أن يحقق ربحا صغيرا ولكنه متسق مع مرور الوقت، وسيشاركه مع هذا المجتمع، لتحسينه ومناقشته وجعله صخبا.


أعتقد أن إن إي مشفرة بشكل جيد، يمكن أن يكون أكثر كفاءة من النظر إلى الرسم البياني طوال اليوم للعثور على دخول.


حتى مع تنبيه الصوت، أو البريد الإلكتروني، فإن إي يكون دائما أسرع من البشر.


لذلك، نعم، إي في باكتست تظهر دائما "أفضل" النتائج الممكنة وهناك الكثير من الاختلافات بين باكتست والتجارة الحية (بينغ، زمن الاستجابة، انتشار الخ ..).


ولكن هذا مؤشر لأي الناس الذين يرغبون في اختبار استراتيجية جديدة وتحسينه.


و إي أنا ديفيلوبينغ يمكن استخدامها كأساس لاختبار استراتيجية مثل استراتيجية نيميسيس V3 أو رينبو أو ما سأختبر في وقت لاحق.


أنا فقط بحاجة إلى قواعد تعمل بشكل جيد، وأنا أريد أن تقاسمها معكم يا رفاق.


مثل هذا خلافا بيرنال 16 يوليو 2018.


هذا الاختبار لديه مشكلة مع = يوبين (نول، 0، 0)؛ أحاول: إذا فتح الشمعة الحالية يفتح فوق / أدناه البولنجر العصابات ولكن أحصل على خطأ حاسم في إي! في علامة التبويب "الخبراء".


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


هذا الاختبار لديه مشكلة مع = يوبين (نول، 0، 0)؛ أحاول: إذا فتح الشمعة الحالية يفتح فوق / أدناه البولنجر العصابات ولكن أحصل على خطأ حاسم في إي! في علامة التبويب "الخبراء".


نعم فعلا ؟ يمكنك نسخ / لصق الخطأ ونسخ / لصق التعليمات البرمجية الخاصة بك إكسيمبل؟


مثل هذا خلافا بيرنال 16 يوليو 2018.


مثل هذا خلافا ياويكس 16 يوليو 2018.


مثل هذا خلافا بيرنال 16 يوليو 2018.


هناك استراتيجيات لها معدلات إيتم عالية والتي هي مربحة للغاية.


80٪ إيتم معدل ولكن عندما تشغيله على منصة حية إي لا يمكن أن تتكاثر نفس النتائج بسبب التأخير في تنفيذ التجارة والوسيط رفض الصفقات.


حول هذا التأخير جيدا، ونحن لا يمكن أن تفعل شيئا عن ذلك قبل شهر اقترحت على مشرف من mql5 لإضافة وظيفة إذا تأخر أجل 1 ثانية لإلغاء النظام، وهذا هو ما حصلت عليه من مشرف:


لا، لن تتم إضافة هذا الخيار.


لديك لتوضيح ذلك مع الوسيط الخاص بك.


ملاحظة: هذا هو ل إياس لا التداول اليدوي.


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


هناك استراتيجيات لها معدلات إيتم عالية والتي هي مربحة للغاية.


كل ما يمكنني قوله هو كل ما تحتاجه هو:


(أي لاغي واحد مع أكثر من استراتيجية معقدة) فس جيدة لتشغيل MT4 مع إي الخاص بك طوال اليوم وسيط جيد (أنا باستخدام غمفس مع أبي ثنائي الخيار جيدة)


أنا تنشيط التداول التلقائي مع غمفس واستراتيجية نيميسيس V1 أمس، وكانت التجارة سريعة حقا، لذلك أنا لا تقلق بشأن ذلك.


مثل هذا خلافا ياويكس 16 يوليو 2018.


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


حسنا وجدت الخطأ:


الخط 307، يرجى تغيير:


يمكنني تحديث إي في أول وظيفة لاختبار بيتا المقبل، ولكن لا أستطيع تحرير مشاركتي.


مثل هذا خلافا بيرنال 16 يوليو 2018.


ليك ذيس أونليكيس تيز 16 جول 2018.


هذه هي أول مشاركة لي في هذا المنتدى، ويسرني جدا أن أقدم لكم إي أن انتهيت للتو ديفيلوبينغ.


أنا دائما قراءة الاستراتيجيات، وما إلى ذلك، ولكن لم أشارك بعد، لذلك هذا هو الآن إسهام المتواضع.


أنا ديفيلوبر (درجة الماجستير في ديفيلوبيمنت) وأنا رئيس المشاريع في صناعة البرمجيات.


أنا مبتدئ حقيقي على الفوركس / الخيارات الثنائية، أنا مهتم في هذا السوق لمدة 1 سنة الآن.


وحتى الآن، أنا لم يفز بأي سنت بعد. لكن سأفعل.


هذا إي (الإصدار 1.0) تعطيك كل ما تحتاجه لاختبار استراتيجيات بسيطة في MT4 للخيارات الثنائية.


هود: أنها تظهر معلومات حول الاستراتيجية الخاصة بك سوف ديفيلوبب مع هذا إي.


الرسم البياني: فإنه رسم على الأسهم الرسم البياني، تحقق ووقف للتجارة.


كيفية ديفيلوبب كنت تملك الاستراتيجيات؟


هنا هو رمز حيث يمكنك إضافة المؤشرات الخاصة بك وإضافة التعليمات البرمجية الخاصة بك ل بوت أو خيار كال:


المثال المعطى هو مؤشر القوة النسبية (لا يعمل استراتيجية!)


رصيد الحساب: تعيين الاستثمار الذي تريد أن تبدأ مع العوائد: تعيين النسبة المئوية وسيط تعطيك على العملة (إكسيمبل: دفع تعويضات 80٪) الاستثمار: تعيين الاستثمار الذي تريد أن تضع على كل موقف الخيار ثنائي (إكسيمبل: 5 €)


هذا هو كل شيء للإصدار 1.0.


قل لي إذا كنت ترغب في الإصدار 2.0 مع:


إدارة الأموال مارتينغال خطوات الرسوم البيانية التخصيصات اللون أي شيء آخر؟ ورحب الاقتراح!


من الواضح إذا كنت ترى أي الافتراضي أو البق، لا تتردد في الرد!


عمل جميل جدا! تشكرات!!


سؤال واحد، كيف يمكنني تغيير وقت انتهاء الصلاحية؟ لذلك على سبيل المثال 5 الشموع بدلا من 1؟


ليك ذيس أونليكيس تيز 16 جول 2018.


اقتراح آخر سيكون لطباعة النتائج في المجلة، بحيث يمكنك روند اختبار الطبقة أيضا في أي وضع البصرية ونرى النتائج بعد ذلك في المجلة، يجعلها أسرع بكثير لاختبار.


كيفية اختبار إي للخيارات الثنائية على اختبار استراتيجية mt4 على واحد من هذه السماسرة: كورليكيديتيماركيتس أو العاصمة الكبرى.


لا أحد يعرف كيفية اختبار إي للخيارات الثنائية على اختبار اختبار mt4 مع واحد من هذه السماسرة كورليكيتيماركيتس أو العاصمة الكبرى (لديهم خيارات ثنائية على أساس mt4)؟


شكرا لكم مقدما :)


ليس من الممكن. ولكن يمكنك باكتست إذا استخدام أوامر افتراضية.


كان لي طريقة لدعم اختبار بلدي ثنائي الخيار إي باستخدام وقت انتهاء لإغلاق النظام بعد الوقت الذي حددته. لقد فعلت ذلك باستخدام أوردر = SIGNAL_CLOSEBUY أو SIGNAL_CLOSESELL.


لديك لتعيين باكتست انتشار إلى 1 حتى لا صحيح 0 انتشار ستحصل مع بو ولكن يمكن أن تعطيك فكرة.


إكسترن إنت إنتيريتيملونغ = 15؛


إكسترن إنت إكسيريتيمشورت = 15؛


إنت تيمديفلونغ = إكسيريتيميلونغ * 60؛ // 60 = 1 دقيقة.


إنت تيمديفشورت = إكسيريتيمشورت * 60؛ // 60 = 1 دقيقة.


إغلاق الأوامر.


إف (تيمكونتنت () - أوردروبنتيمي () & غ؛ تيمديفلونغ) أوردر = SIGNAL_CLOSEBUY؛


أتمنى أن يساعدك هذا :-)


لا أحد يعرف كيفية اختبار إي للخيارات الثنائية على اختبار اختبار mt4 مع واحد من هذه السماسرة كورليكيتيماركيتس أو العاصمة الكبرى (لديهم خيارات ثنائية على أساس mt4)؟


شكرا لكم مقدما :)


أضف هذا الرمز. تعيين على زوج واحد وتعيين tester_close = ترو.


إف (tester_close) tester_close_f ()؛


فور (إنت i = أوردرزتوتال () - 1؛ i & غ؛ = 0؛ i--)


إف (أوردرزليكت (i، SELECT_BY_POS))


إف (أوردرماجينومبر () == ماجيك)


إف (أوردرزيمبول () == سيمبول ())


إف (تيمكونت () & غ؛ = أوردروبنتيمي () + expir_time * 60)


bool ticket_ex = فالس؛


ل (إنت j_ex = 0؛ j_ex & لوت؛ 26؛ j_ex ++)


بينما (إستراكونتيكستبوسي ()) النوم (200)؛


إف (أوردرتيب () == OP_BUY) ticket_ex = أوردركلوس (أوردرتيكيت ()، أورديرلوتس ()، بيد، 0، كلريلو)؛


إف (أوردرتيب () == OP_SELL) ticket_ex = أوردركلوس (أوردرتيكيت ()، أورديرلوتس ()، أسك، 0، كلريلو)؛


ليس من الممكن. ولكن يمكنك باكتست إذا استخدام أوامر افتراضية.


الرمز الخاص بك لا طائل منه. لم ريسوتل من تراتيغي.


أدناه هو نتيجة إذا كان استخدام النظام الظاهري والكتابة إلى ملف.


ومن المؤسف أن تقوم برمجية برمجس للناس.


أضف هذا الرمز. تعيين على زوج واحد وتعيين tester_close = ترو.


إف (tester_close) tester_close_f ()؛


فور (إنت i = أوردرزتوتال () - 1؛ i & غ؛ = 0؛ i--)


إف (أوردرزليكت (i، SELECT_BY_POS))


إف (أوردرماجينومبر () == ماجيك)


إف (أوردرزيمبول () == سيمبول ())


إف (تيمكونت () & غ؛ = أوردروبنتيمي () + expir_time * 60)


bool ticket_ex = فالس؛


ل (إنت j_ex = 0؛ j_ex & لوت؛ 26؛ j_ex ++)


بينما (إستراكونتيكستبوسي ()) النوم (200)؛


إف (أوردرتيب () == OP_BUY) ticket_ex = أوردركلوس (أوردرتيكيت ()، أورديرلوتس ()، بيد، 0، كلريلو)؛


إف (أوردرتيب () == OP_SELL) ticket_ex = أوردركلوس (أوردرتيكيت ()، أورديرلوتس ()، أسك، 0، كلريلو)؛


الرمز الخاص بك لا طائل منه. لم ريسوتل من تراتيغي.


أدناه هو نتيجة إذا استخدام النظام الظاهري والكتابة إلى ملف.


اختبار الخيارات الثنائية - أول منصة في العالم لخلق واختبار الروبوتات الخيارات الثنائية.


استمتع خلق واختبار الخيارات الثنائية الروبوتات على الانترنت.


البرق - باكتستس سريع.


يختبر استراتيجياتك ضد البيانات التاريخية ويظهر لك النتائج في غمضة عين.


رمز ممتاز دون الترميز.


يتيح لك إنشاء المستشارين الخبراء دون كتابة سطر واحد من التعليمات البرمجية. ومع ذلك، فإن مدونة الخبراء المصدرة نظيفة وسهلة القراءة والتعديل.


واحد - انقر ستارتيجي مولد.


يسمح لك لتوليد استراتيجيات لكل سوق. حدد العملة والإطار الزمني - التطبيق سوف تفعل بقية بالنسبة لك.


الخبراء التي تجعل الشعور.


تمكنك من إنشاء استراتيجيات سليمة منطقيا فقط باستخدام بنية استراتيجية محددة مسبقا وقواعد التداول.


المؤشرات الصلبة الصخرية.


تعتمد فقط على مؤشرات ميتاتريدر القياسية التي تعرفها وتحبها. استخدام مؤشرات ميتاتريدر يجعل إي ستوديو سريع للغاية وموثوق بها.


اختبار المتانة.


الفوائد من أحدث التقنيات من أجل اختبار متانة الخبراء الخبراء: محاكاة مونتي كارلو واختبار السوق المتعددة.


حرية الوصول للاختبار.


مطلوب الاشتراك لتصدير خبراء الإشارات والتجارة.


يمكنك اختبار التطبيق بحرية واستخدام مولد، ومجموعات استراتيجية وجميع الأدوات القوية الأخرى.


ومع ذلك، تحتاج إلى اشتراك من أجل تصدير إشارات الخبراء والخبراء التجاريين ل ميتاتريدر 4.


كيف اختبار الخيارات الثنائية يساعدك على الفوز.


يمكن أن يفشل خبير واحد أديفسور في ظروف السوق الحقيقية. نحن إنشاء مجموعة من الاستراتيجيات لكل سوق (دعونا نقول 2، 5، 10 و هيليب؛) ووضع كل منهم للتداول في وقت واحد. هذا أمر سهل بسبب قوة اختبار الخيارات الثنائية. في نهاية الأسبوع (أو فترة أخرى محددة مسبقا) نقوم بتقييم أداء جميع الخبراء. نحن إزالة تلك التي تفشل واستبدالها مع تلك الجديدة التي أنشأناها بالفعل. نحن لا نعتمد على خبير واحد أو في سوق واحد لأننا لا تقتصر على أنظمة التداول لدينا.


الجودة هي أولويتنا.


الخيارات الثنائية تستر التجارة والتجار الخبراء مكتوبة في 100٪ رمز مقل الأصلي. برنامجنا لا يتطلب كود طرف ثالث ويجمع في ميتاترادر ​​دون أي أخطاء أو تحذيرات.


سير العمل المؤتمتة بالكامل.


نعم بالطبع اختبار الخيارات الثنائية هي منصة الأكثر تقدما لخلق استراتيجيات للإشارات والمستشارين الخبراء التجاريين. انها تمكنك من استخدام سير العمل مؤتمتة بالكامل لتوليد والتحسين والتحقق من صحة السير التجارية. ويسمى هذا النظام مفاعل الاستراتيجية.


لماذا الخيارات الثنائية تستر المسائل.


أنا معجب جدا مع اختبار الخيارات الثنائية. أنها قوية جدا وسريعة وسهلة الاستخدام في نفس الوقت الذي أنا متحمس حقا حول قدراتها. بصراحة لم أكن أتوقع أن يكون الكثير من الاحتمالات في تطبيق ويب.


اختبار الخيارات الثنائية يوفر لك جميع الأدوات اللازمة لإنشاء وتحليل الخبراء المستشارين.


يخدم مولد غرض واحد. وهذا هو - لتوفر لك مع عدد غير محدود عمليا من الاستراتيجيات. مولد يخلق واختبارات الاستراتيجيات الخاصة بك تلقائيا. ويستخدم معايير القبول المتقدمة لاختيار أفضل الاستراتيجيات التي تناسب الاحتياجات الخاصة بك.


مجموعة.


أفضل الاستراتيجيات من مولد الذهاب إلى مجموعة. هناك يمكنك فرز وتصفية أفضل الاستراتيجيات كما يحلو لك. هذا يسمح لك بسهولة لاختيار الاستراتيجيات الأكثر ملاءمة للتجارة. قد تجد مجموعة لتكون أداة مفيدة جدا التي تمكنك من اختيار بسهولة استراتيجية مع مخطط جيد. سيؤدي النقر على إستراتيجية في المجموعة إلى تحميلها في المحرر.


محسن هو أداة سريعة تم إنشاؤها لتحسين المعلمات الرقمية للمؤشر، فضلا عن وقف الخسارة وجني الأرباح الجديد. محسن يسمح لك للقيام بها من عينة الاختبار، للتحقق من صحة الاستراتيجيات وإضافتها إلى المجموعة.


في محرر يمكنك أن ترى المعلمات الاستراتيجية الأساسية، والمؤشرات وقواعد التداول. يمكنك أيضا استخدامه لمراجعة استراتيجيات من مولد وكذلك لخلق الاستراتيجيات الخاصة جدا يدويا. في كل مرة تقوم فيها بتغيير شيء ما في الإستراتيجية سيقوم المحرر بإعادة حساب الإحصائيات والرسم البياني للميزان.


مونتي كارلو.


مونتي كارلو هو الأداة الأكثر أهمية للتحقق من صحة متانة تراديغن الخاص بك. البرنامج يجعل مختلف التعاليم تحاول تقليل الأداء. فإنه يظهر لك احصائيات كومبليت وأيضا جدول الثقة.


متعدد السوق.


يمكنك بسهولة اختبار كيفية أداء ستيتيجيس في الأسواق المختلفة. هذه الأداة تحميل سلسلة بيانات مختلفة وتنفيذ باكتست بنقرة واحدة. ترى خطوط التوازن مختلفة تآمر على مخطط واحد، مما يجعل من السهل جدا التقييم. يمكنك أيضا تعيين معايير للتحقق الآلي.


باكتست الإحصائيات والرسوم البيانية.


معايير التحقق من الصحة.


لديك السيطرة الكاملة لتحديد كيف سيقوم البرنامج بإنشاء السير التجارية.


البيانات التاريخية.


مفاعل الاستراتيجية.


مفاعل الاستراتيجية هو سير العمل الآلي لوضع الاستراتيجيات والتحقق من صحتها.


حرية الوصول للاختبار.


مطلوب الاشتراك لتصدير خبراء الإشارات والتجارة.


يمكنك اختبار التطبيق بحرية واستخدام مولد، ومجموعات استراتيجية وجميع الأدوات القوية الأخرى.


ومع ذلك، تحتاج إلى اشتراك من أجل تصدير إشارات الخبراء والخبراء التجاريين ل ميتاتريدر 4.


فوركس سوفتوار Ltd.


برنامج تداول العملات الأجنبية الآلي للمبتدئين والتجار المحترفين. إنشاء واختبار وتصدير الخبراء الاستشاريين ل ميتاترادر.


استراتيجية البرمجيات.


محرر المستندات & أمب؛ خطوط إرشاد.


اإلفصاح عن المخاطر.


العقود الآجلة وتداول العملات الأجنبية ينطوي على مخاطر كبيرة وليس لكل مستثمر. يمكن أن يفقد المستثمر كل أو أكثر من الاستثمار الأولي. رأس المال المخاطر هو المال الذي يمكن أن تضيع دون تعريض الأمن المالي أو أسلوب الحياة للخطر. يجب استخدام رأس المال الخطر فقط للتداول، ويجب فقط على األشخاص الذين لديهم رأس مال مخاطر كاف أن يأخذوا في االعتبار التداول.


إفصاح الأداء الافتراضي.


نتائج الأداء الافتراضي لها العديد من القيود الكامنة، وبعضها موضح هنا. ولا يوجد أي تمثيل مفاده أن أي حساب سيحقق أو يحتمل أن يحقق أرباحا أو خسائر مماثلة لتلك المبينة؛ في الواقع، هناك اختلافات حادة في كثير من الأحيان بين نتائج الأداء الافتراضية والنتائج الفعلية التي تحققت في وقت لاحق من قبل أي برنامج تجاري معين. واحدة من القيود المفروضة على نتائج الأداء الافتراضي هو أنها تعد بشكل عام مع الاستفادة من التأخر. وبالإضافة إلى ذلك، لا ينطوي التداول الافتراضي على مخاطر مالية، ولا يمكن لأي سجل تداول افتراضي أن يحسب تماما تأثير المخاطر المالية للتداول الفعلي. على سبيل المثال، القدرة على تحمل الخسائر أو الالتزام ببرنامج تجاري معين على الرغم من الخسائر التجارية هي نقاط مادية يمكن أن تؤثر سلبا أيضا على نتائج التداول الفعلية. هناك العديد من العوامل الأخرى المتعلقة بالأسواق بشكل عام أو بتنفيذ أي برنامج تجاري محدد لا يمكن حسابه بشكل كامل في إعداد نتائج الأداء الافتراضية وكل ما يمكن أن يؤثر سلبا على نتائج التداول.


حقوق الطبع والنشر © 2006 - 2018 فوريكس سوفتوار Ltd. جميع الحقوق محفوظة.


اختبار الخيارات الثنائية - أول منصة في العالم لخلق واختبار الروبوتات الخيارات الثنائية.


استمتع خلق واختبار الخيارات الثنائية الروبوتات على الانترنت.


البرق - باكتستس سريع.


يختبر استراتيجياتك ضد البيانات التاريخية ويظهر لك النتائج في غمضة عين.


رمز ممتاز دون الترميز.


يتيح لك إنشاء المستشارين الخبراء دون كتابة سطر واحد من التعليمات البرمجية. ومع ذلك، فإن مدونة الخبراء المصدرة نظيفة وسهلة القراءة والتعديل.


واحد - انقر ستارتيجي مولد.


يسمح لك لتوليد استراتيجيات لكل سوق. حدد العملة والإطار الزمني - التطبيق سوف تفعل بقية بالنسبة لك.


الخبراء التي تجعل الشعور.


تمكنك من إنشاء استراتيجيات سليمة منطقيا فقط باستخدام بنية استراتيجية محددة مسبقا وقواعد التداول.


المؤشرات الصلبة الصخرية.


تعتمد فقط على مؤشرات ميتاتريدر القياسية التي تعرفها وتحبها. استخدام مؤشرات ميتاتريدر يجعل إي ستوديو سريع للغاية وموثوق بها.


اختبار المتانة.


الفوائد من أحدث التقنيات من أجل اختبار متانة الخبراء الخبراء: محاكاة مونتي كارلو واختبار السوق المتعددة.


حرية الوصول للاختبار.


مطلوب الاشتراك لتصدير خبراء الإشارات والتجارة.


يمكنك اختبار التطبيق بحرية واستخدام مولد، ومجموعات استراتيجية وجميع الأدوات القوية الأخرى.


ومع ذلك، تحتاج إلى اشتراك من أجل تصدير إشارات الخبراء والخبراء التجاريين ل ميتاتريدر 4.


كيف اختبار الخيارات الثنائية يساعدك على الفوز.


يمكن أن يفشل خبير واحد أديفسور في ظروف السوق الحقيقية. نحن إنشاء مجموعة من الاستراتيجيات لكل سوق (دعونا نقول 2، 5، 10 و هيليب؛) ووضع كل منهم للتداول في وقت واحد. هذا أمر سهل بسبب قوة اختبار الخيارات الثنائية. في نهاية الأسبوع (أو فترة أخرى محددة مسبقا) نقوم بتقييم أداء جميع الخبراء. نحن إزالة تلك التي تفشل واستبدالها مع تلك الجديدة التي أنشأناها بالفعل. نحن لا نعتمد على خبير واحد أو في سوق واحد لأننا لا تقتصر على أنظمة التداول لدينا.


الجودة هي أولويتنا.


الخيارات الثنائية تستر التجارة والتجار الخبراء مكتوبة في 100٪ رمز مقل الأصلي. برنامجنا لا يتطلب كود طرف ثالث ويجمع في ميتاترادر ​​دون أي أخطاء أو تحذيرات.


سير العمل المؤتمتة بالكامل.


نعم بالطبع اختبار الخيارات الثنائية هي منصة الأكثر تقدما لخلق استراتيجيات للإشارات والمستشارين الخبراء التجاريين. انها تمكنك من استخدام سير العمل مؤتمتة بالكامل لتوليد والتحسين والتحقق من صحة السير التجارية. ويسمى هذا النظام مفاعل الاستراتيجية.


لماذا الخيارات الثنائية تستر المسائل.


أنا معجب جدا مع اختبار الخيارات الثنائية. أنها قوية جدا وسريعة وسهلة الاستخدام في نفس الوقت الذي أنا متحمس حقا حول قدراتها. بصراحة لم أكن أتوقع أن يكون الكثير من الاحتمالات في تطبيق ويب.


اختبار الخيارات الثنائية يوفر لك جميع الأدوات اللازمة لإنشاء وتحليل الخبراء المستشارين.


يخدم مولد غرض واحد. وهذا هو - لتوفر لك مع عدد غير محدود عمليا من الاستراتيجيات. مولد يخلق واختبارات الاستراتيجيات الخاصة بك تلقائيا. ويستخدم معايير القبول المتقدمة لاختيار أفضل الاستراتيجيات التي تناسب الاحتياجات الخاصة بك.


مجموعة.


أفضل الاستراتيجيات من مولد الذهاب إلى مجموعة. هناك يمكنك فرز وتصفية أفضل الاستراتيجيات كما يحلو لك. هذا يسمح لك بسهولة لاختيار الاستراتيجيات الأكثر ملاءمة للتجارة. قد تجد مجموعة لتكون أداة مفيدة جدا التي تمكنك من اختيار بسهولة استراتيجية مع مخطط جيد. سيؤدي النقر على إستراتيجية في المجموعة إلى تحميلها في المحرر.


محسن هو أداة سريعة تم إنشاؤها لتحسين المعلمات الرقمية للمؤشر، فضلا عن وقف الخسارة وجني الأرباح الجديد. محسن يسمح لك للقيام بها من عينة الاختبار، للتحقق من صحة الاستراتيجيات وإضافتها إلى المجموعة.


في محرر يمكنك أن ترى المعلمات الاستراتيجية الأساسية، والمؤشرات وقواعد التداول. يمكنك أيضا استخدامه لمراجعة استراتيجيات من مولد وكذلك لخلق الاستراتيجيات الخاصة جدا يدويا. في كل مرة تقوم فيها بتغيير شيء ما في الإستراتيجية سيقوم المحرر بإعادة حساب الإحصائيات والرسم البياني للميزان.


مونتي كارلو.


مونتي كارلو هو الأداة الأكثر أهمية للتحقق من صحة متانة تراديغن الخاص بك. البرنامج يجعل مختلف التعاليم تحاول تقليل الأداء. فإنه يظهر لك احصائيات كومبليت وأيضا جدول الثقة.


متعدد السوق.


يمكنك بسهولة اختبار كيفية أداء ستيتيجيس في الأسواق المختلفة. هذه الأداة تحميل سلسلة بيانات مختلفة وتنفيذ باكتست بنقرة واحدة. ترى خطوط التوازن مختلفة تآمر على مخطط واحد، مما يجعل من السهل جدا التقييم. يمكنك أيضا تعيين معايير للتحقق الآلي.


باكتست الإحصائيات والرسوم البيانية.


معايير التحقق من الصحة.


لديك السيطرة الكاملة لتحديد كيف سيقوم البرنامج بإنشاء السير التجارية.


البيانات التاريخية.


مفاعل الاستراتيجية.


مفاعل الاستراتيجية هو سير العمل الآلي لوضع الاستراتيجيات والتحقق من صحتها.


حرية الوصول للاختبار.


مطلوب الاشتراك لتصدير خبراء الإشارات والتجارة.


يمكنك اختبار التطبيق بحرية واستخدام مولد، ومجموعات استراتيجية وجميع الأدوات القوية الأخرى.


ومع ذلك، تحتاج إلى اشتراك من أجل تصدير إشارات الخبراء والخبراء التجاريين ل ميتاتريدر 4.


فوركس سوفتوار Ltd.


برنامج تداول العملات الأجنبية الآلي للمبتدئين والتجار المحترفين. إنشاء واختبار وتصدير الخبراء الاستشاريين ل ميتاترادر.


استراتيجية البرمجيات.


محرر المستندات & أمب؛ خطوط إرشاد.


اإلفصاح عن المخاطر.


العقود الآجلة وتداول العملات الأجنبية ينطوي على مخاطر كبيرة وليس لكل مستثمر. يمكن أن يفقد المستثمر كل أو أكثر من الاستثمار الأولي. رأس المال المخاطر هو المال الذي يمكن أن تضيع دون تعريض الأمن المالي أو أسلوب الحياة للخطر. يجب استخدام رأس المال الخطر فقط للتداول، ويجب فقط على األشخاص الذين لديهم رأس مال مخاطر كاف أن يأخذوا في االعتبار التداول.


إفصاح الأداء الافتراضي.


نتائج الأداء الافتراضي لها العديد من القيود الكامنة، وبعضها موضح هنا. ولا يوجد أي تمثيل مفاده أن أي حساب سيحقق أو يحتمل أن يحقق أرباحا أو خسائر مماثلة لتلك المبينة؛ في الواقع، هناك اختلافات حادة في كثير من الأحيان بين نتائج الأداء الافتراضية والنتائج الفعلية التي تحققت في وقت لاحق من قبل أي برنامج تجاري معين. واحدة من القيود المفروضة على نتائج الأداء الافتراضي هو أنها تعد بشكل عام مع الاستفادة من التأخر. وبالإضافة إلى ذلك، لا ينطوي التداول الافتراضي على مخاطر مالية، ولا يمكن لأي سجل تداول افتراضي أن يحسب تماما تأثير المخاطر المالية للتداول الفعلي. على سبيل المثال، القدرة على تحمل الخسائر أو الالتزام ببرنامج تجاري معين على الرغم من الخسائر التجارية هي نقاط مادية يمكن أن تؤثر سلبا أيضا على نتائج التداول الفعلية. هناك العديد من العوامل الأخرى المتعلقة بالأسواق بشكل عام أو بتنفيذ أي برنامج تجاري محدد لا يمكن حسابه بشكل كامل في إعداد نتائج الأداء الافتراضية وكل ما يمكن أن يؤثر سلبا على نتائج التداول.


حقوق الطبع والنشر © 2006 - 2018 فوريكس سوفتوار Ltd. جميع الحقوق محفوظة.


الخيارات الثنائية الحافة.


إي - باكتست استراتيجيات الخيارات الثنائية إي.


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


هذه هي أول مشاركة لي في هذا المنتدى، ويسرني جدا أن أقدم لكم إي أن انتهيت للتو ديفيلوبينغ.


أنا دائما قراءة الاستراتيجيات، وما إلى ذلك، ولكن لم أشارك بعد، لذلك هذا هو الآن إسهام المتواضع.


أنا ديفيلوبر (درجة الماجستير في ديفيلوبيمنت) وأنا رئيس المشاريع في صناعة البرمجيات.


أنا مبتدئ حقيقي على الفوركس / الخيارات الثنائية، أنا مهتم في هذا السوق لمدة 1 سنة الآن.


وحتى الآن، أنا لم يفز بأي سنت بعد. لكن سأفعل.


هذا إي (الإصدار 1.0) تعطيك كل ما تحتاجه لاختبار استراتيجيات بسيطة في MT4 للخيارات الثنائية.


هود: أنها تظهر معلومات حول الاستراتيجية الخاصة بك سوف ديفيلوبب مع هذا إي.


الرسم البياني: فإنه رسم على الأسهم الرسم البياني، تحقق ووقف للتجارة.


كيفية ديفيلوبب كنت تملك الاستراتيجيات؟


هنا هو رمز حيث يمكنك إضافة المؤشرات الخاصة بك وإضافة التعليمات البرمجية الخاصة بك ل بوت أو خيار كال:


المثال المعطى هو مؤشر القوة النسبية (لا يعمل استراتيجية!)


رصيد الحساب: تعيين الاستثمار الذي تريد أن تبدأ مع العوائد: تعيين النسبة المئوية وسيط تعطيك على العملة (إكسيمبل: دفع تعويضات 80٪) الاستثمار: تعيين الاستثمار الذي تريد أن تضع على كل موقف الخيار ثنائي (إكسيمبل: 5 €)


هذا هو كل شيء للإصدار 1.0.


قل لي إذا كنت ترغب في الإصدار 2.0 مع:


إدارة الأموال مارتينغال خطوات الرسوم البيانية التخصيصات اللون أي شيء آخر؟ ورحب الاقتراح!


من الواضح إذا كنت ترى أي الافتراضي أو البق، لا تتردد في الرد!


الملفات المرفقة.


Konkis_EA_BO_Tester_v1.0.mq4 14.29KB 555 التنزيلات.


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


محفوظة للإصدار 2.0.


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


محفوظة للإصدار 3.0.


مثل هذا خلافا ياويكس 16 يوليو 2018.


مثل هذا خلافا ندريههات 16 يوليو 2018.


ثاتس كبيرة وموثقة بشكل جيد.


أليس من الأفضل أن تكون مؤشرا وليس كخصخصة أمريكية؟


مثل هذا خلافا my_be 16 يوليو 2018.


انتصارات متتالية والخسائر المتتالية يمكن أن تضاف.


مثل هذا خلافا بيرنال 16 يوليو 2018.


لا يعمل بالنسبة لي ! هل يعمل على الرسم البياني الحالي أو فقط في اختبار استراتيجية؟


مثل هذا خلافا بيرنال 16 يوليو 2018.


آه حل المشكلة! لديك لوضعه في مجلد الخبراء.


مثل هذا خلافا كونكيستادور 16 يوليو 2018.


مرحبا شكرا! حسنا سوف نلقي نظرة على ذلك، لم أكن قراءة جميع المشاركات في المنتدى حتى الآن.


ثاتس كبيرة وموثقة بشكل جيد.


أليس من الأفضل أن تكون مؤشرا وليس كخصخصة أمريكية؟


لا أنا لا أعتقد ذلك.


يمكن لمناطق العد القيام بأشياء أكثر من المؤشرات، مثل مارتينغال، وإدارة الأموال، والحسابات، وما إلى ذلك.


وأعتقد أن الجميع یشاركون المؤشرات، ولكن لا أحد یشارك مناطق العد، وأتساءل لماذا؟


حلمي، وآمل أن تصبح حقيقة واقعة، هو تبادل معرفتي ومهاراتي في ديفيلوبيمنت للحصول على إي جيدة، استنادا إلى أي استراتيجية.


This EA would do small but consistent profit over time and will be share with this community, to improve it, discuss it, and make it rocks.


I think that en EA well coded, can be much more efficient than looking a chart all day long to find an entry.


Even with Sound alert, or email, an EA would always be faster than humans.


So, yes, an EA in backtest show always the "better" results possible and there are lots of differencies between backtest and live trading (ping, response time, spread etc..).


But it's an indication for any people who want to test a new strategy and optimize it.


The EA I am developping can be used as a base for testing strategy like NEMESIS v3 or RAINBOW strategy or whatever I will test later.


I just need to have the bases working well, and I want to share it with you guys.


Like This Unlike bernal 16 Jul 2018.


this tester has problem with = iOpen(NULL, 0, 0); i am trying: if open of current candle opens above/below bollinger bands but i get critical error in the EA ! in the Experts tab.


Like This Unlike konkistadorr 16 Jul 2018.


this tester has problem with = iOpen(NULL, 0, 0); i am trying: if open of current candle opens above/below bollinger bands but i get critical error in the EA ! in the Experts tab.


Yes ? Can you copy/paste the error and copy/paste your code exemple ?


Like This Unlike bernal 16 Jul 2018.


Like This Unlike yawyks 16 Jul 2018.


Like This Unlike bernal 16 Jul 2018.


There are strategies that have high itm rates which are extremely profitable.


80% itm rate BUT when I run it on live platform the ea could not reproduce the same results due to delay in trade execution and broker rejecting the trades.


About that delay well , we cant do nothing about it a month ago i suggested to moderator from mql5 to add function if order is delayed by 1 second to cancel the order, this is what i got from the moderator :


No, such option won't be added.


You have to clarify that with your broker.


Note: this is for EAs not manual trading.


Like This Unlike konkistadorr 16 Jul 2018.


There are strategies that have high itm rates which are extremely profitable.


All that I can say is all you need is :


a reactive EA (not laggy one with over complicated strategy) a good VPS to run MT4 with your EA all day long a good Broker (I'm using GDMFX with a good Binary Option API)


I activated automatic trading with GDMFx and the NEMESIS V1 strategy yesterday, and trade were really quick, so I am not worry about that.


Like This Unlike yawyks 16 Jul 2018.


Like This Unlike konkistadorr 16 Jul 2018.


Okay i Found the error :


line 307, please change :


I could update the EA in the first post for the next beta tester, but i can't edit my post.


Like This Unlike bernal 16 Jul 2018.


Like This Unlike Tez 16 Jul 2018.


This is my first post in this forum, and I am very glad to offer you an EA that I've just finish developping.


I am always reading strategies, etc, but I had never participated yet, so this is now my humble contribution.


I am a developper (Master degree in developpement) and I am a Projects' Chief in software industry.


I am a real newbie on Forex/Binary Options, I'm interested in this market for 1 year now.


And for now, I don't won any cent yet. But I will.


This EA (version 1.0 ) give you all you need to test simple strategies in MT4 for Binary Options.


HUD : It show informations about your own strategy you will developp with this EA.


Chart : It draw on the chart arrows, check and stop for trade.


How to developp you own strategies ?


Here is the code where you can add your own indicators and add your code for a PUT or a CALL Option :


The example given is with RSI (Not working strategy! )


Account Balance : Set the investment you want to start with Payout : Set the percent your broker give you on the currency (Exemple : Payout 80 %) Investment : Set the investment you want to place on each binary option position (Exemple : 5 €)


This is all for version 1.0.


Tell me if you want a version 2.0 with :


Money Management Martingale Steps Charts color customizations Anything else ? Proposition are welcomed!


Obviously if you see any default or bugs, feel free to react !


Very nice work! Many thanks!!


One question, how can I change the expiry time? so for example 5 candles instead of 1?


Like This Unlike Tez 16 Jul 2018.


Another suggestion would be to print the results in the journal, such that you can rund the strat tester also in none visual mode and see the results afterwards in the journal, makes it a lot faster to test.


الخيارات الثنائية الحافة.


EA - Backtest Binary Options Strategies Ea.


Like This Unlike konkistadorr 16 Jul 2018.


This is my first post in this forum, and I am very glad to offer you an EA that I've just finish developping.


I am always reading strategies, etc, but I had never participated yet, so this is now my humble contribution.


I am a developper (Master degree in developpement) and I am a Projects' Chief in software industry.


I am a real newbie on Forex/Binary Options, I'm interested in this market for 1 year now.


And for now, I don't won any cent yet. But I will.


This EA (version 1.0 ) give you all you need to test simple strategies in MT4 for Binary Options.


HUD : It show informations about your own strategy you will developp with this EA.


Chart : It draw on the chart arrows, check and stop for trade.


How to developp you own strategies ?


Here is the code where you can add your own indicators and add your code for a PUT or a CALL Option :


The example given is with RSI (Not working strategy! )


Account Balance : Set the investment you want to start with Payout : Set the percent your broker give you on the currency (Exemple : Payout 80 %) Investment : Set the investment you want to place on each binary option position (Exemple : 5 €)


This is all for version 1.0.


Tell me if you want a version 2.0 with :


Money Management Martingale Steps Charts color customizations Anything else ? Proposition are welcomed!


Obviously if you see any default or bugs, feel free to react !


الملفات المرفقة.


Konkis_EA_BO_Tester_v1.0.mq4 14.29KB 555 downloads.


Like This Unlike konkistadorr 16 Jul 2018.


reserved for version 2.0.


Like This Unlike konkistadorr 16 Jul 2018.


reserved for version 3.0.


Like This Unlike yawyks 16 Jul 2018.


Like This Unlike neddihrehat 16 Jul 2018.


Thats great and well documented.


Wouldn't it be better as a indicator and not as a EA?


Like This Unlike my_be 16 Jul 2018.


Consecutive wins and consecutive losses can be added.


Like This Unlike bernal 16 Jul 2018.


its not working for me ! does it work on current chart or only in strategy tester ?


Like This Unlike bernal 16 Jul 2018.


ah problem solved ! you have to put it in experts folder.


Like This Unlike konkistadorr 16 Jul 2018.


Hi Thanks ! Okay I will take a look at it, I didn't read all posts on the forum yet .


Thats great and well documented.


Wouldn't it be better as a indicator and not as a EA?


No I don't think so.


EAs can do loooot more thing than indicators, like Martingale, Money Management, calculations, etc.


I think that everybody is sharing indicators, but no one share EAs, I wonder why ?


My dream, and I hope it will become reality, is to share my knowledge and my skills in developpement to obtain a good EA, based on whatever strategy.


This EA would do small but consistent profit over time and will be share with this community, to improve it, discuss it, and make it rocks.


I think that en EA well coded, can be much more efficient than looking a chart all day long to find an entry.


Even with Sound alert, or email, an EA would always be faster than humans.


So, yes, an EA in backtest show always the "better" results possible and there are lots of differencies between backtest and live trading (ping, response time, spread etc..).


But it's an indication for any people who want to test a new strategy and optimize it.


The EA I am developping can be used as a base for testing strategy like NEMESIS v3 or RAINBOW strategy or whatever I will test later.


I just need to have the bases working well, and I want to share it with you guys.


Like This Unlike bernal 16 Jul 2018.


this tester has problem with = iOpen(NULL, 0, 0); i am trying: if open of current candle opens above/below bollinger bands but i get critical error in the EA ! in the Experts tab.


Like This Unlike konkistadorr 16 Jul 2018.


this tester has problem with = iOpen(NULL, 0, 0); i am trying: if open of current candle opens above/below bollinger bands but i get critical error in the EA ! in the Experts tab.


Yes ? Can you copy/paste the error and copy/paste your code exemple ?


Like This Unlike bernal 16 Jul 2018.


Like This Unlike yawyks 16 Jul 2018.


Like This Unlike bernal 16 Jul 2018.


There are strategies that have high itm rates which are extremely profitable.


80% itm rate BUT when I run it on live platform the ea could not reproduce the same results due to delay in trade execution and broker rejecting the trades.


About that delay well , we cant do nothing about it a month ago i suggested to moderator from mql5 to add function if order is delayed by 1 second to cancel the order, this is what i got from the moderator :


No, such option won't be added.


You have to clarify that with your broker.


Note: this is for EAs not manual trading.


Like This Unlike konkistadorr 16 Jul 2018.


There are strategies that have high itm rates which are extremely profitable.


All that I can say is all you need is :


a reactive EA (not laggy one with over complicated strategy) a good VPS to run MT4 with your EA all day long a good Broker (I'm using GDMFX with a good Binary Option API)


I activated automatic trading with GDMFx and the NEMESIS V1 strategy yesterday, and trade were really quick, so I am not worry about that.


Like This Unlike yawyks 16 Jul 2018.


Like This Unlike konkistadorr 16 Jul 2018.


Okay i Found the error :


line 307, please change :


I could update the EA in the first post for the next beta tester, but i can't edit my post.


Like This Unlike bernal 16 Jul 2018.


Like This Unlike Tez 16 Jul 2018.


This is my first post in this forum, and I am very glad to offer you an EA that I've just finish developping.


I am always reading strategies, etc, but I had never participated yet, so this is now my humble contribution.


I am a developper (Master degree in developpement) and I am a Projects' Chief in software industry.


I am a real newbie on Forex/Binary Options, I'm interested in this market for 1 year now.


And for now, I don't won any cent yet. But I will.


This EA (version 1.0 ) give you all you need to test simple strategies in MT4 for Binary Options.


HUD : It show informations about your own strategy you will developp with this EA.


Chart : It draw on the chart arrows, check and stop for trade.


How to developp you own strategies ?


Here is the code where you can add your own indicators and add your code for a PUT or a CALL Option :


The example given is with RSI (Not working strategy! )


Account Balance : Set the investment you want to start with Payout : Set the percent your broker give you on the currency (Exemple : Payout 80 %) Investment : Set the investment you want to place on each binary option position (Exemple : 5 €)


This is all for version 1.0.


Tell me if you want a version 2.0 with :


Money Management Martingale Steps Charts color customizations Anything else ? Proposition are welcomed!


Obviously if you see any default or bugs, feel free to react !


Very nice work! Many thanks!!


One question, how can I change the expiry time? so for example 5 candles instead of 1?


Like This Unlike Tez 16 Jul 2018.


Another suggestion would be to print the results in the journal, such that you can rund the strat tester also in none visual mode and see the results afterwards in the journal, makes it a lot faster to test.


Binary Options Tester - world's first platform for creating and testing Binary Options robots .


Enjoy Creating And Testing Binary Options Robots Online.


Lightning - fast backtests.


Tests your strategies against historical data and shows you the results in the blink of an eye .


Excellent Code Without Coding.


Lets you create Expert Advisors without writing a single line of code . Yet the exported Expert code is clean and easy to read and modify .


One - click Startegy Generator.


Allows you to generate strategies for every market . Select the currency and time frame - the app will do the rest for you .


Experts That Make Sense.


Enables you to create only logically sound strategies by using a predefined strategy structure and trading rules .


Rock Solid Indicators.


Relies only on the standard MetaTrader indicators you know and love . Using the MetaTrader indicators makes EA Studio extremely fast and reliable .


Robustness Testing.


Benefits from a state of the art technology for Expert Advisor robustness testing: Monte Carlo simulations and Multi Market testing .


Free Access for Testing.


A Subscription is Required for Exporting Signal and Trading Experts.


You can test the application freely and to use the Generator, the strategy collections and all other powerful tools .


However, you need a subscription in order to export your expert signals and trading experts for MetaTrader 4.


How Binary Options Tester Helps You Win.


A single Expert Adivsor can fail in real market conditions . We create a portfolio of strategies for each market(let's say 2, 5, 10 …) and put them all to trade simultaneously. This is easy because of the power of Binary Options Tester. At the end of the week (or other predefined period) we evaluate the performance of all experts. We remove those that fail and replace them with new ones we have already created. We don't rely on a single expert or on a single market because we are not limited by our trading systems .


Quality Is Our Priority.


Binary Options Tester exports trading and signlas experts written in 100 % native MQL code . Our program does not require third party code and compiles in MetaTrader without any errors or warnings .


Fully Automated Workflow.


Yes of course! Binary Options Tester is the most advanced platform for creating strategies for signals and trading expert advisors . It enables you to use a fully automated workflow for generating, optimizing and validating trading bots . This system is called Strategy Reactor .


Why Binary Options Tester Matters.


I'm quite impressed with Binary Options Tester. It is so powerful and fast and easy to use at the same time that I'm really excited about its capabilities . Honestly I didn't expect to have so many possibilities in a web application.


Binary Options Tester provides you with all the necessary tools for creating and analyzing Expert Advisors.


The Generator serves a single purpose. That is – to provide you with a practically unlimited number of strategies. The Generator creates and tests your strategies automatically. It uses advanced acceptance criteria to choose the best strategies that fit your requirements.


مجموعة.


The best strategies from the Generator go to the Collection. There you can sort and filter the best strategies as you wish. This allows you to easily to choose the most fit-to-trade strategies. You might find the Collection to be a very useful tool that lets you easily choose a strategy with a good chart. Clicking on a Strategy in the Collection will load it in the Editor.


The optimizer is a speedy tool created to optimize the indicator's numeric parameters as well as the new Stop Loss and Take Profit . The Optimizer allows you to do Out Of Sample testing, to validate strategies and to add them to the Collection .


In the Editor you can see the basic strategy parameters, the indicators and the trading rules . You can also use it to review the Strategies from the Generator as well as to create your very own strategies manually . Each time you change something in the strategy the Editor will recalculate the statistics and the balance chart .


Monte Carlo.


Monte Carlo is the most important tool to validate the robustness of your tradign bots . The program makes various symulations trying to reduce the performance . It shows you the compleete stats and also a Confidence table .


Multi Market.


You can easily test how the startegies perform on different markets . This tool loads different data series and perform backtest with one click . You see the different balance lines plotted on a single chart, which makes the evaluation very easy . You can also set criteria for automated validation .


Backtest Stats and Charts.


Validation Criteria.


You have the full control to set how the program will create trading bots .


Historical Data.


Strategy Reactor.


The Strategy Reactor is an automated workflow for creating and validating strategies .


Free Access for Testing.


A Subscription is Required for Exporting Signal and Trading Experts.


You can test the application freely and to use the Generator, the strategy collections and all other powerful tools .


However, you need a subscription in order to export your expert signals and trading experts for MetaTrader 4.


Forex Software Ltd.


Automated forex trading software for beginners and professional traders. Create, test and export Expert Advisors for MetaTrader.


Strategy Software.


Docs & خطوط إرشاد.


اإلفصاح عن المخاطر.


العقود الآجلة وتداول العملات الأجنبية ينطوي على مخاطر كبيرة وليس لكل مستثمر. يمكن أن يفقد المستثمر كل أو أكثر من الاستثمار الأولي. رأس المال المخاطر هو المال الذي يمكن أن تضيع دون تعريض الأمن المالي أو أسلوب الحياة للخطر. يجب استخدام رأس المال الخطر فقط للتداول، ويجب فقط على األشخاص الذين لديهم رأس مال مخاطر كاف أن يأخذوا في االعتبار التداول.


Hypothetical Performance Disclosure.


Hypothetical performance results have many inherent limitations, some of which are described here. ولا يوجد أي تمثيل مفاده أن أي حساب سيحقق أو يحتمل أن يحقق أرباحا أو خسائر مماثلة لتلك المبينة؛ في الواقع، هناك اختلافات حادة في كثير من الأحيان بين نتائج الأداء الافتراضية والنتائج الفعلية التي تحققت في وقت لاحق من قبل أي برنامج تجاري معين. واحدة من القيود المفروضة على نتائج الأداء الافتراضي هو أنها تعد بشكل عام مع الاستفادة من التأخر. وبالإضافة إلى ذلك، لا ينطوي التداول الافتراضي على مخاطر مالية، ولا يمكن لأي سجل تداول افتراضي أن يحسب تماما تأثير المخاطر المالية للتداول الفعلي. على سبيل المثال، القدرة على تحمل الخسائر أو الالتزام ببرنامج تجاري معين على الرغم من الخسائر التجارية هي نقاط مادية يمكن أن تؤثر سلبا أيضا على نتائج التداول الفعلية. هناك العديد من العوامل الأخرى المتعلقة بالأسواق بشكل عام أو بتنفيذ أي برنامج تجاري محدد لا يمكن حسابه بشكل كامل في إعداد نتائج الأداء الافتراضية وكل ما يمكن أن يؤثر سلبا على نتائج التداول.


Copyright © 2006 - 2018 Forex Software Ltd. All rights reserved.


How to test EA for binary options on mt4 strategy tester on one of these brokers :CoreLiquidityMarkets or Grand capital.


Does anyone know how to test EA for binary options on mt4 strategy tester with one of these brokers CoreLiquidityMarkets or Grand capital ( they have binary options based on mt4) ?


Thank you in advance :)


it is not possible. But you can backtest if use virtual orders.


I had a method to back test my binary option EA by using an expiry time to close the order after a time I specified. I did this using Order = SIGNAL_CLOSEBUY or SIGNAL_CLOSESELL.


You have to set the backtest spread to 1 so not a true 0 spread you would get with BO but it can give you an idea.


extern int expirytimelong = 15;


extern int expirytimeshort = 15;


int timedifflong = expirytimelong * 60; // 60 = 1 mins.


int timediffshort = expirytimeshort * 60; // 60 = 1 mins.


Closing the Orders.


if (TimeCurrent() - OrderOpenTime() > timedifflong) Order = SIGNAL_CLOSEBUY;


Hope this helps :-)


Does anyone know how to test EA for binary options on mt4 strategy tester with one of these brokers CoreLiquidityMarkets or Grand capital ( they have binary options based on mt4) ?


Thank you in advance :)


Add this to code. Set on single pair and set tester_close=true.


if (tester_close) tester_close_f();


for ( int i= OrdersTotal ()- 1 ; i>= 0 ; i--)


if ( OrderSelect (i, SELECT_BY_POS ))


if ( OrderMagicNumber ()==Magic)


if ( OrderSymbol ()== Symbol ())


if ( TimeCurrent ()>= OrderOpenTime ()+expir_time* 60 )


bool ticket_ex= false ;


for ( int j_ex = 0 ;j_ex < 26 ; j_ex++)


while ( IsTradeContextBusy ()) Sleep ( 200 );


if ( OrderType ()== OP_BUY ) ticket_ex= OrderClose ( OrderTicket (), OrderLots (), Bid , 0 , clrYellow );


if ( OrderType ()== OP_SELL ) ticket_ex= OrderClose ( OrderTicket (), OrderLots (), Ask , 0 , clrYellow );


it is not possible. But you can backtest if use virtual orders.


Your code is useless. have not resutl of trategy.


below is result if use virtual order and write to file.


It is a pity that you code programms to people.


Add this to code. Set on single pair and set tester_close=true.


if (tester_close) tester_close_f();


for ( int i= OrdersTotal ()- 1 ; i>= 0 ; i--)


if ( OrderSelect (i, SELECT_BY_POS ))


if ( OrderMagicNumber ()==Magic)


if ( OrderSymbol ()== Symbol ())


if ( TimeCurrent ()>= OrderOpenTime ()+expir_time* 60 )


bool ticket_ex= false ;


for ( int j_ex = 0 ;j_ex < 26 ; j_ex++)


while ( IsTradeContextBusy ()) Sleep ( 200 );


if ( OrderType ()== OP_BUY ) ticket_ex= OrderClose ( OrderTicket (), OrderLots (), Bid , 0 , clrYellow );


if ( OrderType ()== OP_SELL ) ticket_ex= OrderClose ( OrderTicket (), OrderLots (), Ask , 0 , clrYellow );


Your code is useless. have not resutl of trategy.


below is result if use virtual order and write to file.


How to build and test a Binary Options strategy with the MetaTrader 4 Strategy Tester.


جدول المحتويات.


This article shows how to build a Binary Options strategy and test it in Strategy-Tester of Metatrader 4 with Binary-Options-Strategy-Tester utility. By default Strategy-Tester of Metatrader 4 can test Expert Advisors and Indicators against historical data, but it cannot handle Binary Options with expire times. As I need a possibility to test Binary Options strategies automated in Strategy-Tester of MetaTrader 4, the Binary-Options-Strategy-Tester was build as a utility to fit those needs.


The concept contains the following parts:


This is a step by step example how to build a Binary Options strategy stored in an Indicator (marked as red in image above) to communicate through Binary-Options-Strategy-Library (marked as green in image above) with the Binary-Options-Strategy-Tester (marked as blue in image above), to place virtual orders and count their results with backtests and forward tests.


Please keep in mind: Backtesting with historical data will never represent the real future, but it might give you an approximate value to get your strategy more stable.


The quality of your backtest will depends on your historical data. Therefore it is strongly recommended to use a set of hight quality data!


Download and purchase Binary-Options-Strategy-Tester utility from marketplace:


Test-Framework to test Binary Options strategies in Strategy-Tester of MetaTrader 4.


Why a purchased version of Binary-Options-Strategy-Tester utility is needed?


A Binary-Options strategy has to call a function of the Binary-Options-Strategy-Tester (via Binary-Options-Strategy-Library) to place the virtual trades. Related to the license concept of MQL4 this only works if the product has a working license. Therefore you have to purchase the product to test Binary Options strategies or this example.


Download free BinaryOptionsStrategyLibrary. mqh and place it in into folder \Include ([path to your MetaTrader 4]\MQL4\Include):


The free library will provide several functions to build your Binary Options strategy easily and to communicate with the Binary-Options-Strategy-Tester. See Binary-Options-Strategy-Library for more details of the library.


Download free KVO. mq4 indicator and place it (and the compiled KVO. ex4 file) into folder \Indicators\Downloads ([path to your MetaTrader 4]\MQL4\Indicators\Downloads):


The KVO indicator is used as an example to show the access of external indicators and there ex4 files in section "3.2.6 Use of external Indicators (ex4 files)". See https://mql5/en/code/8677 for more details of the indicator.


Now you can go further with section "3. Binary options strategy example" and build the example code by yourself or just download the code of this example below.


Optional download BinaryOptionsStrategyExample. mq4 and place it (and the compiled BinaryOptionsStrategyExample. ex4 file) into folder \Indicators ([path to your MetaTrader 4]\MQL4\Indicators):


Download the code of this Binary Options strategy example to let it run without building it by yourself.


To compile the needed. ex4 files open the. mq4 files (KVO. mq4 and BinaryOptionsStrategyExample. mq4 - NOT Binary-Options-Strategy-Library. mqh) in MetaQuotes Language Editor and click on button "Compile" or just restart your MetaTrader 4 after these files are stored in the described folders and MetaTrader 4 will do this automatically for you.


3. Binary Options strategy example.


The following steps will guide you throgh an example how to build an example Binary Options strategy stored in an Indicator to communicate with Binary-Options-Strategy-Tester. You can build it by yourself or just download the code of the BinaryOptionsStrategyExample. mq4.


Please note: This strategy is not a profitable Binary Options strategy! It is just an example how to build a strategy in an indicator to communicate with the Binary-Options-Strategy-Tester utility. Of course you have to build a profitable strategy by yourself. But as you will see, this utility will help you to test and improve your Binary Options strategy.


3.1 Define Binary Options strategy.


First of all we have to define the strategy and the changable values (input parameters). MQL4 documentation shows all technical indicators, which can be adressed over the iCustom interface: https://docs. mql4/indicators.


Let us say we like to create a simple Moving Average cross strategy with one "fast" and one "slow" Moving Average to trade on next candle after they have crossed each other. Documentation tells, how we can get the value of a single Moving Average: https://docs. mql4/indicators/ima.


Let us further say, we like to choose values for "MA averaging period" (fast and slow) and for "applied price" as well as for the "averaging method". Other values (like symbol, timeframe and shift) depends on the testcase (e. g. the symbol the tester runs on) and should be set automatically. Therefore we basically need the following variables for a Moving Average:


As we need two Moving Averages to check their crosses, we need the following input parameters for the strategy example with some default values:


int period_slow = 10;


int method_both = 0;


int applied_price_both = 0;


3.2 Create Binary Options strategy.


You need to build an indicator which stores your Binary Options strategy to drag it on the chart where Binary-Options-Strategy-Tester is running on.


Open MetaQuotes Language Editor (in MetaTrader 4 click on "Tools" -> "MetaQuotes Language editor" or just press F4) and click on "New":


The MQL Wizard will appear. Select "Custom Indicator" to create an empty indicator and click on "Next":


Enter the name, copyright and link of the strategy as well as the input parameters with their types and default values (initial values) by clicking "Add"-Button and press "Next":


On tab event handlers select checkbox "OnCalculate" as we need this event to check for our strategy on every tick. Press "Next":


On tab drawing properties select checkbox "Indicator in seperate window" as we need a seperate window to print out the debug values. Press "Finish":


The initial code of your indicator will appear:


// | Copyright 2018, __martin__ |


#property copyright "Copyright 2018, __martin__"


#property link "https://mql5/en/users/__martin__"


#property version "1.00"


input int period_fast= 5 ;


input int period_slow= 10 ;


input int method_both= 0 ;


input int applied_price_both= 0 ;


// | Custom indicator initialization function |


//--- indicator buffers mapping.


// | Custom indicator iteration function |


int OnCalculate ( const int rates_total,


const int prev_calculated,


const datetime &time[],


const double &open[],


const double &high[],


const double &low[],


const double &close[],


const long &tick_volume[],


const long &volume[],


const int &spread[])


3.2.1 Input parameters.


The initial input parameters are created with the MQL Wizard (see 3.2 Create Binary Options strategy) and we will enhance them with the following steps.


To avoid to have to enter int-values for applied price and averaging method of the Moving Averages for input parameters, the type for method_both and applied_price_both is changed from int to type of enumeration with a default value.


In addition comments for the input parameters are added to show the comments as labels instead of variable names:


input int period_fast = 5 ; //Fast MA value.


input int period_slow = 10 ; //Slow MA value.


input ENUM_MA_METHOD method_both = MODE_SMA; //MA method.


input ENUM_APPLIED_PRICE applied_price_both = PRICE_CLOSE; //MA applied price.


With this modifications the input parameters provides a dropdown with the available values to select as well as "labels" for the input parameters:


3.2.2 Include Binary-Options-Strategy-Library.


If you have downloaded and stored the library (see 2. Installation) into \Include folder ([path to your MetaTrader 4]\MQL4\Include), you are able to include the library like this:


// | Copyright 2018, __martin__ |


#property copyright "Copyright 2018, __martin__"


#property link "https://mql5/en/users/__martin__"


#property version "1.00"


Changing the content of the library is not needed!


Binary-Options-Strategy-Library will enhance the input parameters with two new parameters:


Place only one SELL or one BUY trade per candle Check only at the beginning of a new candle for the strategy.


3.2.3 Add CallStrategy()


Add a call to CallStrategy()-function in OnCalculate() of your strategy indicator to call the strategy on every new tick. CallStrategy() is provided by Binary-Options-Strategy-Library you have inlcuded like discribed above:


// | Custom indicator iteration function |


int OnCalculate ( const int rates_total,


const int prev_calculated,


const datetime &time[],


const double &open[],


const double &high[],


const double &low[],


const double &close[],


const long &tick_volume[],


const long &volume[],


const int &spread[])


Therefore you have to implement the function CheckMyRules() in your Binary Options strategy indicator.


3.2.4 Implement CheckMyRules() and helper-function.


In CheckMyRules()-function, which is called through the Binary-Options-Strategy-Library, the conditions for the strategy are implemented and trades are placed through PlaceTrade()-function of the library. Values of both Moving Averages are temporarilly stored in variables to compare them in if-conditions while the values of the Moving Averages are taken from the helper-function GetValuesForMA():


input int period_fast = 5 ; //Fast MA value.


input int period_slow = 10 ; //Slow MA value.


input ENUM_MA_METHOD method_both = MODE_SMA; //MA method.


input ENUM_APPLIED_PRICE applied_price_both = PRICE_CLOSE; //MA applied price.


// | Place your Trading-Rules here - see example below. |


// | StrategyTester will call this function to place trades. |


// | - Add function paramaters, e. g. CheckMyRules(int a) |


// | - Change function return type, e. g. int CheckMyRules() |


//call helper function GetValueForMA() to get the value - see helper-functions below.


double emaSlow_Current = GetValueForMA(period_slow, 0 );


double emaFast_Current = GetValueForMA(period_fast, 0 );


//call helper function GetValueForMA() to get the value - see helper-functions below.


double emaSlow_Past = GetValueForMA(period_slow, 1 );


double emaFast_Past = GetValueForMA(period_fast, 1 );


&& emaFast_Current < emaSlow_Past) //Check if slow MA and fast MA crosses.


PlaceTrade( OP_SELL ); //Place SELL-Trade for Strategy-Tester, function is located in BinaryOptionsStrategyFunctions. mqh.


&& emaFast_Current > emaSlow_Past) //Check if slow MA and fast MA crosses.


PlaceTrade( OP_BUY ); //Place BUY-Trade for Strategy-Tester, function is located in BinaryOptionsStrategyFunctions. mqh.


// | Place your Helper-Functions here, see example below |


// | Get MA values for period, method, applied price and shift. |


// | For details of iMA() see https://docs. mql4/indicators/ima |


double GetValueForMA( int _period, int _shift)


return iMA ( NULL , 0 ,_period, 0,method_both, applied_price_both,_shift);


3.2.5 Print out debug values.


The function PrintDebugValue() privides a possibility to print out debug values while the tester is running. In the example below the values of the Moving Averages are printed out with their variable names as labels:


input int period_fast = 5 ; //Fast MA value.


input int period_slow = 10 ; //Slow MA value.


input ENUM_MA_METHOD method_both = MODE_SMA; //MA method.


input ENUM_APPLIED_PRICE applied_price_both = PRICE_CLOSE; //MA applied price.


// | Place your Trading-Rules here - see example below. |


// | StrategyTester will call this function to place trades. |


// | - Add function paramaters, e. g. CheckMyRules(int a) |


// | - Change function return type, e. g. int CheckMyRules() |


//call helper function GetValueForMA() to get the value - see helper-functions below.


double emaSlow_Current = GetValueForMA(period_slow, 0 );


double emaFast_Current = GetValueForMA(period_fast, 0 );


//call helper function GetValueForMA() to get the value - see helper-functions below.


double emaSlow_Past = GetValueForMA(period_slow, 1 );


double emaFast_Past = GetValueForMA(period_fast, 1 );


PrintDebugValue( "emaFast_Current: " ,( string )emaFast_Current, 1 ); //Label and value in line 1.


PrintDebugValue( "emaSlow_Past: " ,( string )emaSlow_Past, 2 ); //Label and value in line 2.


PrintDebugValue( "emaFast_Past: " ,( string )emaFast_Past, 3 ); //Label and value in line 3.


&& emaFast_Current < emaSlow_Past) //Check if slow MA and fast MA crosses.


PlaceTrade( OP_SELL ); //Place SELL-Trade for Strategy-Tester, function is located in BinaryOptionsStrategyFunctions. mqh.


&& emaFast_Current > emaSlow_Past) //Check if slow MA and fast MA crosses.


PlaceTrade( OP_BUY ); //Place BUY-Trade for Strategy-Tester, function is located in BinaryOptionsStrategyFunctions. mqh.


// | Place your Helper-Functions here, see example below |


// | Get MA values for period, method, applied price and shift. |


// | For details of iMA() see https://docs. mql4/indicators/ima |


double GetValueForMA( int _period, int _shift)


return iMA ( NULL , 0 ,_period, 0,method_both, applied_price_both,_shift);


3.2.6 Use of external Indicators (ex4 files)


In addition an external indicator which stores its values in buffers can be accessed for the Binary Options strategy, even if only the compiled ex4-file exists.


Let us say we like to include the signal line of the KVO indicator https://mql5/en/code/8677 to place trades only if the signal line is over 0 for BUY trades and under 0 for SELL trades. Download the KVO. mq4 indicator and place the compiled (ex4 file) into folder \Indicators\Downloads ([path to your MetaTrader 4]\MQL4\Indicators\Downloads).


To compile the needed. ex4 file open KVO. mq4 in MetaQuotes Language Editor and click on button "Compile" or just restart your MetaTrader 4 after the file is stored in the described folder and MetaTrader 4 will do this automatically for you.


First we have to identify the relevant buffers which stores the relevant values to access. Therefore we press the button "Data Window" in MetaTrader 4 to show all available buffers of the used indicators and drag the KVO indicator on a chart. By hovering the cross over the chart (press mouse-wheel on chart to bring up the cross) the buffer values of the indicator of the hovered timeperiod will be shown in data window:


The data window labels tells us the second buffer value of the indicator stores the signal line. If buffers of indicators did not have labels, we can find the right one by comparing the buffer values with the displayed value under the cross in the chart and indicator. Buffers of an indicator starts with 0, so we have buffer value 1 = buffer 0, buffer value 2 = buffer 1 and so on and we have to access buffer 1 to get the signal value.


Next we have to know all input parameters of the external indicator we like to access. By draging the indicator on a chart, we see all input paremeters:


Let us further say, we like to access the indicator with (its default) values: 34, 55 and 13. We use a helper function (based on iCostum), wich provides us the possibility to get the values of the indicator with parameters for buffer and shift, while shift 0 will be the value of the current candle, shift 1 the value of the last candle, shift 2 the value of the second to last candle and so on. In addition we temporarilly store the values of the indicator buffer and enhance the if-condition of the strategy:


input int period_fast = 5 ; //Fast MA value.


input int period_slow = 10 ; //Slow MA value.


input ENUM_MA_METHOD method_both = MODE_SMA; //MA method.


input ENUM_APPLIED_PRICE applied_price_both = PRICE_CLOSE; //MA applied price.


// | Place your Trading-Rules here - see example below. |


// | StrategyTester will call this function to place trades. |


// | - Add function paramaters, e. g. CheckMyRules(int a) |


// | - Change function return type, e. g. int CheckMyRules() |


//call helper function GetValueForMA() to get the value - see helper-functions below.


double emaSlow_Current = GetValueForMA(period_slow, 0 );


double emaFast_Current = GetValueForMA(period_fast, 0 );


//call helper function GetValueForMA() to get the value - see helper-functions below.


double emaSlow_Past = GetValueForMA(period_slow, 1 );


double emaFast_Past = GetValueForMA(period_fast, 1 );


double kvoSignal = GetValuesFromIndicator__KVO__( 1 , 0 );


PrintDebugValue( "emaFast_Current: " ,( string )emaFast_Current, 1 ); //Label and value in line 1.


PrintDebugValue( "emaSlow_Past: " ,( string )emaSlow_Past, 2 ); //Label and value in line 2.


PrintDebugValue( "emaFast_Past: " ,( string )emaFast_Past, 3 ); //Label and value in line 3.


&& emaFast_Current < emaSlow_Past //Check if slow MA and fast MA crosses.


&& kvoSignal < 0 ) //Check if signal value of KVO is under 0.


PlaceTrade( OP_SELL ); //Place SELL-Trade for Strategy-Tester, function is located in BinaryOptionsStrategyFunctions. mqh.


&& emaFast_Current > emaSlow_Past //Check if slow MA and fast MA crosses.


&& kvoSignal > 0 ) //Check if signal value of KVO is over 0.


PlaceTrade( OP_BUY ); //Place BUY-Trade for Strategy-Tester, function is located in BinaryOptionsStrategyFunctions. mqh.


// | Place your Helper-Functions here, see example below |


// | Get MA values for period, method, applied price and shift. |


// | For details of iMA() see https://docs. mql4/indicators/ima |


double GetValueForMA( int _period, int _shift)


return iMA ( NULL , 0 ,_period, 0,method_both, applied_price_both,_shift);


// | Example how to get values from external indicators |


// | int _buffer - indicator-buffer (starts with 0) |


// | int _shift - value to shift; 0 = current candle, 1 = prev candle |


double GetValuesFromIndicator__KVO__( int _buffer, int _shift= 0 ) //Change "__KVO__" to indicator name.


NULL , //NULL for current timeframe selected in tester - NO CHANGES NEEDED.


0 , //0 for current symbol selected in tester - NO CHANGES NEEDED.


"\\Downloads\\KVO. ex4" , //Filepath and filename of the indicator (*.ex4 file)


//BEGIN INDICATORS INPUTS.


_shift //Shift (0 for current candle), _shift is adressed over function parameter - NO CHANGES NEEDED.


It is also possible to enhance the input parameters of our strategy indicator with the values for the used KVO indicator and set the values in helper function by variables. As this tutorial should be just an example and "as simple as possible", this variant is not shown.


3.3 The complete code.


Below you will find the complete code of the Binary-Options-Strategy-Example from all the steps above, ready to drag on the Binary-Options-Strategy-Tester to test and see the results on chart:


// | Copyright 2018, __martin__ |


#property copyright "Copyright 2018, __martin__"


#property link "https://mql5/en/users/__martin__"


#property version "1.00"


// | Place your input parameters here - see example below |


input int period_fast = 5 ; //Fast MA value.


input int period_slow = 10 ; //Slow MA value.


input ENUM_MA_METHOD method_both = MODE_SMA ; //MA method.


input ENUM_APPLIED_PRICE applied_price_both = PRICE_CLOSE ; //MA applied price.


// | Custom indicator initialization function |


//--- indicator buffers mapping.


// | Custom indicator iteration function |


int OnCalculate ( const int rates_total,


const int prev_calculated,


const datetime &time[],


const double &open[],


const double &high[],


const double &low[],


const double &close[],


const long &tick_volume[],


const long &volume[],


const int &spread[])


// | Place your Trading-Rules here - see example below. |


// | StrategyTester will call this function to place trades. |


// | - Add function paramaters, e. g. CheckMyRules(int a) |


// | - Change function return type, e. g. int CheckMyRules() |


//call helper function GetValueForMA() to get the value - see helper-functions below.


double emaSlow_Current = GetValueForMA(period_slow, 0 );


double emaFast_Current = GetValueForMA(period_fast, 0 );


//call helper function GetValueForMA() to get the value - see helper-functions below.


double emaSlow_Past = GetValueForMA(period_slow, 1 );


double emaFast_Past = GetValueForMA(period_fast, 1 );


double kvoSignal = GetValuesFromIndicator__KVO__( 1 , 0 );


PrintDebugValue( "emaFast_Current: " ,( string )emaFast_Current, 1 ); //Label and value in line 1.


PrintDebugValue( "emaSlow_Past: " ,( string )emaSlow_Past, 2 ); //Label and value in line 2.


PrintDebugValue( "emaFast_Past: " ,( string )emaFast_Past, 3 ); //Label and value in line 3.


&& emaFast_Current < emaSlow_Past //Check if slow MA and fast MA crosses.


&& kvoSignal < 0 ) //Check if signal value of KVO is under 0.


PlaceTrade( OP_SELL ); //Place SELL-Trade for Strategy-Tester, function is located in BinaryOptionsStrategyLibrary. mqh.


&& emaFast_Current > emaSlow_Past //Check if slow MA and fast MA crosses.


&& kvoSignal > 0 ) //Check if signal value of KVO is over 0.


PlaceTrade( OP_BUY ); //Place BUY-Trade for Strategy-Tester, function is located in BinaryOptionsStrategyLibrary. mqh.


// | Place your Helper-Functions here, see example below |


// | Get MA values for period, method, applied price and shift. |


// | For details of iMA() see https://docs. mql4/indicators/ima |


double GetValueForMA( int _period, int _shift)


return iMA ( NULL , 0 ,_period, 0,method_both, applied_price_both,_shift);


// | Example how to get values from external indicators, |


// | int _buffer - indicator-buffer (starts with 0) |


// | int _shift - value to shift; 0 = current candle, 1 = prev candle |


double GetValuesFromIndicator__KVO__( int _buffer, int _shift= 0 ) //Change "__KVO__" to indicator name.


NULL , //NULL for current timeframe selected in tester - NO CHANGES NEEDED.


0 , //0 for current symbol selected in tester - NO CHANGES NEEDED.


"\\Downloads\\KVO. ex4" , //Filepath and filename of the indicator (*.ex4 file)


//BEGIN INDCATORS INPUTS.


_shift //Shift (0 for current candle), _shift is adressed over function parameter - NO CHANGES NEEDED.


4. Run a backtest (video)


The following video shows how to run a backtest of your Binary Options strategy in Strategy-Tester of MetaTrader 4:


Start Binary-Options-Strategy-Tester in Strategy-Tester of MetaTrader 4 and set the input parameters Drag your Binary Options strategy indicator on the chart, set the input parameters and check "Allow external expert imports" on the "common" tab Drag your used indicators with their used input parameters on the chart to see their values while tester is running (optional) Save all settings in a template to run the test with all settings again - using the pause button of the Strategy-Tester (optional) See the results of your Binary Options strategy on the Strategy-Tester chart.


5. Run a forward test.


To do a forward test simply drag the Binary-Options-Strategy-Tester utility and your strategy indicator on your demo or live chart of your broker instead of using it in Strategy-Tester:


Drag Binary-Options-Strategy-Tester utility on demo or live chart and set the input parameters Drag your Binary Options strategy indicator on the chart, set the input parameters and check "Allow external expert imports" on the "common" tab Drag your used indicators with their used input parameters on the chart to see their values while forward test is running (optional) Save all settings in a template to run the test again with all settings (optional) See the results of your Binary Options strategy on demo or live chart.


Question: Why do you show an example of a non profitable Binary Options strategy?


Answere: This is just an example how to build a strategy in an Indicator to communicate with the Binary-Options-Strategy-Tester utility in marketplace to test and improve your strategy.


Question: Binary-Options-Strategy-Tester stops after the exact amount of losses with error "Array out of range". لماذا ا؟


Answere: Binary-Options-Strategy-Tester can rise an error after x losses to stop Tester and to analyse the situaion on the chart. If you do not want to, just switch off the option in settings.


Question: No arrows appear on chart after I draged my indicator with a working strategy on it. ماذا حدث؟


Answere: You have to enable "Allow external expert imports" on the "common" tab while you drag your strategy-indicator on the chart (log message will show an error in this case).


Question: No arrows appear on chart after I draged my indicator with a working strategy on it with "Allow external expert imports" enabled. لماذا ا؟


Answere: A strategy has to call a function of Binary-Options-Strategy-Tester to place virtual trades. Related to the MQL4 license concept this only works if the product has a working license. Therefore you have to purchase the product.


Question: No arrows appear on chart after I dragged my indicator with a working strategy on it and I got errors like "Cannot call .." or "Cannot load .." in the log of MetaTrader 4. What can I do?


Answere: Use the latest version (greater v1.00) of BinaryOptionsStrategyLibrary. mqh. Check version tag in code of your BinaryOptionsStrategyLibrary. mqh and see changelog v1.01 of BinaryOptionsStrategyLibrary.


Question: I see no results on Strategy-Tester tabs "Results", "Graph", "Report". Where I can see the results?


Answere: Strategy-Tester of MetaTrader 4 can not handle Binary Options so these tabs con not be used. Therefore this utility calculates all wins and losses and prints the results on the chart.


As I need a possibility to test Binary Options strategies automated in Strategy-Tester of MetaTrader 4 for long time periods in a short time and to do foward tests on the chart of the broker, this utility was build. I have spent a lot of time for the concept and the implementation of the Binary-Options-Strategy-Tester as well as for the documentation. Maybe there is a better way to do it and maybe some improvements will bring it closer to fit the needs of you. So please feel free to contact me for ideas for improvements!

Comments

Popular Posts