PHP Warning: file_get_contents(https://www.arabictrader.com/arabictrader_storage_server/live_json_feed/at_latest_news.json): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
in
..../includes/arabictrader/blue_theme/at_latest_news.php on line
13
-
طلب لمستر دولار لتعديل كود اكسبيرت
مساء الخير
ياريت حضرتك تبص على كود الاكسبيرت دة وتعدل عليه اذا كان فية اى اخطاء برمجية لانى لسه جديد فى برمجة الاكسبيرتات ومشكور جدا لتعبك
كود PHP:
//+------------------------------------------------------------------+
//| Forex trader V1.mq4 |
//| Copyright © 2011, MetaQuotes Software Corp. |
//| [email protected] |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2011, MetaQuotes Software Corp."
#property link "[email protected]"
//+------------------------------------------------------------------+
//| expert initialization function |
//+------------------------------------------------------------------+
int init()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| expert deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| expert start function |
//+------------------------------------------------------------------+
int start()
{
Comment("forex trade V1"+"\n"+"Desined By Engineering Poles anwer"+"\n"+"[email protected]")
//////////////////////////////////////////////////
double mgys=iCustom(NULL,0,"MGY-daysavg",0,0);
double mgyb=iCustom(NULL,0,"MGY-daysavg",1,0);
int StopLoss=50;
int TakeProfit=(mgyb-mgys)/3;
double Lots=(AccountBalance()*0.02)/50;
double SL,TP;
if (mgys=true){
if(StopLoss==0){SL=0;}else{SL=Bid+StopLoss*Point;}
if(TakeProfit==0){TP=0;}else{TP=Bid-TakeProfit*Point;}
OrderSend(NULL,OP_SELL,Lots,Bid,3,SL,TP,"eng.poles",1,0,Red);
PlaySound("Alert.wav");
}
if (mgyb=true){
if(StopLoss==0){SL=0;}else{SL=Ask-StopLoss*Point;}
if(TakeProfit==0){TP=0;}else{TP=Ask+TakeProfit*Point;}
OrderSend(NULL,OP_BUY,Lots,Ask,3,SL,TP,"eng.poles",1,0,Blue);
PlaySound("Alert.wav");
}
double LotManage
{
double lot = MathCeil(AccountFreeMargin() * 2 / 1000) / 100;
if(lot<MarketInfo(Symbol(),MODE_MINLOT))lot=MarketInfo(Symbol(),MODE_MINLOT);
if(lot>MarketInfo(Symbol(),MODE_MAXLOT))lot=MarketInfo(Symbol(),MODE_MAXLOT);
return (lot);
//----
//----
//+------------------------------------------------------------------+
ودى الاستراتيجية الى عملت عليها الاكسبيرت

بحيث ان الاكسبيرت يفتح صفقة بيع عند وصولة للخط الاخضر وصفقة شراء عند وصولة للخط الاحمر ويكون الهدف ثلث المسافة بين الخطين (1/3 * عدد النقط بين الخط الاحمر والاخضر) والاستوب لوز ثابت 50 نقطة وتكون نسبة المخاطرة 2 % لكل صفقة واقصى عدد يفتحة الاكسبيرت هو 3 لوتات بحيث انة يكون نسبة المخاطرة الكلية 6%
ارجو منك تعديل كود الاكسبيرت وتعديل الاخطاء البرمجية الموجودة فيه
وشكرا جزيلا لتعبك وربنا يعوضك كل خير
مساء الخير
ياريت حضرتك تبص على كود الاكسبيرت دة وتعدل عليه اذا كان فية اى اخطاء برمجية لانى لسه جديد فى برمجة الاكسبيرتات ومشكور جدا لتعبك
كود PHP:
//+------------------------------------------------------------------+
//| Forex trader V1.mq4 |
//| Copyright © 2011, MetaQuotes Software Corp. |
//| [email protected] |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2011, MetaQuotes Software Corp."
#property link "[email protected]"
//+------------------------------------------------------------------+
//| expert initialization function |
//+------------------------------------------------------------------+
int init()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| expert deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| expert start function |
//+------------------------------------------------------------------+
int start()
{
Comment("forex trade V1"+"\n"+"Desined By Engineering Poles anwer"+"\n"+"[email protected]")
//////////////////////////////////////////////////
double mgys=iCustom(NULL,0,"MGY-daysavg",0,0);
double mgyb=iCustom(NULL,0,"MGY-daysavg",1,0);
int StopLoss=50;
int TakeProfit=(mgyb-mgys)/3;
double Lots=(AccountBalance()*0.02)/50;
double SL,TP;
if (mgys=true){
if(StopLoss==0){SL=0;}else{SL=Bid+StopLoss*Point;}
if(TakeProfit==0){TP=0;}else{TP=Bid-TakeProfit*Point;}
OrderSend(NULL,OP_SELL,Lots,Bid,3,SL,TP,"eng.poles",1,0,Red);
PlaySound("Alert.wav");
}
if (mgyb=true){
if(StopLoss==0){SL=0;}else{SL=Ask-StopLoss*Point;}
if(TakeProfit==0){TP=0;}else{TP=Ask+TakeProfit*Point;}
OrderSend(NULL,OP_BUY,Lots,Ask,3,SL,TP,"eng.poles",1,0,Blue);
PlaySound("Alert.wav");
}
double LotManage
{
double lot = MathCeil(AccountFreeMargin() * 2 / 1000) / 100;
if(lot<MarketInfo(Symbol(),MODE_MINLOT))lot=MarketInfo(Symbol(),MODE_MINLOT);
if(lot>MarketInfo(Symbol(),MODE_MAXLOT))lot=MarketInfo(Symbol(),MODE_MAXLOT);
return (lot);
//----
//----
//+------------------------------------------------------------------+
ودى الاستراتيجية الى عملت عليها الاكسبيرت

بحيث ان الاكسبيرت يفتح صفقة بيع عند وصولة للخط الاخضر وصفقة شراء عند وصولة للخط الاحمر ويكون الهدف ثلث المسافة بين الخطين (1/3 * عدد النقط بين الخط الاحمر والاخضر) والاستوب لوز ثابت 50 نقطة وتكون نسبة المخاطرة 2 % لكل صفقة واقصى عدد يفتحة الاكسبيرت هو 3 لوتات بحيث انة يكون نسبة المخاطرة الكلية 6%
ارجو منك تعديل كود الاكسبيرت وتعديل الاخطاء البرمجية الموجودة فيه
وشكرا جزيلا لتعبك وربنا يعوضك كل خير
poles2008
https://forum.arabictrader.com/u34496.html
20-06-2011 07:18 PM