Ninaeatest_www.forex-instruments.info

Author: emsjoflo
Profit factor:
0.68
Orders Execution
Checks for the total of open ordersIt Closes Orders by itself It automatically opens orders when conditions are reached
7 Views
0 Downloads
0 Favorites
Ninaeatest_www.forex-instruments.info
//+------------------------------------------------------------------+
//|                                                        NinaEA.mq4|
//|                                                         emsjoflo |
//|                                  automaticforex.invisionzone.com |
//+------------------------------------------------------------------+
#property copyright "emsjoflo"
#property link      "automaticforex.invisionzone.com"
//---- input parameters
extern int       PeriodWATR=10;
extern double    Kwatr=1;
extern int       highlow=0;
extern int       cbars=1000;
extern int       from =0;
extern int       maP =50;
extern double    lots=0.1;
extern int       SMAspread=0;
extern int       StopLoss=0;
extern int       Slippage=4;
//----
double   nina, ninapast, SL=0;
int      i, buys, sells;
//+------------------------------------------------------------------+
//| expert initialization function                                   |
//+------------------------------------------------------------------+
int init()
  {
//----
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert deinitialization function                                 |
//+------------------------------------------------------------------+
int deinit()
  {
//----
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert start function                                            |
//+------------------------------------------------------------------+
int start()
  {
//----
   //get moving average info
   nina=iCustom(NULL,0,"NINA",PeriodWATR,Kwatr,highlow,0,1)-iCustom(NULL,0,"NINA",PeriodWATR,Kwatr,highlow,1,1);
   ninapast=iCustom(NULL,0,"NINA",PeriodWATR,Kwatr,highlow,0,2)-iCustom(NULL,0,"NINA",PeriodWATR,Kwatr,highlow,1,2);
   //check for open orders first 
   if (OrdersTotal()>0)
     {
      buys=0;
      sells=0;
      for(i=0;i<OrdersTotal();i++)
        {
         OrderSelect(i,SELECT_BY_POS);
         if (OrderSymbol()==Symbol())
           {
            if (OrderType()== OP_BUY)
              {
               if (nina<=0) OrderClose(OrderTicket(),OrderLots(),Bid,Slippage,Orange);
               else buys++;
              }
            if (OrderType()== OP_SELL)
              {
               if (nina>=0) OrderClose(OrderTicket(),OrderLots(),Ask,Slippage,Yellow);
               else sells++;
              }
           }
        }
     }
   if (nina>=0 && ninapast < 0 && buys==0)
     {
      Print("Buy condition");
      if (StopLoss >1) SL=Ask-StopLoss*Point;
   OrderSend(Symbol(),OP_BUY,lots,Ask,Slippage,0/*(Ask-StopLoss*Point)*/,0,"NinaEA",123,0,Green);
     }
   if (nina<=0 && ninapast > 0 && sells ==0)
     {
      Print ("Sell condition");
      if (StopLoss>1) SL=Bid+StopLoss*Point;
   OrderSend(Symbol(),OP_SELL,lots,Bid,Slippage,0/*(Bid+StopLoss*Point)*/,0,"NinaEA",123,0,Red);
     }
//----
   return(0);
  }
//+------------------------------------------------------------------+

Profitability Reports

USD/CAD Oct 2024 - Jan 2025
1.21
Total Trades 61
Won Trades 19
Lost trades 42
Win Rate 31.15 %
Expected payoff 2.53
Gross Profit 881.61
Gross Loss -726.98
Total Net Profit 154.63
-100%
-50%
0%
50%
100%
GBP/USD Jul 2025 - Sep 2025
1.10
Total Trades 73
Won Trades 24
Lost trades 49
Win Rate 32.88 %
Expected payoff 1.52
Gross Profit 1243.40
Gross Loss -1132.20
Total Net Profit 111.20
-100%
-50%
0%
50%
100%
GBP/CAD Jul 2025 - Sep 2025
1.03
Total Trades 38
Won Trades 8
Lost trades 30
Win Rate 21.05 %
Expected payoff 0.56
Gross Profit 798.85
Gross Loss -777.48
Total Net Profit 21.37
-100%
-50%
0%
50%
100%
AUD/USD Oct 2024 - Jan 2025
0.97
Total Trades 53
Won Trades 0
Lost trades 0
Win Rate 0.00 %
Expected payoff -0.42
Gross Profit 712.70
Gross Loss -734.70
Total Net Profit -22.00
-100%
-50%
0%
50%
100%
USD/JPY Jul 2025 - Sep 2025
0.91
Total Trades 92
Won Trades 31
Lost trades 61
Win Rate 33.70 %
Expected payoff -1.15
Gross Profit 1120.24
Gross Loss -1226.30
Total Net Profit -106.06
-100%
-50%
0%
50%
100%
NZD/USD Jan 2025 - Jul 2025
0.90
Total Trades 131
Won Trades 42
Lost trades 89
Win Rate 32.06 %
Expected payoff -1.41
Gross Profit 1758.60
Gross Loss -1943.90
Total Net Profit -185.30
-100%
-50%
0%
50%
100%
GBP/USD Jan 2025 - Jul 2025
0.86
Total Trades 126
Won Trades 36
Lost trades 90
Win Rate 28.57 %
Expected payoff -3.73
Gross Profit 2862.40
Gross Loss -3332.80
Total Net Profit -470.40
-100%
-50%
0%
50%
100%
GBP/AUD Jul 2025 - Sep 2025
0.85
Total Trades 94
Won Trades 32
Lost trades 62
Win Rate 34.04 %
Expected payoff -2.02
Gross Profit 1077.40
Gross Loss -1267.09
Total Net Profit -189.69
-100%
-50%
0%
50%
100%
GBP/USD Jul 2025 - Sep 2025
0.84
Total Trades 43
Won Trades 11
Lost trades 32
Win Rate 25.58 %
Expected payoff -3.87
Gross Profit 882.90
Gross Loss -1049.40
Total Net Profit -166.50
-100%
-50%
0%
50%
100%
AUD/USD Jul 2025 - Sep 2025
0.79
Total Trades 81
Won Trades 26
Lost trades 55
Win Rate 32.10 %
Expected payoff -2.16
Gross Profit 669.40
Gross Loss -844.70
Total Net Profit -175.30
-100%
-50%
0%
50%
100%
USD/CAD Jul 2025 - Sep 2025
0.73
Total Trades 45
Won Trades 13
Lost trades 32
Win Rate 28.89 %
Expected payoff -3.55
Gross Profit 432.41
Gross Loss -591.94
Total Net Profit -159.53
-100%
-50%
0%
50%
100%
AUD/USD Jul 2025 - Sep 2025
0.71
Total Trades 43
Won Trades 16
Lost trades 27
Win Rate 37.21 %
Expected payoff -4.11
Gross Profit 442.80
Gross Loss -619.60
Total Net Profit -176.80
-100%
-50%
0%
50%
100%
GBP/AUD Jul 2025 - Sep 2025
0.67
Total Trades 44
Won Trades 12
Lost trades 32
Win Rate 27.27 %
Expected payoff -7.99
Gross Profit 729.43
Gross Loss -1080.80
Total Net Profit -351.37
-100%
-50%
0%
50%
100%
GBP/USD Oct 2024 - Jan 2025
0.62
Total Trades 70
Won Trades 20
Lost trades 50
Win Rate 28.57 %
Expected payoff -8.65
Gross Profit 978.60
Gross Loss -1583.80
Total Net Profit -605.20
-100%
-50%
0%
50%
100%
NZD/USD Jul 2025 - Sep 2025
0.62
Total Trades 47
Won Trades 13
Lost trades 34
Win Rate 27.66 %
Expected payoff -5.92
Gross Profit 451.40
Gross Loss -729.50
Total Net Profit -278.10
-100%
-50%
0%
50%
100%
NZD/USD Oct 2024 - Jan 2025
0.60
Total Trades 55
Won Trades 18
Lost trades 37
Win Rate 32.73 %
Expected payoff -5.63
Gross Profit 468.60
Gross Loss -778.30
Total Net Profit -309.70
-100%
-50%
0%
50%
100%
USD/CAD Jul 2025 - Sep 2025
0.58
Total Trades 93
Won Trades 24
Lost trades 69
Win Rate 25.81 %
Expected payoff -4.20
Gross Profit 534.85
Gross Loss -925.41
Total Net Profit -390.56
-100%
-50%
0%
50%
100%
GBP/CAD Jan 2025 - Jul 2025
0.55
Total Trades 126
Won Trades 31
Lost trades 95
Win Rate 24.60 %
Expected payoff -14.12
Gross Profit 2145.39
Gross Loss -3924.28
Total Net Profit -1778.89
-100%
-50%
0%
50%
100%
GBP/CAD Jul 2025 - Sep 2025
0.52
Total Trades 80
Won Trades 16
Lost trades 64
Win Rate 20.00 %
Expected payoff -9.66
Gross Profit 840.22
Gross Loss -1613.03
Total Net Profit -772.81
-100%
-50%
0%
50%
100%
USD/CHF Jul 2025 - Sep 2025
0.45
Total Trades 88
Won Trades 20
Lost trades 68
Win Rate 22.73 %
Expected payoff -9.96
Gross Profit 705.70
Gross Loss -1582.07
Total Net Profit -876.37
-100%
-50%
0%
50%
100%
NZD/USD Jul 2025 - Sep 2025
0.10
Total Trades 3748
Won Trades 25
Lost trades 3723
Win Rate 0.67 %
Expected payoff -1.62
Gross Profit 664.10
Gross Loss -6723.70
Total Net Profit -6059.60
-100%
-50%
0%
50%
100%
EUR/USD Jan 2025 - Jul 2025
0.01
Total Trades 38
Won Trades 15
Lost trades 23
Win Rate 39.47 %
Expected payoff -2547.44
Gross Profit 960.50
Gross Loss -97763.10
Total Net Profit -96802.60
-100%
-50%
0%
50%
100%
EUR/USD Jul 2025 - Sep 2025
0.00
Total Trades 13
Won Trades 2
Lost trades 11
Win Rate 15.38 %
Expected payoff -8118.83
Gross Profit 13.50
Gross Loss -105558.30
Total Net Profit -105544.80
-100%
-50%
0%
50%
100%

Comments