EA based on price at the open

MQL5 Experts C++ C# Forex

Job finished

Execution time 1 hour
Feedback from customer
Great programmer!
Feedback from employee
Nice Customer.. thanks & good luck

Specification

Briefly, the EA looks to see if a certain candle closes higher or lower than the open at a specific time and is higher or lower than a moving average.

If this is the case, we place two limit orders at a certain retracement of the signal candle with the same stop, a fixed target and a trail on a moving average.

Limit orders are valid until the end of the day. If possible

I would like the programmer to incorporate his lines of code into my template so that I can properly navigate the source code.

The bot should have a bool that will allow me to choose if I want to use ATR or fixed percentages for my targets and stops. (I already have the code for the ATR in my template) As well as a bool fix lot size for optimization.

Conditions for a long:

If the candle close following the open (03:00) > the open && the candle close following the open > the 24 EMA place two buy limit orders at a -25% retracement of the signal candle (the candle following the open) with 50% of the total risk of 1% on each position. P1 & P2 will have the same stop (-2%). P1 will have a +2% target. When P1's TP is hit, P2 trails on the 12 EMA. Limit orders are valid for 22 hours.

Conditions for shorts: If the close of the candle following the open (03:00) < than the open && the close of the candle following the open is more < than the 24 EMA place two sell limit orders at a retracement of +25% of the candle of the signal (the candle following the open) with 50% of the total risk of 1% on each of the positions. P1 & P2 will have the same stop (+2%). P1 will have a target of -2%. When P1's TP is hit, P2 trails on the 12 EMA. Limit orders are valid for 22 hours.

Do not open other positions in the same direction as long as there is still a position in the market.

If possible create the open line that spans 24 hours with history/lookback.

Make sure the EA works for all brokers.

inputs:

input bool fixlotsize = true;

input double fixlotsize_val = 0.01;

input double TotalRiskPercentage = 1.00;

input double p1risk = 50;

input double p2risk = 50;

input double stops = 2; //in % input double

input double tp= 2; //in %

input bool atrTargetStop = false;

input double ATRmultiplierForStops = 3;

input double ATRmultiplierForTP1 = 3;

input int trail_MAperiod = 12;

input ENUM_MA_METHOD trail_MAmethod = MODE_EMA;

input ENUM_APPLIED_PRICE trail_MA_AppliedPrice = PRICE_CLOSE;

input int MAperiod = 24;

input ENUM_MA_METHOD MAmethod = MODE_EMA;

input ENUM_APPLIED_PRICE MA_AppliedPrice = PRICE_CLOSE;

input string open_time = "03:00";

input double retracement= 25; //in percennt



Responded

1
Developer 1
Rating
(9)
Projects
19
16%
Arbitration
3
67% / 0%
Overdue
0
Free
2
Developer 2
Rating
(19)
Projects
26
27%
Arbitration
3
0% / 100%
Overdue
2
8%
Free
3
Developer 3
Rating
(568)
Projects
641
41%
Arbitration
25
48% / 36%
Overdue
46
7%
Working
4
Developer 4
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
Published: 8 codes
5
Developer 5
Rating
(72)
Projects
80
10%
Arbitration
38
8% / 58%
Overdue
6
8%
Free
6
Developer 6
Rating
(152)
Projects
228
80%
Arbitration
22
27% / 50%
Overdue
11
5%
Free
Published: 24 articles, 1882 codes
7
Developer 7
Rating
(37)
Projects
59
27%
Arbitration
26
19% / 54%
Overdue
10
17%
Working
Published: 1 code
8
Developer 8
Rating
(462)
Projects
484
75%
Arbitration
6
67% / 0%
Overdue
0
Loaded
9
Developer 9
Rating
(361)
Projects
643
26%
Arbitration
92
72% / 14%
Overdue
12
2%
Working
Published: 1 code
Similar orders
I am looking for an experienced MQL5 developer to build a very fast AI-assisted scalping Expert Advisor, with special focus on XAUUSD (Gold). Core Strategy Designed mainly for XAUUSD, but should also work on all forex pairs and metals Opens multiple trades in the same direction Closes trades immediately once they are in profit (very small, fast profits) Optimized for high-speed scalping No martingale and no risky
hello great developer I’m hiring a developer to build a local-only trade copier that sends trades from MT4 and MT5 to NinjaTrader 8 (NT8) in real-time. This copier must be reliable, fast, and fully executable without cloud dependence. I require a short test/demo period before full delivery to ensure quality and performance. here is the full project specs in the file check it please
Trade copier 100+ USD
hello great developer This is what I need: I need a local trade copier solution to transmit trades from MT4 and MT5 to NinjaTrader 8 instantly for arbitrage purposes, with ultra-low latency and no cloud services involved. Scope of work - Develop MT4/MT5 EA or script for detecting and sending trades locally. - Create NT8 NinjaScript for listening to and executing trades. - Support market orders and lot size
I need a reliable, clean-coded Expert Advisor built for both MetaTrader 4 and MetaTrader 5 platforms. Main trading behavior: The EA follows buy and sell arrows produced by my custom indicator. Whenever a buy arrow shows up on the chart: if a sell position is currently open → close that sell immediately and enter a buy trade in its place. Whenever a sell arrow appears: if a buy position exists → close the buy and
*I am looking for an experienced MQL5 developer to build a custom Expert Advisor (EA) for MetaTrader 5 based on my proprietary trading strategy. The full strategy details will be shared privately with the selected developer after agreement. The EA must be designed for automated trade execution with a strong focus on accuracy, speed, and stability. It should support flexible input settings and allow for future
📋 Project Description I am looking for an experienced MT5 (MQL5) developer to code a fully automated Expert Advisor for NASDAQ (US100) based on a fixed, rule-based opening range breakout strategy. The strategy is mechanical, uses no discretionary logic, and must be coded exactly as specified below. 🕒 Time & Session Rules Market: NASDAQ (US100) Trading days: Monday–Friday Session open: 9:30 EST EA must convert
I am looking for a professional developer to build a custom trading analysis software for me. This tool is NOT an automated trading bot (EA); it is an analysis dashboard to help me identify high-probability setups based on my strategy. Key Requirements: Multi-Timeframe Analysis: The software should scan 4 different timeframes (M15, M30, H1, H4, D1, WK1, MTH1) and alert me when my conditions are met. Indicator
I want to add and remove few things in ea need some modification needed in ea developer should have some trading knowledge also to understand the requirement better and have good experience in coding
i have an exper advisor in ex4 ...want to convert it to mq4 or mq5 file this is ea was created thru a programmer and received only ex4 file....that time i was new so did not know about mq4 file. of if anyone can help me to replicate this ea to mq4 or mq5
hello great developer I need help developing an ICT 2022 model indicator and testing it thoroughly to ensure optimal performance and accuracy. Scope of work - Create an ICT 2022 model indicator with specified features. - Conduct repeated tests and strategy tests to refine the indicator. - Implement midnight to 9:30 box high and low range settings. - Include signal settings for major liquidity and structure break with

Project information

Budget
30 - 40 USD
Deadline
from 1 to 2 day(s)