EA for EMA strategy with breakeven, trailling stop, setting trading hour

Termos de Referência

I want to create an EA like this:

- Long entry: Price close above EMA

  Close long when price close below EMA

- Short entry: Price close below EMA

  Close long when price close above EMA


EMA long short strategy with setting

- STOPLOSS: 

   + 1st option close at specific setting price 

   + 2nd option stoploss at highest price of signal candle. 

- TAKE PROFIT at specific setting price

- BREAKEVEN: when price move to a certain price the breakeven is active, the SL will move to offsetting price.

- TRAILING TRIGGER: when price move to a certain price, trailing stoploss will active

- TRAILING DISTANCE: Distance of the trailing stop-loss from current price.SL will be opened at traildist after trailtrig is met.

- TRAILING STEP : Moves trailing stop-loss once price moves to favourable by a specified number of pips.

examble for trailing step: trailtrig=12,traildist=8,trailstep=3

Interpretation: With trailtrig=12, the first instance of trailing SL will be when price moves favourably for 12 pips (entry+12). 

The SL will be placed 8 pips lower at (entry+12-8).

With trailstep=3, the second instance of trailing SL is when price moves favourably for another 3 pips (entry+12+3).

The SL will be placed at 8 pips lower at (entry+12+3-8).

The third instance will be when price moves another 3 favourable pips (entry+12+3+3)

The SL will be placed 8 pips lower at (entry+12+3+3-8), and so on.

- TRADING TIME : buy or sell only active during active hours are setting.

QUESTION: with the trailling stoploss can you set at close price. For example, when price close 12 pips over entry then the trailing trigger is active and so on for other trailing distance and trailing step.


Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(22)
Projetos
21
10%
Arbitragem
4
25% / 75%
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(3)
Projetos
4
25%
Arbitragem
0
Expirado
0
Livre
3
Desenvolvedor 3
Classificação
(17)
Projetos
21
19%
Arbitragem
5
40% / 40%
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(106)
Projetos
129
25%
Arbitragem
25
28% / 56%
Expirado
8
6%
Livre
5
Desenvolvedor 5
Classificação
(390)
Projetos
416
30%
Arbitragem
74
19% / 72%
Expirado
52
13%
Trabalhando
6
Desenvolvedor 6
Classificação
(402)
Projetos
520
24%
Arbitragem
61
57% / 25%
Expirado
60
12%
Carregado
7
Desenvolvedor 7
Classificação
(162)
Projetos
209
61%
Arbitragem
10
80% / 0%
Expirado
0
Livre
Publicou: 1 código
8
Desenvolvedor 8
Classificação
(85)
Projetos
175
44%
Arbitragem
3
100% / 0%
Expirado
5
3%
Livre
Publicou: 1 código
9
Desenvolvedor 9
Classificação
(438)
Projetos
649
53%
Arbitragem
35
63% / 20%
Expirado
7
1%
Trabalhando
10
Desenvolvedor 10
Classificação
(12)
Projetos
14
0%
Arbitragem
4
0% / 75%
Expirado
3
21%
Trabalhando
11
Desenvolvedor 11
Classificação
(279)
Projetos
341
37%
Arbitragem
6
50% / 17%
Expirado
7
2%
Livre
Publicou: 5 códigos
12
Desenvolvedor 12
Classificação
(574)
Projetos
945
47%
Arbitragem
309
58% / 27%
Expirado
125
13%
Livre
13
Desenvolvedor 13
Classificação
(634)
Projetos
741
34%
Arbitragem
49
53% / 39%
Expirado
14
2%
Trabalhando
14
Desenvolvedor 14
Classificação
(51)
Projetos
71
37%
Arbitragem
4
25% / 75%
Expirado
1
1%
Livre
Publicou: 1 código
15
Desenvolvedor 15
Classificação
(279)
Projetos
378
72%
Arbitragem
19
32% / 47%
Expirado
16
4%
Livre
Publicou: 15 códigos
16
Desenvolvedor 16
Classificação
(2677)
Projetos
3421
68%
Arbitragem
78
47% / 14%
Expirado
343
10%
Trabalhando
Publicou: 1 código
17
Desenvolvedor 17
Classificação
(100)
Projetos
125
23%
Arbitragem
12
0% / 75%
Expirado
22
18%
Livre
18
Desenvolvedor 18
Classificação
(3)
Projetos
9
33%
Arbitragem
1
100% / 0%
Expirado
0
Livre
19
Desenvolvedor 19
Classificação
(2351)
Projetos
2958
63%
Arbitragem
125
44% / 26%
Expirado
429
15%
Livre
20
Desenvolvedor 20
Classificação
(72)
Projetos
80
10%
Arbitragem
38
8% / 58%
Expirado
6
8%
Livre
21
Desenvolvedor 21
Classificação
(62)
Projetos
90
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
22
Desenvolvedor 22
Classificação
(1156)
Projetos
1462
63%
Arbitragem
21
57% / 10%
Expirado
43
3%
Livre
23
Desenvolvedor 23
Classificação
(37)
Projetos
59
27%
Arbitragem
26
19% / 54%
Expirado
10
17%
Trabalhando
Publicou: 1 código
24
Desenvolvedor 24
Classificação
(618)
Projetos
1429
59%
Arbitragem
31
81% / 0%
Expirado
10
1%
Livre
25
Desenvolvedor 25
Classificação
(78)
Projetos
247
74%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
Publicou: 2 artigos, 1 código
26
Desenvolvedor 26
Classificação
(298)
Projetos
478
40%
Arbitragem
105
40% / 24%
Expirado
82
17%
Carregado
Publicou: 2 códigos
Pedidos semelhantes
I’m looking for an experienced MQL5 developer to build a custom MT5 Expert Advisor for gold scalping, based on clearly defined support/resistance levels and false breakouts. Before development, I would welcome your technical feedback on the proposed rules, their feasibility, and any improvements you recommend. Please explain the reasoning behind your suggestions rather than promising returns. Proposed strategy: 1
Here is a professional, detailed requirements specification draft for your MQL5 freelance order based on your prompt: ​ Strategy Objective: Develop an automated Expert Advisor (EA) featuring a 1:3 Risk-to-Reward ratio optimized for a small starting budget. ​ Core Trading Logic: ​Execute automatic Buy and Sell trades using high-probability entry signals. ​Target a strict 90% theoretical win-rate structure through
i want to fix my gold martingale bot MT5. RSI 14 ENTRY 30 BUY 70 SELL Lot 0.02 0.04 0.07 TP 150 for all SL 90 30 30 once total daily profit is 200$ stop trading stop trading once 2 consecutives total losses stop trading if spread exceeded 30 and between hour 15 & 17 PM Move SL to breakeven point once the profit exceeded 50 from from breakeven thanks
MarketMind Breakout Pro XAUUSD H1 — Donchian Breakout EA Project type: Personal EA development and backtesting Platform: MetaTrader 5 Instrument: XAUUSD Timeframe: H1 Strategy: Donchian Channel breakout with EMA 200 Project overview This project evaluates a Donchian breakout trading strategy for XAUUSD on the H1 timeframe. The system uses channel-based breakout conditions and an EMA 200 trend filter. Historical
The purpose of this order is ONLY to test and implement my H1 POI (Point of Interest) identification logic correctly. I am not requesting the complete EA at this stage. I will provide the exact rules for identifying the H1 POI after selecting the developer. The developer must convert those rules into clear, deterministic MQL5 logic. Requirements: Analyze H1 candles according to the rules I provide. Identify and mark
Title: Fully Automatic MT5 Trading Bot (Expert Advisor) with Risk Management I want a fully automated trading robot (Expert Advisor) for MetaTrader 5, written in MQL5. The bot must automatically analyse market data, identify trading opportunities, execute BUY and SELL orders, manage open positions, and close trades according to predefined rules without requiring manual confirmation for each trade. Requirements
Hello, I’m looking for an experienced developer to research, build, test, and install a fully automated MetaTrader 5 trading bot for gold, XAUUSD. My total development and installation budget is $300, including all agreed work and fees. My goal is to pass a $100,000 FTMO US Two-Step Standard evaluation and sustainably maintain the funded account. I need a day-trading strategy that can buy in bullish markets and sell
I have three indicators that operate independently. I want to combine them into one indicator with custom expert programming that automatically enters trades when a signal is generated by one of the indicators. I will pay for this service Thanks you
Existing EA: NEW_CORE_ORB_M5_v021 | MT5 | XAUUSD M5 Early-stage research prototype, not a new EA from scratch. Need an experienced MQL5 developer to audit, complete, repair, improve and test BOTH independent strategies equally: Opening Range Breakout (ORB) and Scalp. Keep code lightweight and preserve an untouched baseline. No unnecessary rewrite or complex filters. 1. ORB Strategy Verify opening-range construction
Hello International Developer, I need LIFETIME MT5 EA for XAUUSD Gold. REQUIREMENTS: 1. Lifetime bot - No expiry date, unlimited accounts, unlimited installations 2. Must include source code .mq5 file - This makes it lifetime 3. Every trade MUST have Stop Loss 300 points and Take Profit 600 points 4. No martingale, No grid, No averaging - Clean safe strategy 5. Auto lot size = 1% risk per trade for good margin growth

Informações sobre o projeto

Orçamento
30 - 80 USD