ea_daytripper_01

Author: Ron Thompson
Profit factor:
0.67
Orders Execution
It Closes Orders by itself It automatically opens orders when conditions are reached
0 Views
0 Downloads
0 Favorites
ea_daytripper_01
/*-----------------------------+
|			       |
| Shared by www.Aptrafx.com    |
|			       |
+------------------------------*/

//+-------------------+
//| 1MA Expert        |
//+-------------------+
#property copyright "Ron Thompson"
#property link      "http://www.lightpatch.com/forex"

// User Input
extern double Lots = 0.1;
extern double MovingAvg=10;

// Global scope
double prevTime=0;


//+------------------------------------------------------------------+
//| Custom indicator initialization function                         |
//|------------------------------------------------------------------|

int init()
  {
   return(0);
  }


//+------------------------------------------------------------------+
//| Custor indicator deinitialization function                       |
//+------------------------------------------------------------------+
int deinit()
  {
   return(0);
  }


//+------------------------------------------------------------------+
//| Custom indicator iteration function                              |
//+------------------------------------------------------------------+

int start()
  {

   bool    rising=false;
   bool   falling=false;

   if(AccountFreeMargin()<(1000*Lots)) {Print("We have no money");   return(0);}

   if (Open[2]<Open[1]<Open[0]) {rising=true;  falling=false;}
   if (Open[2]>Open[1]>Open[0]) {rising=true;  falling=false;}
   
   OrderClose(OrderTicket(),Lots,Ask,0,Red);
   if (rising)  
     {
      Print("DTBUY ",Ask);
      OrderSend(Symbol(),OP_BUY,Lots,Ask,3,0,0,"1MA Buy",11123,0,White);
     }
   if (falling)
     {
      Print("DTSELL ",Bid);
      OrderSend(Symbol(),OP_SELL,Lots,Bid,3,0,0,"1MA Sell",11321,0,Red);
     }

   return(0);
  }

Profitability Reports

USD/CAD Oct 2024 - Jan 2025
2.34
Total Trades 409
Won Trades 242
Lost trades 167
Win Rate 59.17 %
Expected payoff 0.50
Gross Profit 356.32
Gross Loss -152.03
Total Net Profit 204.29
-100%
-50%
0%
50%
100%
NZD/USD Oct 2024 - Jan 2025
0.00
Total Trades 488
Won Trades 0
Lost trades 488
Win Rate 0.00 %
Expected payoff -3.02
Gross Profit 0.00
Gross Loss -1471.50
Total Net Profit -1471.50
-100%
-50%
0%
50%
100%
GBP/USD Oct 2024 - Jan 2025
0.35
Total Trades 124
Won Trades 37
Lost trades 87
Win Rate 29.84 %
Expected payoff -0.78
Gross Profit 52.30
Gross Loss -148.70
Total Net Profit -96.40
-100%
-50%
0%
50%
100%
AUD/USD Oct 2024 - Jan 2025
0.00
Total Trades 457
Won Trades 0
Lost trades 0
Win Rate 0.00 %
Expected payoff -4.44
Gross Profit 0.00
Gross Loss -2029.40
Total Net Profit -2029.40
-100%
-50%
0%
50%
100%

Comments