Author: Copyright � 2005, MetaQuotes Software Corp.
Profit factor:
3.77
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
5 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/CHF Jan 2025 - Jul 2025
0.01
Total Trades 67
Won Trades 1
Lost trades 66
Win Rate 1.49 %
Expected payoff -14.95
Gross Profit 9.94
Gross Loss -1011.88
Total Net Profit -1001.94
-100%
-50%
0%
50%
100%
USD/CAD Jan 2025 - Jul 2025
0.00
Total Trades 48
Won Trades 0
Lost trades 48
Win Rate 0.00 %
Expected payoff -10.53
Gross Profit 0.00
Gross Loss -505.36
Total Net Profit -505.36
-100%
-50%
0%
50%
100%
NZD/USD Jan 2025 - Jul 2025
0.00
Total Trades 54
Won Trades 0
Lost trades 54
Win Rate 0.00 %
Expected payoff -10.50
Gross Profit 0.00
Gross Loss -567.00
Total Net Profit -567.00
-100%
-50%
0%
50%
100%
GBP/USD Jan 2025 - Jul 2025
0.00
Total Trades 25
Won Trades 0
Lost trades 25
Win Rate 0.00 %
Expected payoff -25.76
Gross Profit 0.00
Gross Loss -644.00
Total Net Profit -644.00
-100%
-50%
0%
50%
100%
GBP/CAD Jan 2025 - Jul 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 Jan 2025 - Jul 2025
0.00
Total Trades 25
Won Trades 0
Lost trades 25
Win Rate 0.00 %
Expected payoff -25.68
Gross Profit 0.00
Gross Loss -642.06
Total Net Profit -642.06
-100%
-50%
0%
50%
100%
EUR/USD Jan 2025 - Jul 2025
0.00
Total Trades 29
Won Trades 0
Lost trades 29
Win Rate 0.00 %
Expected payoff -20.48
Gross Profit 0.00
Gross Loss -594.00
Total Net Profit -594.00
-100%
-50%
0%
50%
100%
AUD/USD Jan 2025 - Jul 2025
0.02
Total Trades 30
Won Trades 1
Lost trades 29
Win Rate 3.33 %
Expected payoff -134.17
Gross Profit 83.00
Gross Loss -4108.00
Total Net Profit -4025.00
-100%
-50%
0%
50%
100%
USD/CAD Oct 2024 - Jan 2025
0.01
Total Trades 39
Won Trades 1
Lost trades 38
Win Rate 2.56 %
Expected payoff -6.55
Gross Profit 2.22
Gross Loss -257.79
Total Net Profit -255.57
-100%
-50%
0%
50%
100%
NZD/USD Oct 2024 - Jan 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%

Comments