البرنامج سهل جدا التعامل معه يعني امر مثل الشراء فقط اختصاره كما بالصوره
اما برمجه نفس الكود هو
[PHP]//-------------------------------------------------------------
// Etasoft Inc. Forex EA and Script Generator version 4.4 EA
//-------------------------------------------------------------
// Keywords: MT4, Forex EA builder, create EA, expert advisor developer
#property copyright "Copyright © 2011, Etasoft Inc. Forex EA Generator v4.4"
#property link "http://www.forexgenerator.com/"
#include <stdlib.mqh>
#include <WinUser32.mqh>
// exported variables
extern double BuyLots2 = 0.1;
extern int BuyStoploss2 = 20;
extern int BuyTakeprofit2 = 30;
// local variables
double PipValue=1; // this variable is here to support 5-digit brokers
bool Terminated = false;
string LF = "\n"; // use this in custom or utility blocks where you need line feeds
int NDigits = 4; // used mostly for NormalizeDouble in Flex type blocks
int ObjCount = 0; // count of all objects created on the chart, allows creation of objects with unique names
int current = 0;
int init()
{
NDigits = Digits;
Comment(""); // clear the chart
}
// Expert start
int start()
{
if (Bars < 10)
{
Comment("Not enough bars");
return (0);
}
if (Terminated == true)
{
Comment("EA Terminated.");
return (0);
}
OnEveryTick1();
}
void OnEveryTick1()
{
if (false) PipValue = 10;
BuyOrder2();
}
void BuyOrder2()
{
double SL = Ask - BuyStoploss2*PipValue*Point;
if (BuyStoploss2 == 0) SL = 0;
double TP = Ask + BuyTakeprofit2*PipValue*Point;
if (BuyTakeprofit2 == 0) TP = 0;
int ticket = -1;
if (true)
ticket = OrderSend(Symbol(), OP_BUY, BuyLots2, Ask, 4, 0, 0, "My Expert", 1, 0, Blue);
else
ticket = OrderSend(Symbol(), OP_BUY, BuyLots2, Ask, 4, SL, TP, "My Expert", 1, 0, Blue);
if (ticket > -1)
{
if (true)
{
OrderSelect(ticket, SELECT_BY_TICKET);
bool ret = OrderModify(OrderTicket(), OrderOpenPrice(), SL, TP, 0, Blue);
if (ret == false)
Print("OrderModify() error - ", ErrorDescription(GetLastError()));
}
}
else
{
Print("OrderSend() error - ", ErrorDescription(GetLastError()));
}
}
int deinit()
{
}
[/PHP]
للاسف كنت اتمني ان تكون تعمل به حتي اسئلك علي بعض الاوامر
واتمني ان يهتم الاخوه بهذا البرنامج لان ميتا تريدر 5 يمكن تصميم اكسبرتاته بنفس البرنامج