EA based on price at the open

MQL5 Эксперты C++ C# Forex

Работа завершена

Время выполнения 1 час
Отзыв от заказчика
Great programmer!
Отзыв от исполнителя
Nice Customer.. thanks & good luck

Техническое задание

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



Откликнулись

1
Разработчик 1
Оценка
(9)
Проекты
19
16%
Арбитраж
3
67% / 0%
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(19)
Проекты
26
27%
Арбитраж
3
0% / 100%
Просрочено
2
8%
Свободен
3
Разработчик 3
Оценка
(568)
Проекты
641
41%
Арбитраж
25
48% / 36%
Просрочено
46
7%
Работает
4
Разработчик 4
Оценка
(298)
Проекты
427
26%
Арбитраж
18
61% / 33%
Просрочено
26
6%
Свободен
Опубликовал: 8 примеров
5
Разработчик 5
Оценка
(72)
Проекты
80
10%
Арбитраж
38
8% / 58%
Просрочено
6
8%
Свободен
6
Разработчик 6
Оценка
(152)
Проекты
228
80%
Арбитраж
22
27% / 50%
Просрочено
11
5%
Свободен
Опубликовал: 24 статьи, 1882 примера
7
Разработчик 7
Оценка
(37)
Проекты
59
27%
Арбитраж
26
19% / 54%
Просрочено
10
17%
Работает
Опубликовал: 1 пример
8
Разработчик 8
Оценка
(460)
Проекты
481
75%
Арбитраж
5
80% / 0%
Просрочено
0
Свободен
9
Разработчик 9
Оценка
(361)
Проекты
643
26%
Арбитраж
92
72% / 14%
Просрочено
12
2%
Работает
Опубликовал: 1 пример
Похожие заказы
Looking for a reliable Expert Advisor with a proven track record? I'm seeking an EA with source code that meets the following criteri *Requirements:* - .mq5 source code (well-commented and readable) - 4-year backtest (Jan 2022 - Dec 2025) with tick/data quality details - 1-month demo test on live/demo broker - ~15% monthly average returns (medium risk) - Max drawdown ≤15% (equity/drawdown report) - No grid
I need a custom MT5 Expert Advisor named “Dark Venus”. Strategy details: - Timeframe: M5 / M15 - Market: Forex (all major pairs) - Strategy type: Trend + Scalping - Indicators: • EMA (Fast & Slow) • RSI filter • ATR for Stop Loss & Take Profit - Trades only during low-spread sessions (London & New York) Trade Rules: - Buy when fast EMA crosses above slow EMA + RSI confirmation - Sell when fast EMA crosses below
Acquire existing profitable Expert Advisor with source code for client investment portfolio - Full .mq5 code (clean & commented) - 4+ years backtest (Jan 2022 - Dec 2025, 100% tick data) - ~10% monthly return - Max DD ≤15% - No grid/martingale (strictly enforced) - 1-month forward test required - Send trade history + EA details for review - Demo EA file needed for backtest replication - Open to any currency
i need the multi-chain dex bot with set up and installation i need you to help me set the copy reading wallet on binance or phantom with capital for 100 Euro to 1 Million in one year
Greetings, I'm seeking a price quote for the following EA description. 1) Short positions are opened after trades that have closed below the open of the trade. 2) Long positions are opened after trades that have closed above the open of the trade. 3) The base lot size plus the spread is applied for every trade that opens after the take profit has been reached. 4) Double the lot size of the previous trade plus
I have an issue with my ninja script and i would like you to help me straighten things I wanted to create an indicator and i have the source code already but i am getting compiling errors on my NinjaTrader And i tried fixing the error it still same I sent 3 images here for you to understand the errors and i would like to ask if you can help me fix it so i can go ahead and compile my source code. Thanks
Good day, I would like to build an automated trading system for Ninjatrader using 2 MACD, a Supertrend, and a moving average indicator. I want the option to adjust the indicator settings, the ability to trade at three different times, and the option to receive alerts. I want to get an idea of what that will cost me. It will enter trades on all blue take one contract out at a fixed point, move the stop to break even
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
I'm looking for a skilled trader/developer to share a proven scalping strategy on M1-M5 timeframes without using Martingale, Grid trading, or Hedge. Requirements: - Minimum trade duration: 2 minutes - Lot size: <20 - Proof of skill: Provide MT4/MT5 trade history report (PDF/HTML) - No High Frequency Trades - GMT+1 timezone, flexible hours - Price negotiable, performance-based compensation possible If you're a
MT5 30 - 50 USD
I'm looking for an experienced MQL5 developer to help with backtesting, optimization, and VPS setup for a prop firm EA on XAUUSD (Gold). Scope of work - Backtest and optimize using high-quality tick data from Dukascopy or Polygon (2020–2025) - Perform Monte Carlo and Walk-Forward testing to optimize parameters like ATR multipliers and risk % - VPS installation and configuration for continuous MT5 operation - Apply

Информация о проекте

Бюджет
30 - 40 USD
Сроки выполнения
от 1 до 2 дн.