تم عمل مؤشر يحسب نقطة الارتكاز
لليوم الحالي كما طلبت
[PHP]//+------------------------------------------------------------------+
//| candle pivot.mq4 |
//| Copyright 2012, MetaQuotes Software Corp. |
//| http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright 2012, zouhirtaha "
#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()
{
double hi= iHigh(0,PERIOD_D1,0);
double lo= iLow(0,PERIOD_D1,0);
double cls= iClose(0,PERIOD_D1,0);
double pivot= (hi+lo+cls)/3;
Alert("candle pivot D1=",pivot);
return(0);
}
//+------------------------------------------------------------------+[/PHP]
هده صورة تنبيه والمؤشر ستجده في المرفقات
وياريتك تكمل الموضوع لانه مفيد جدا
هناك اغلبية الاعضاء المنتدى يريدون تعلم البرمجة