السلام عليكم ورحمة الله وبركاته
ان شاء الله في هذا الموضوع سنبدء دورة لتعلم البرمجة من 0 او اقل من 0 لو لزم ذلك حتي احتراف برمجة مؤشر
اما الاكسبريت فلست جيدا جدا في برمجته لاكن عند الوصول اليه سنحاول فيه مع بعض
وسنحاول عمل اكثر من تطبيق لكل مفهم
ياريت فقط تكون هناك متابعة لكي لا امل وحدي
نبدء علي بركة الله
نبدء مباشرة في الجانب التطبيقي
كيف افتح مترجم mq4
الذي اترجم فيه افكاري
1-نفتح منصة التداول
2- نضغط علي f4
او نختار مترجم mq4
كما في الصورة
ونكون هكذا خطونا اول خطوة في البرمجة
يتبع
لما ندخل الي مترجم mq4
نتبع الصور التالية
ثم
ثم
ثم
بعدها سنجد الصفحة المبرمجة مسبقا التالية
[PHP]//+------------------------------------------------------------------+
//| bb.mq4 |
//| Copyright 2012, MetaQuotes Software Corp. |
//| http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright 2012, MetaQuotes Software Corp."
#property link "http://www.metaquotes.net"
#property indicator_chart_window
//+------------------------------------------------------------------+
//| Custom indicator initialization function |
//+------------------------------------------------------------------+
int init()
{
//---- indicators
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| Custom indicator iteration function |
//+------------------------------------------------------------------+
int start()
{
int counted_bars=IndicatorCounted();
//----
//----
return(0);
}
//+------------------------------------------------------------------+[/PHP]
ومن هنا تبدء عملية برمجة المؤشر