Specification
//+------------------------------------------------------------------+
//| SimpleEA.mq4 |
//| Generated by MetaEditor |
//+------------------------------------------------------------------+
#property strict
// Input parameters
input double LotSize = 0.1; // Lot size
input int MovingAveragePeriod = 50; // MA period
// Global variables
double maCurrent;
double maPrevious;
//+------------------------------------------------------------------+
//| Expert initialization function |
//+------------------------------------------------------------------+
int OnInit()
{
// Initialization of variables
maCurrent = 0;
maPrevious = 0;
return(INIT_SUCCEEDED);
}
//+------------------------------------------------------------------+
//| Expert deinitialization function |
//+------------------------------------------------------------------+
void OnDeinit(const int reason)
{
// Cleanup code here
}
//+------------------------------------------------------------------+
//| Expert tick function |
//+------------------------------------------------------------------+
void OnTick()
{
// Calculate current and previous MA
maCurrent = iMA(NULL, 0, MovingAveragePeriod, 0, MODE_SMA, PRICE_CLOSE, 0);
maPrevious = iMA(NULL, 0, MovingAveragePeriod, 0, MODE_SMA, PRICE_CLOSE, 1);
// Check for buy signal
if (maPrevious < Close[1] && maCurrent > Close[0])
{
// Open buy order
OrderSend(Symbol(), OP_BUY, LotSize, Ask, 2, 0, 0, "Buy Order", 0, 0, Blue);
}
// Check for sell signal
if (maPrevious > Close[1] && maCurrent < Close[0])
{
// Open sell order
OrderSend(Symbol(), OP_SELL, LotSize, Bid, 2, 0, 0, "Sell Order", 0, 0, Red);
}
}
//+------------------------------------------------------------------+
Responded
1
Rating
Projects
203
60%
Arbitration
10
80%
/
0%
Overdue
0
Free
Published: 1 code
2
Rating
Projects
499
23%
Arbitration
60
55%
/
25%
Overdue
59
12%
Working
3
Rating
Projects
5
0%
Arbitration
3
0%
/
100%
Overdue
1
20%
Working
4
Rating
Projects
19
16%
Arbitration
3
67%
/
0%
Overdue
0
Free
5
Rating
Projects
2
0%
Arbitration
4
0%
/
100%
Overdue
0
Free
6
Rating
Projects
321
70%
Arbitration
2
100%
/
0%
Overdue
0
Free
Published: 1 code
7
Rating
Projects
186
41%
Arbitration
24
58%
/
21%
Overdue
13
7%
Free
8
Rating
Projects
38
21%
Arbitration
5
0%
/
60%
Overdue
0
Free
9
Rating
Projects
266
29%
Arbitration
0
Overdue
3
1%
Working
Published: 2 codes
10
Rating
Projects
46
24%
Arbitration
34
9%
/
85%
Overdue
10
22%
Free
11
Rating
Projects
80
10%
Arbitration
38
8%
/
58%
Overdue
6
8%
Free
12
Rating
Projects
2
100%
Arbitration
1
0%
/
0%
Overdue
0
Free
13
Rating
Projects
2
50%
Arbitration
2
0%
/
100%
Overdue
0
Free
14
Rating
Projects
4
0%
Arbitration
1
0%
/
0%
Overdue
0
Free
Similar orders
Looking for someone who is experienced in creating MT5 EA from scratch to go over 7 public youtube videos (total duration about 6 hours) and extract the strategy code taught in the videos to make a MT5 .mq5 source code file. Full code is explained in the 7 videos so it's just a matter of going over the videos and extracting the relevant parts that relate to the source code and compiling it into a working EA. The
MetaTrader In-App Trade Alerts An existing MetaTrader terminal is already running on my side, but its account is kept hidden for privacy reasons. I need a specialist to wire up native in-app notifications so that every time a position is opened or later closed I see an immediate pop-up inside the platform—no emails or SMS, just the built-in alert window (and the usual MT push to mobile if that comes automatically
EA Crafter
500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE
Modify an existing Grid Trading EA or recreate it.
30 - 100 USD
Take an existing Grid Trading EA that I currently have for MT4 and either modify it or recreate it. Delete everything below where it says " Trend Filters " Add: The ability for the EA to increase the lot size by a specific amount ( .01 or .02 or .03, ect. ) each time it adds a new position long or short Add: A profit target for the EA to reach when it will close out of all positions and start trading again or other
Modify existing MT5 XAUUSD EA entry and exit logic
150 - 200 USD
I have an existing MT5 Expert Advisor for XAUUSD M5. This is NOT a new robot from zero. I need modification and professional review of an existing MQL5 EA. Main goals: 1. Buy entries: Buy trades are currently too rare. The Buy ADX filter was very strict at 45. I am testing 40 now. I need you to review the Buy entry filters and improve Buy entry quality without making entries random or weak. 2. Sell entries: Sell
I am looking for an experienced MQL5 developer to build a professional MetaTrader 5 (MT5) Expert Advisor (EA) for swing trading. Trading Pairs EUR/USD USD/JPY Timeframes Daily (D1) for trend identification. H4 for trade entries. Strategy The EA should: Detect Daily market structure (HH, HL, LH, LL) using confirmed swing highs and lows (not relying solely on ZigZag). Use DMI/ADX for trend confirmation. Open trades
English Description (For Developers): I need a custom Expert Advisor (EA) for MT5 to trade ONLY ETHUSD based on trend-following and counter-trendline breakout-retest with an M1 execution filter and strict risk management. Trading Logic: 1. Trend Filter: Price must be below 200 EMA on both H1 and M15 timeframes for Short (Sell) trades. (Opposite for Long/Buy trades). 2. Setup: On the M15 chart, after a strong move in
Need a Martingale hedging EA
30+ USD
Hello, I want an EA which does martingale and has hedge feature. You may be confused by what this mean entirely so reach out to me so we can talk in depth as what I have said here is very vague for someone to clearly understand. I am not paying a single dollar over $30, so don't apply if you don't agree with that. Thank you for taking your time to read this
مطلوب مبرمج اكسبيرت
30+ USD
أحتاج إلى مستشار خبير لمنصة MetaTrader 5 (MT5) مصمم كآلة حالة محدودة (FSM). يجب أن ينفذ أوامر السوق فقط بناءً على مستويات أسعار يحددها المستخدم. يجب ألا يستخدم أي مؤشرات أو تحليل فني أو أوامر معلقة أو ذكاء اصطناعي أو قرارات تداول تلقائية. يجب أن ينفذ المستشار الخبير ببساطة تسلسلًا محددًا مسبقًا لمستويات الأسعار كما يحددها المستخدم تمامًا، مع إدارة دقيقة للحالة، ودورة نشطة واحدة في كل مرة، ومعالجة الفجوات السعرية،
Make Ea from Investor login
30 - 100 USD
Message me please for the investor login. You will replicate the ea and I shall tell u some things about it, I am not paying over $100. You should have great skills. The EA can handle any market and shall not blow the account
Project information
Budget
50+ USD