CoinflipwithMM

Profit factor:
0.35
Orders Execution
It automatically opens orders when conditions are reached
1 Views
0 Downloads
0 Favorites
CoinflipwithMM
//+------------------------------------------------------------------+
//|                                          CoinflipwithMM          |
//|                                                                  |
//+------------------------------------------------------------------+

//+------------------------------------------------------------------+
//|              External Variables                                  |
//+------------------------------------------------------------------+
   
extern int StopLoss             =   40;
extern int TakeProfit           =   43;
extern int    Slippage          =   3;
extern double Lots              =   0.1;





double MinLots, MaxLots, UseLots,BuyLots, SellLots;

int    NumBuys, NumSells;

int start()
{
  NumBuys  = 0;
  NumSells = 0;
  
  BuyLots  = 0.00;
  SellLots = 0.00;


  {
    OrderSelect(SELECT_BY_POS,MODE_TRADES);

    if (OrderSymbol() == Symbol()) 
    
    {
      if (OrderType() == OP_BUY)  NumBuys++;    
      if (OrderType() == OP_SELL) NumSells++;     
    }   
  }

   UseLots = Lots;
     
   if(MathMod(TimeCurrent()/60, 2)==0 && NumSells <1 && NumBuys <1) 
    {
      OrderSend(Symbol(),OP_BUY,UseLots,Ask,Slippage,Ask-StopLoss*Point,Ask+TakeProfit*Point,"CoinflipwithMM ",0,0,White);
      Print ("Errors opening BUY order = ",GetLastError());
      return(0);
    }
 
 
if ( NumBuys <1 && NumSells <1)
 
    {
      OrderSend(Symbol(),OP_SELL,UseLots,Bid,Slippage,Bid+StopLoss*Point,Bid-TakeProfit*Point,"CoinflipwithMM ",0,0,Red);
      Print ("Errors opening SELL order = ",GetLastError());
      return(0);
    }
   
 
//Screen comments         
  Comment("Balance: ", AccountBalance(), ", Equity: ", AccountEquity(), ", Lots: ",UseLots,
        
        "\nNum Buys: ", NumBuys, ", Num Sells: ", NumSells, ", BuyLots:", BuyLots, ", SellLots:", SellLots);
        

  return(0);
}

Profitability Reports

USD/CAD Oct 2024 - Jan 2025
0.42
Total Trades 8384
Won Trades 2354
Lost trades 6030
Win Rate 28.08 %
Expected payoff -1.19
Gross Profit 7196.91
Gross Loss -17171.94
Total Net Profit -9975.03
-100%
-50%
0%
50%
100%
NZD/USD Oct 2024 - Jan 2025
0.08
Total Trades 2930
Won Trades 209
Lost trades 2721
Win Rate 7.13 %
Expected payoff -3.41
Gross Profit 898.70
Gross Loss -10883.40
Total Net Profit -9984.70
-100%
-50%
0%
50%
100%
GBP/USD Oct 2024 - Jan 2025
0.56
Total Trades 8623
Won Trades 0
Lost trades 0
Win Rate 0.00 %
Expected payoff -1.16
Gross Profit 12706.50
Gross Loss -22669.10
Total Net Profit -9962.60
-100%
-50%
0%
50%
100%

Comments