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
(15)
Projetos
19
16%
Arbitragem
5
40% / 40%
Expirado
0
Livre
4
Desenvolvedor 4
Classificação
(93)
Projetos
114
24%
Arbitragem
21
29% / 52%
Expirado
8
7%
Livre
5
Desenvolvedor 5
Classificação
(390)
Projetos
416
30%
Arbitragem
74
19% / 70%
Expirado
52
13%
Trabalhando
6
Desenvolvedor 6
Classificação
(373)
Projetos
479
23%
Arbitragem
57
56% / 25%
Expirado
55
11%
Ocupado
7
Desenvolvedor 7
Classificação
(152)
Projetos
190
57%
Arbitragem
10
80% / 0%
Expirado
0
Livre
Publicou: 1 código
8
Desenvolvedor 8
Classificação
(84)
Projetos
164
43%
Arbitragem
3
67% / 0%
Expirado
5
3%
Trabalhando
Publicou: 1 código
9
Desenvolvedor 9
Classificação
(428)
Projetos
623
54%
Arbitragem
30
53% / 23%
Expirado
6
1%
Ocupado
10
Desenvolvedor 10
Classificação
(12)
Projetos
14
0%
Arbitragem
4
0% / 75%
Expirado
3
21%
Trabalhando
11
Desenvolvedor 11
Classificação
(278)
Projetos
340
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
(540)
Projetos
622
33%
Arbitragem
37
38% / 51%
Expirado
11
2%
Ocupado
14
Desenvolvedor 14
Classificação
(51)
Projetos
69
35%
Arbitragem
4
25% / 75%
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
(275)
Projetos
370
72%
Arbitragem
18
33% / 44%
Expirado
14
4%
Livre
Publicou: 14 códigos
16
Desenvolvedor 16
Classificação
(2629)
Projetos
3341
67%
Arbitragem
77
48% / 14%
Expirado
342
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
(2294)
Projetos
2888
63%
Arbitragem
122
44% / 25%
Expirado
428
15%
Trabalhando
20
Desenvolvedor 20
Classificação
(72)
Projetos
80
10%
Arbitragem
38
8% / 58%
Expirado
6
8%
Livre
21
Desenvolvedor 21
Classificação
(57)
Projetos
84
26%
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
(617)
Projetos
1427
59%
Arbitragem
31
81% / 0%
Expirado
10
1%
Livre
25
Desenvolvedor 25
Classificação
(77)
Projetos
241
73%
Arbitragem
7
100% / 0%
Expirado
1
0%
Livre
26
Desenvolvedor 26
Classificação
(294)
Projetos
470
39%
Arbitragem
102
40% / 24%
Expirado
78
17%
Ocupado
Publicou: 2 códigos
Pedidos semelhantes
step by step and structure this into a full IEEE 830 / ISO/IEC/IEEE 29148 style Requirements Specification. This format will include: Introduction System Overview Functional and Performance Requirements Traceability Matrix (linking requirements to test cases) Verification and Validation Compliance Standards 1. Introduction 1.1 Purpose The purpose of this document is to define the technical requirements for the
i need an expert to help join 3 model i have in ninjatrader into one, kindly message me and i will be expecting from you and i need this work done in maximum of 4 days, so i need expert that can get it done
hello great developer i want a NinjaTrader 8 custom indicator (not a full bot) • It implements the Jackson–Dalton Trading System • Includes Z1/Z2/Z3 zones, VWAP + deviation, and session volume profile (POC/VAH/VAL) • Has day-type classification and configurable alerts • Primary instruments are BTC/USDT and ETH/USDT • Full source code and documentation are required • Semi-automation and futures support are optional /
Project Title: MT5 Algo Trading EA (Single Strategy + License Panel + Ownership + Manual Trade) --- Project Description I am looking for an experienced MT5 (MQL5) developer to create a clean, stable and professional Algo Trading EA for my company and future clients. This is a long-term business project, not a one-time personal EA. --- 1. Strategy Requirements - Only 1 single trading strategy - No martingale - No grid
I am looking for an experienced StrategyQuant X (SQX) developer to build a reusable trading template , not a single strategy. ⚠️ Please do NOT apply unless you actively use StrategyQuant X and have access to it. This project cannot be completed without SQX. 1. Session and Time Filters Trading restricted to fixed GMT sessions per index Sessions must convert correctly to broker server time and remain correct through
I want to create an intraday EA designed to trade RSI pullbacks in the direction of the dominant trend during sufficient volatility, scales out profits, and automatically stands aside when market conditions stop supporting its edge. It should have the following features and are based on the following indicators: Trade FX on M15 Enter based on RSI, EMA and ATR Scale out profits using a multi-TP structure Trade only
A Grid EA with a hedge that open trades on a percentage based on whats is opened on the other side, closes losing trades with current profits made and utilizes a grid trading strategy combined with hedging technique to mitigate risk and potentially lock in profits. It involves placing buy and sell orders at predetermined price intervals, forming a grid. When a trade within the grid moves against the initial
MQL5 Expert Advisor Development (MT5) I need a professional MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 with high accuracy, low drawdown, and fast execution . 🔹 Strategy Requirements: Timeframe: Scalping-friendly (M1 / M5) Indicators Used: EMA 9 EMA 12 EMA 21 VWAP (as a trend filter) RSI (for trade confirmation) 🔹 Trade Logic: Buy and Sell entries based on EMA crossover + VWAP direction
Project Summary We are looking for a highly experienced MetaTrader 5 (MT5) developer to build a pattern-based Expert Advisor (EA) focused on low-time-interval automation (15-second & 30-second logic). This is a pure MT5 project — no external platforms, no shortcuts. It should be very clean ,Efficient ,Precised ,Accurate ,No copy paste ,Low latency. If you have real experience with MT5 tick-based logic and
BitsoFx 40 - 10000 USD
//+------------------------------------------------------------------+ //| Simple Robo Trader MT5 | //| Works on any pair & timeframe | //+------------------------------------------------------------------+ #property strict // Input settings input double LotSize = 0.01; input int FastMA = 10; input int SlowMA = 30; input int RSIPeriod = 14; input int StopLoss = 200; // in points input int TakeProfit = 400;// in

Informações sobre o projeto

Orçamento
30 - 80 USD