ea_daytripper_01

Download script
Author: Ron Thompson
Profit factor:
3.03

This automated trading tool is designed to execute trades based on the direction of price movement over a specific period. It monitors the market live and follows a straightforward logic centered on identifying trends in the opening prices of consecutive candles.

Core Functionality

The script operates by continuously analyzing three sequential data points (the current candle and the two preceding it). Its primary objective is to determine if the price is moving in a consistent upward or downward direction.

Trend Detection Logic:

  • Upward Trend: The system identifies a "rising" market if the opening prices of the last three candles are strictly increasing (each one higher than the previous).
  • Downward Trend: The system identifies a "falling" market if the opening prices of the last three candles are strictly decreasing (each one lower than the previous).

Trade Execution Process

Once the script detects a trend, it performs the following actions:

  1. Safety Check: Before attempting any action, the tool first checks your account balance. If the available funds are insufficient to cover the required margin for a trade based on your chosen position size, the system will stop and notify you that there is not enough money to proceed.
  2. Position Management: Every time the script runs its check, it automatically closes any existing open order. This ensures that the system is always reacting to the most recent price data rather than holding onto old positions.
  3. Order Placement:
    • If a rising trend is confirmed, the script will automatically open a "Buy" position at the current market price.
    • If a falling trend is confirmed, the script will automatically open a "Sell" position at the current market price.

User Customization

The tool allows you to define two key parameters:

  • Lot Size: The volume of the trade you wish to execute.
  • Moving Average: A setting provided for technical calculation (though the core logic primarily focuses on the immediate sequence of opening prices).
Orders Execution
It Closes Orders by itself It automatically opens orders when conditions are reached
11 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

PERFORMANCE BY SYMBOL

Expected payoff

Average expected payoff across the available backtests for each symbol.

Positive Negative
35 reports
USD/JPY Jan 2025 - Jul 2025
63.58
Total Trades 425
Won Trades 408
Lost trades 17
Win Rate 96.00 %
Expected payoff 1.43
Gross Profit 619.23
Gross Loss -9.74
Total Net Profit 609.49
-100%
-50%
0%
50%
100%
AUD/USD Oct 2025 - Feb 2026
11.23
Total Trades 231
Won Trades 194
Lost trades 37
Win Rate 83.98 %
Expected payoff 1.69
Gross Profit 428.90
Gross Loss -38.20
Total Net Profit 390.70
-100%
-50%
0%
50%
100%
AUD/USD Jul 2025 - Sep 2025
7.98
Total Trades 232
Won Trades 191
Lost trades 41
Win Rate 82.33 %
Expected payoff 1.83
Gross Profit 484.30
Gross Loss -60.70
Total Net Profit 423.60
-100%
-50%
0%
50%
100%
USD/CHF Jul 2025 - Sep 2025
5.43
Total Trades 208
Won Trades 172
Lost trades 36
Win Rate 82.69 %
Expected payoff 1.81
Gross Profit 460.42
Gross Loss -84.78
Total Net Profit 375.64
-100%
-50%
0%
50%
100%
USD/CAD Jul 2025 - Sep 2025
5.25
Total Trades 203
Won Trades 170
Lost trades 33
Win Rate 83.74 %
Expected payoff 0.59
Gross Profit 148.35
Gross Loss -28.27
Total Net Profit 120.08
-100%
-50%
0%
50%
100%
EUR/USD Oct 2025 - Feb 2026
2.98
Total Trades 144
Won Trades 105
Lost trades 39
Win Rate 72.92 %
Expected payoff 0.40
Gross Profit 86.90
Gross Loss -29.20
Total Net Profit 57.70
-100%
-50%
0%
50%
100%
USD/CAD Jan 2025 - Jul 2025
2.76
Total Trades 201
Won Trades 122
Lost trades 79
Win Rate 60.70 %
Expected payoff 0.23
Gross Profit 71.95
Gross Loss -26.08
Total Net Profit 45.87
-100%
-50%
0%
50%
100%
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%
USD/JPY Jul 2025 - Sep 2025
1.91
Total Trades 410
Won Trades 224
Lost trades 186
Win Rate 54.63 %
Expected payoff 0.55
Gross Profit 470.16
Gross Loss -246.62
Total Net Profit 223.54
-100%
-50%
0%
50%
100%
USD/JPY Jul 2025 - Sep 2025
0.66
Total Trades 199
Won Trades 95
Lost trades 104
Win Rate 47.74 %
Expected payoff -0.31
Gross Profit 118.56
Gross Loss -179.32
Total Net Profit -60.76
-100%
-50%
0%
50%
100%
GBP/AUD Jul 2025 - Sep 2025
0.63
Total Trades 261
Won Trades 89
Lost trades 172
Win Rate 34.10 %
Expected payoff -0.84
Gross Profit 367.61
Gross Loss -587.60
Total Net Profit -219.99
-100%
-50%
0%
50%
100%
GBP/USD Jul 2025 - Sep 2025
0.44
Total Trades 124
Won Trades 30
Lost trades 94
Win Rate 24.19 %
Expected payoff -0.87
Gross Profit 84.90
Gross Loss -192.60
Total Net Profit -107.70
-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%
GBP/USD Jul 2025 - Sep 2025
0.14
Total Trades 122
Won Trades 24
Lost trades 98
Win Rate 19.67 %
Expected payoff -2.26
Gross Profit 46.70
Gross Loss -322.10
Total Net Profit -275.40
-100%
-50%
0%
50%
100%
AUD/USD Jul 2025 - Sep 2025
0.07
Total Trades 218
Won Trades 46
Lost trades 172
Win Rate 21.10 %
Expected payoff -0.87
Gross Profit 15.40
Gross Loss -206.00
Total Net Profit -190.60
-100%
-50%
0%
50%
100%
EUR/USD Jul 2025 - Sep 2025
0.07
Total Trades 138
Won Trades 25
Lost trades 113
Win Rate 18.12 %
Expected payoff -2.48
Gross Profit 24.50
Gross Loss -366.50
Total Net Profit -342.00
-100%
-50%
0%
50%
100%
GBP/CAD Jul 2025 - Sep 2025
0.05
Total Trades 252
Won Trades 22
Lost trades 230
Win Rate 8.73 %
Expected payoff -2.74
Gross Profit 35.29
Gross Loss -725.49
Total Net Profit -690.20
-100%
-50%
0%
50%
100%
GBP/AUD Jan 2025 - Jul 2025
0.02
Total Trades 261
Won Trades 23
Lost trades 238
Win Rate 8.81 %
Expected payoff -0.82
Gross Profit 4.12
Gross Loss -218.22
Total Net Profit -214.10
-100%
-50%
0%
50%
100%
NZD/USD Jul 2025 - Sep 2025
0.01
Total Trades 238
Won Trades 16
Lost trades 222
Win Rate 6.72 %
Expected payoff -2.08
Gross Profit 3.40
Gross Loss -497.90
Total Net Profit -494.50
-100%
-50%
0%
50%
100%
USD/CAD Jul 2025 - Sep 2025
0.01
Total Trades 376
Won Trades 13
Lost trades 363
Win Rate 3.46 %
Expected payoff -1.63
Gross Profit 7.50
Gross Loss -618.98
Total Net Profit -611.48
-100%
-50%
0%
50%
100%
NZD/USD Jul 2025 - Sep 2025
0.01
Total Trades 242
Won Trades 18
Lost trades 224
Win Rate 7.44 %
Expected payoff -1.37
Gross Profit 2.50
Gross Loss -334.50
Total Net Profit -332.00
-100%
-50%
0%
50%
100%
GBP/AUD Oct 2025 - Feb 2026
0.01
Total Trades 249
Won Trades 12
Lost trades 237
Win Rate 4.82 %
Expected payoff -2.69
Gross Profit 9.64
Gross Loss -680.23
Total Net Profit -670.59
-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%
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%
AUD/USD Jan 2025 - Jul 2025
0.00
Total Trades 208
Won Trades 0
Lost trades 208
Win Rate 0.00 %
Expected payoff -3.08
Gross Profit 0.00
Gross Loss -640.30
Total Net Profit -640.30
-100%
-50%
0%
50%
100%
EUR/USD Jan 2025 - Jul 2025
0.00
Total Trades 270
Won Trades 0
Lost trades 270
Win Rate 0.00 %
Expected payoff -4.57
Gross Profit 0.00
Gross Loss -1233.40
Total Net Profit -1233.40
-100%
-50%
0%
50%
100%
GBP/CAD Jan 2025 - Jul 2025
0.00
Total Trades 222
Won Trades 0
Lost trades 222
Win Rate 0.00 %
Expected payoff -7.61
Gross Profit 0.00
Gross Loss -1688.92
Total Net Profit -1688.92
-100%
-50%
0%
50%
100%
GBP/USD Jan 2025 - Jul 2025
0.00
Total Trades 118
Won Trades 0
Lost trades 118
Win Rate 0.00 %
Expected payoff -4.79
Gross Profit 0.00
Gross Loss -564.70
Total Net Profit -564.70
-100%
-50%
0%
50%
100%
NZD/USD Jan 2025 - Jul 2025
0.00
Total Trades 500
Won Trades 0
Lost trades 500
Win Rate 0.00 %
Expected payoff -2.55
Gross Profit 0.00
Gross Loss -1277.50
Total Net Profit -1277.50
-100%
-50%
0%
50%
100%
USD/CHF Jan 2025 - Jul 2025
0.00
Total Trades 192
Won Trades 0
Lost trades 192
Win Rate 0.00 %
Expected payoff -2.93
Gross Profit 0.00
Gross Loss -563.40
Total Net Profit -563.40
-100%
-50%
0%
50%
100%
GBP/AUD Jul 2025 - Sep 2025
0.00
Total Trades 103
Won Trades 0
Lost trades 103
Win Rate 0.00 %
Expected payoff -17.11
Gross Profit 0.00
Gross Loss -1761.95
Total Net Profit -1761.95
-100%
-50%
0%
50%
100%
USD/CHF Jul 2025 - Sep 2025
0.00
Total Trades 191
Won Trades 0
Lost trades 191
Win Rate 0.00 %
Expected payoff -2.48
Gross Profit 0.00
Gross Loss -472.80
Total Net Profit -472.80
-100%
-50%
0%
50%
100%
EUR/USD Jul 2025 - Sep 2025
0.00
Total Trades 270
Won Trades 0
Lost trades 270
Win Rate 0.00 %
Expected payoff -4.54
Gross Profit 0.00
Gross Loss -1226.60
Total Net Profit -1226.60
-100%
-50%
0%
50%
100%
GBP/CAD Jul 2025 - Sep 2025
0.00
Total Trades 190
Won Trades 0
Lost trades 190
Win Rate 0.00 %
Expected payoff -15.13
Gross Profit 0.00
Gross Loss -2875.02
Total Net Profit -2875.02
-100%
-50%
0%
50%
100%
GBP/CAD Oct 2025 - Feb 2026
0.00
Total Trades 122
Won Trades 3
Lost trades 119
Win Rate 2.46 %
Expected payoff -2.00
Gross Profit 0.22
Gross Loss -244.59
Total Net Profit -244.37
-100%
-50%
0%
50%
100%

Comments