Author: Copyright � 2005, MetaQuotes Software Corp.
Profit factor:
2.14
Orders Execution
It Closes Orders by itself It automatically opens orders when conditions are reachedIt can change open orders parameters, due to possible stepping strategy
7 Views
0 Downloads
0 Favorites
BadOrders
/*-----------------------------+
|			       |
| Shared by www.Aptrafx.com    |
|			       |
+------------------------------*/

//+------------------------------------------------------------------+
//|                                                    BadOrders.mq4 |
//|                      Copyright © 2005, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2005, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"

double asdf;
   double ticket, t2;

//+------------------------------------------------------------------+
//| expert initialization function                                   |
//+------------------------------------------------------------------+
int init()
  {
//---- 
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert deinitialization function                                 |
//+------------------------------------------------------------------+
int deinit()
  {
//---- 

//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert start function                                            |
//+------------------------------------------------------------------+
int start()
  {
//---- 


//This section closes any positions opened on the last tick
OrderSelect(1,SELECT_BY_POS);
OrderClose(OrderTicket(),1,Bid,8,Red);


ticket=OrderSend(Symbol(),OP_BUYSTOP,1,Bid+100*Point,3,0,0,"asdfasdf",16384,0,Green);

   t2=OrderSelect(ticket,SELECT_BY_TICKET);
   OrderModify(OrderTicket(),Bid-100*Point,0,0,0,Green);
   //OrderClose(OrderTicket(),1,Bid,8,Red);
//   OrderSend(Symbol(),OP_BUYSTOP,1,Bid-100*Point,3,0,0,"asdfasdf",16384,0,Green);
   
//----
   return(0);
  }
//+------------------------------------------------------------------+

Profitability Reports

USD/JPY Jul 2025 - Sep 2025
0.66
Total Trades 139
Won Trades 51
Lost trades 88
Win Rate 36.69 %
Expected payoff -1.87
Gross Profit 513.50
Gross Loss -773.19
Total Net Profit -259.69
-100%
-50%
0%
50%
100%
USD/CHF Jul 2025 - Sep 2025
0.00
Total Trades 19
Won Trades 0
Lost trades 19
Win Rate 0.00 %
Expected payoff -26.47
Gross Profit 0.00
Gross Loss -502.93
Total Net Profit -502.93
-100%
-50%
0%
50%
100%
USD/CAD Jul 2025 - Sep 2025
0.94
Total Trades 20
Won Trades 9
Lost trades 11
Win Rate 45.00 %
Expected payoff -0.15
Gross Profit 44.08
Gross Loss -47.01
Total Net Profit -2.93
-100%
-50%
0%
50%
100%
NZD/USD Jul 2025 - Sep 2025
0.00
Total Trades 24
Won Trades 0
Lost trades 24
Win Rate 0.00 %
Expected payoff -18.50
Gross Profit 0.00
Gross Loss -444.00
Total Net Profit -444.00
-100%
-50%
0%
50%
100%
GBP/USD Jul 2025 - Sep 2025
0.13
Total Trades 26
Won Trades 5
Lost trades 21
Win Rate 19.23 %
Expected payoff -9.88
Gross Profit 39.00
Gross Loss -296.00
Total Net Profit -257.00
-100%
-50%
0%
50%
100%
GBP/CAD Jul 2025 - Sep 2025
0.00
Total Trades 12
Won Trades 0
Lost trades 12
Win Rate 0.00 %
Expected payoff -33.99
Gross Profit 0.00
Gross Loss -407.86
Total Net Profit -407.86
-100%
-50%
0%
50%
100%
GBP/AUD Jul 2025 - Sep 2025
0.00
Total Trades 25
Won Trades 0
Lost trades 25
Win Rate 0.00 %
Expected payoff -25.70
Gross Profit 0.00
Gross Loss -642.59
Total Net Profit -642.59
-100%
-50%
0%
50%
100%
EUR/USD Jul 2025 - Sep 2025
0.00
Total Trades 14
Won Trades 0
Lost trades 14
Win Rate 0.00 %
Expected payoff -14.36
Gross Profit 0.00
Gross Loss -201.00
Total Net Profit -201.00
-100%
-50%
0%
50%
100%
AUD/USD Jul 2025 - Sep 2025
0.00
Total Trades 22
Won Trades 0
Lost trades 22
Win Rate 0.00 %
Expected payoff -5.23
Gross Profit 0.00
Gross Loss -115.00
Total Net Profit -115.00
-100%
-50%
0%
50%
100%
USD/JPY Jan 2025 - Jul 2025
0.20
Total Trades 293
Won Trades 64
Lost trades 229
Win Rate 21.84 %
Expected payoff -3.42
Gross Profit 254.52
Gross Loss -1255.40
Total Net Profit -1000.88
-100%
-50%
0%
50%
100%

Comments