weda--83win5lose-4h-GBP-JPY-based on MACD 300 pip per month-with 300 pip-S-L

Profit factor:
7.01
Orders Execution
Checks for the total of open ordersIt automatically opens orders when conditions are reached
Indicators Used
MACD Histogram
5 Views
0 Downloads
0 Favorites
weda--83win5lose-4h-GBP-JPY-based on MACD 300 pip per month-with 300 pip-S-L
//+------------------------------------------------------------------------+
//|                                  MACD edited with new magic period.mq4 |
//|  periode yg dimodifikasi didapat dengan kecerdasan buatan tingkat dasar|
//| period number is taken from book of soros, global crisis of capitalizm |
//| any better performance please contact with pm                          |
//+------------------------------------------------------------------------+



extern double Lots = 0.3;


//+------------------------------------------------------------------+
//|                                                                  |
//+------------------------------------------------------------------+
int start()
  {
   double MacdCurrent, MacdPrevious, MacdPrevious2, SignalCurrent;
   double SignalPrevious, MaCurrent, MaPrevious;
   int cnt, ticket, total, a, s, d, f;
// initial data checks
// cek data
// it is important to make sure that the expert works with a normal
// memastikan EA bekerja dengan normal
// chart and the user did not make any mistakes setting external 
// tidak ada kesalahan user ataupun chart
// variables (Lots, StopLoss, TakeProfit, 
// TrailingStop) in our case, we check TakeProfit
// on a chart of less than 100 bars
// memastikan grafik lebih dari 100 bar

   if(Bars<100)
     {
      Print("bars less than 100");
      return(0);  
     }
  
// sederhanakan kode untuk percepat running-to simplify the coding and speed up access
// data dipindahkan ke internal variabel-data are put into internal variables

   MacdCurrent=iMACD(NULL,0,6,18,1,PRICE_CLOSE,MODE_MAIN,0);
   MacdPrevious=iMACD(NULL,0,6,18,1,PRICE_CLOSE,MODE_MAIN,1);
   MacdPrevious2=iMACD(NULL,0,6,18,1,PRICE_CLOSE,MODE_MAIN,2);
   
   
 //-------------------------------------------------------------------------------

// if we use artificial neural network
// the best combination of period for each technical indicator
// will created instantly without significant consecutive loss
// i am still work on it
// always hope some one to help our team in jakarta...... :-)
// anything better the period that we have now are welcome

//-------------------------------------------------------------------------------






// periode didapat dari kutipan soros pada bukunya
// global crisis of capitalizm
// time periode are got from soros's book

   total=OrdersTotal();
   if(total<1) 
     {
      // no opened orders identified
      if(AccountFreeMargin()<(1000*Lots))
        {
         Print("We have no money. Free Margin = ", AccountFreeMargin());
         return(0);  
        }
      




  


      
      
      
      
      
      
      //-----------------------------------------------------------------penting
      
      
      // check for long position (BUY) possibility
      
      
      //-----------------------------------------------------------------penting
      
      
      
      //if(MacdCurrent>0 && MacdCurrent<0.2&& MacdPrevious>0&& MacdPrevious<0.2&& MacdPrevious2>MacdPrevious<MacdCurrent)
     
     if(MacdPrevious2>0 && MacdPrevious2<0.06 && MacdPrevious2>MacdPrevious<MacdCurrent)

      //OP_BUY,Lots,Ask,3,Ask - 200*Point,Ask + 200*Point,"macd sample",16384,0,Green);
      
        {
         ticket=OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,Ask+40*Point,"macd sample",16384,0,Green);
         if(ticket>0)
           {
            if(OrderSelect(ticket,SELECT_BY_TICKET,MODE_TRADES)) Print("BUY order opened : ",OrderOpenPrice());
           }
         else Print("Error opening BUY order : ",GetLastError()); 
         return(0); 
        }
      
      
      
       //-----------------------------------------------------------------penting
      


}}// the end-tamat

Profitability Reports

NZD/USD Jul 2025 - Sep 2025
0.07
Total Trades 5
Won Trades 4
Lost trades 1
Win Rate 80.00 %
Expected payoff -132.42
Gross Profit 48.00
Gross Loss -710.10
Total Net Profit -662.10
-100%
-50%
0%
50%
100%
GBP/USD Jul 2025 - Sep 2025
0.19
Total Trades 12
Won Trades 11
Lost trades 1
Win Rate 91.67 %
Expected payoff -47.62
Gross Profit 132.00
Gross Loss -703.50
Total Net Profit -571.50
-100%
-50%
0%
50%
100%
GBP/AUD Jul 2025 - Sep 2025
0.03
Total Trades 5
Won Trades 4
Lost trades 1
Win Rate 80.00 %
Expected payoff -192.34
Gross Profit 31.26
Gross Loss -992.95
Total Net Profit -961.69
-100%
-50%
0%
50%
100%
AUD/USD Jul 2025 - Sep 2025
1.74
Total Trades 22
Won Trades 21
Lost trades 1
Win Rate 95.45 %
Expected payoff 4.85
Gross Profit 252.00
Gross Loss -145.20
Total Net Profit 106.80
-100%
-50%
0%
50%
100%
USD/JPY Jul 2025 - Sep 2025
7.09
Total Trades 99
Won Trades 98
Lost trades 1
Win Rate 98.99 %
Expected payoff 6.93
Gross Profit 798.73
Gross Loss -112.71
Total Net Profit 686.02
-100%
-50%
0%
50%
100%
USD/CHF Jul 2025 - Sep 2025
0.61
Total Trades 39
Won Trades 38
Lost trades 1
Win Rate 97.44 %
Expected payoff -9.36
Gross Profit 566.72
Gross Loss -931.84
Total Net Profit -365.12
-100%
-50%
0%
50%
100%
USD/CAD Jul 2025 - Sep 2025
1.48
Total Trades 48
Won Trades 47
Lost trades 1
Win Rate 97.92 %
Expected payoff 2.76
Gross Profit 409.07
Gross Loss -276.60
Total Net Profit 132.47
-100%
-50%
0%
50%
100%
NZD/USD Jul 2025 - Sep 2025
0.07
Total Trades 5
Won Trades 4
Lost trades 1
Win Rate 80.00 %
Expected payoff -133.02
Gross Profit 48.00
Gross Loss -713.10
Total Net Profit -665.10
-100%
-50%
0%
50%
100%
GBP/USD Jul 2025 - Sep 2025
0.15
Total Trades 10
Won Trades 9
Lost trades 1
Win Rate 90.00 %
Expected payoff -59.73
Gross Profit 108.00
Gross Loss -705.30
Total Net Profit -597.30
-100%
-50%
0%
50%
100%
GBP/CAD Jul 2025 - Sep 2025
0.41
Total Trades 16
Won Trades 15
Lost trades 1
Win Rate 93.75 %
Expected payoff -11.61
Gross Profit 130.10
Gross Loss -315.84
Total Net Profit -185.74
-100%
-50%
0%
50%
100%

Comments