الاكسبيرت بعد الانتهى منه
[PHP]//+------------------------------------------------------------------+
//| ART top.mq4 |
//| mnaber |
//| http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "mnaber"
#property link "http://www.metaquotes.net"
//+------------------------------------------------------------------+
//| expert initialization function |
//+------------------------------------------------------------------+
int init()
{
//----
//----
return(0);
}
//+------------------------------------------------------------------+
//| expert deinitialization function |
//+------------------------------------------------------------------+
int deinit()
{
//----
//----
return(0);
}
int start()
{
if(iClose(0,0,3)>iOpen(0,0,3)){if(iClose(0,0,3)<iM A(0,0,200,0,0,0,3)&&iOpen(0,0,2)>iMA(0,0,200,0,0,0 ,3)&&iClose(0,0,2)>iOpen(0,0,2)
&&iLow(0,0,2)<=iMA(0,0,200,0,0,0,3)&&iOpen(0,0,1)> iClose(0,0,2)&&iClose(0,0,1)>iOpen(0,0,1)&&OrdersT otal()==0)
OrderSend(Symbol(), OP_BUY,1, Ask, 3, Ask-0.0020,Ask+0.0020, "",1236332, 0, Green);}
if(iClose(0,0,3)<iOpen(0,0,3)){if(iClose(0,0,3)>iM A(0,0,200,0,0,0,3)&&iOpen(0,0,2)<iMA(0,0,200,0,0,0 ,3)&&iClose(0,0,2)<iOpen(0,0,2)
&&iLow(0,0,2)>=iMA(0,0,200,0,0,0,3)&&iOpen(0,0,1)< iClose(0,0,2)&&iClose(0,0,1)<iOpen(0,0,1)&&OrdersT otal()==0)
OrderSend(Symbol(), OP_SELL,1, Bid, 3, Bid+0.0020,Bid-0.0020, "",1236332, 0, Red);}
return(0);
}
//+------------------------------------------------------------------+[/PHP]
ان شاء الله نكون وفقنا في الشرح