Author: Copyright � 2005, MetaQuotes Software Corp.
Profit factor:
1.74
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
10 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

GBP/CAD Jul 2025 - Sep 2025
0.00
Total Trades 0
Won Trades 0
Lost trades 0
Win Rate 0.0 %
Expected payoff 0.00
Gross Profit 0.00
Gross Loss 0.00
Total Net Profit 0.00
-100%
-50%
0%
50%
100%
GBP/AUD Jul 2025 - Sep 2025
0.00
Total Trades 27
Won Trades 0
Lost trades 27
Win Rate 0.00 %
Expected payoff -23.56
Gross Profit 0.00
Gross Loss -636.23
Total Net Profit -636.23
-100%
-50%
0%
50%
100%
EUR/USD Jul 2025 - Sep 2025
0.00
Total Trades 30
Won Trades 0
Lost trades 30
Win Rate 0.00 %
Expected payoff -8.37
Gross Profit 0.00
Gross Loss -251.00
Total Net Profit -251.00
-100%
-50%
0%
50%
100%
AUD/USD Jul 2025 - Sep 2025
0.10
Total Trades 49
Won Trades 9
Lost trades 40
Win Rate 18.37 %
Expected payoff -4.18
Gross Profit 22.00
Gross Loss -227.00
Total Net Profit -205.00
-100%
-50%
0%
50%
100%
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%

Comments