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

Profit factor:
8.54
Orders Execution
Checks for the total of open ordersIt automatically opens orders when conditions are reached
Indicators Used
MACD Histogram
4 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

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%
GBP/AUD Jul 2025 - Sep 2025
0.10
Total Trades 14
Won Trades 13
Lost trades 1
Win Rate 92.86 %
Expected payoff -64.39
Gross Profit 102.95
Gross Loss -1004.47
Total Net Profit -901.52
-100%
-50%
0%
50%
100%
EUR/USD Jul 2025 - Sep 2025
0.00
Total Trades 10
Won Trades 9
Lost trades 1
Win Rate 90.00 %
Expected payoff -31634.85
Gross Profit 108.00
Gross Loss -316456.50
Total Net Profit -316348.50
-100%
-50%
0%
50%
100%
AUD/USD Jul 2025 - Sep 2025
0.00
Total Trades 23
Won Trades 23
Lost trades 0
Win Rate 100.00 %
Expected payoff 12.00
Gross Profit 276.00
Gross Loss 0.00
Total Net Profit 276.00
-100%
-50%
0%
50%
100%
USD/JPY Jan 2025 - Jul 2025
0.17
Total Trades 61
Won Trades 60
Lost trades 1
Win Rate 98.36 %
Expected payoff -35.64
Gross Profit 457.75
Gross Loss -2631.95
Total Net Profit -2174.20
-100%
-50%
0%
50%
100%
USD/CHF Jan 2025 - Jul 2025
0.05
Total Trades 21
Won Trades 20
Lost trades 1
Win Rate 95.24 %
Expected payoff -216.05
Gross Profit 262.58
Gross Loss -4799.68
Total Net Profit -4537.10
-100%
-50%
0%
50%
100%
USD/CAD Jan 2025 - Jul 2025
0.17
Total Trades 54
Won Trades 53
Lost trades 1
Win Rate 98.15 %
Expected payoff -40.23
Gross Profit 437.97
Gross Loss -2610.64
Total Net Profit -2172.67
-100%
-50%
0%
50%
100%

Comments