Nevalyashka 10-लाइन EA - MetaTrader 4 के लिए बेहतरीन ट्रेडिंग सिस्टम

Mike 2016.03.22 16:49 23 0 0
संलग्नक

छोटे आकार के बावजूद, यह एक प्रभावी EA है जो न्यूनतम ऑप्टिमाइजेशन के बाद बेहतरीन प्रदर्शन कर सकता है।

इसमें मार्टिंगेल फंक्शन्स जोड़े जा सकते हैं।

//--------------------------------------------------------------------externint  stoploss    =50,
            takeprofit  =50;double      Lot=1;int         tip;//--------------------------------------------------------------------int init(){
   OrderSend(Symbol(),OP_SELL,Lot,Bid,3,NormalizeDouble(Ask+ stoploss*Point,Digits),
                        NormalizeDouble(Bid- takeprofit*Point,Digits)," ",777,Blue);}//--------------------------------------------------------------------int start(){
   for(int i=0; i<OrdersTotal(); i++){   
      if(OrderSelect(i,SELECT_BY_POS,MODE_TRADES)==true){
         if(OrderSymbol()==Symbol()){
            tip =OrderType();
            Lot =OrderLots();return;}}}
   if(Lot==0)return;
   if(tip==0)OrderSend(Symbol(),OP_SELL,Lot,Bid,3,NormalizeDouble(Ask+ stoploss*Point,Digits),
                                    NormalizeDouble(Bid- takeprofit*Point,Digits)," ",777,Blue);
   if(tip==1)OrderSend(Symbol(),OP_BUY,Lot,Ask,3,NormalizeDouble(Bid- stoploss*Point,Digits),
                                    NormalizeDouble(Ask+ takeprofit*Point,Digits)," ",777,Blue);
   return(0);}//-----------------------------------------------------------------

सरल ऑप्टिमाइजेशन परिणाम



    सूची
    टिप्पणी 0