Auto trader based on user defined level and trailing 5 minute price

Tarea técnica

Hi I am after an EA and Autotrader that will do the following:

  • Based on a user defined price, which would be set once a day
  • If the current price moves above or below the user defined level after a one minute interval 
  • Then place a buy or sell trade, depending in which direction the price moved (above the user defined level then buy, or sell if below the user defined level)
  • If trade placed then set a trailing stop loss if 20 pips reached
  • If trade placed and no trailing loss placed then buy/sell will be cancelled if the price moves back through the user defined level after a one minute interval and the next trade in the opposite direction would be placed

Working example:

  • User defined price (UDP) = 11136.2
  • Current market price (CMP) = 11136.9 @11:30am
  • At the first 5 minute interval after the CMP breaks the UDP the market moves through the UDP to 11135.6 as at 11:45am and a sell trade is therefore placed
  • A trailing stop of 20 pips is then added at 13:15 when the price moves to 11133.6
  • The price then moves down further to 11131.6 at 14:15 and the trailing loss is therefore 11133.6
  • The close (buy) position is then triggered when the price moves back up through the trailing stop at 15:15 to 11133.7 at the first 5 minute interval after the opening position was broken
  • Had a trailing stop not been set then the position would have been closed (buy) when the price moved above the user defined level after the first one minute interval

I also want to be able to back test on a day by day basis. i.e. set a UDP and then move through a trading day and see the trades displayed on a graph as well as in the test results section.

I can attach an example if that would make the above easier to understand.


Han respondido

1
Desarrollador 1
Evaluación
(393)
Proyectos
546
40%
Arbitraje
30
57% / 3%
Caducado
57
10%
Libre
Ha publicado: 11 ejemplos
2
Desarrollador 2
Evaluación
(169)
Proyectos
204
30%
Arbitraje
25
40% / 44%
Caducado
12
6%
Libre
3
Desarrollador 3
Evaluación
(845)
Proyectos
1447
72%
Arbitraje
119
29% / 47%
Caducado
355
25%
Trabajando
Ha publicado: 3 artículos
4
Desarrollador 4
Evaluación
(2636)
Proyectos
3351
67%
Arbitraje
77
48% / 14%
Caducado
342
10%
Trabaja
Ha publicado: 1 ejemplo
5
Desarrollador 5
Evaluación
(163)
Proyectos
236
32%
Arbitraje
30
27% / 30%
Caducado
26
11%
Libre
6
Desarrollador 6
Evaluación
(7)
Proyectos
8
13%
Arbitraje
0
Caducado
1
13%
Libre
7
Desarrollador 7
Evaluación
(1928)
Proyectos
3549
88%
Arbitraje
73
40% / 15%
Caducado
268
8%
Libre
8
Desarrollador 8
Evaluación
(168)
Proyectos
199
48%
Arbitraje
3
33% / 33%
Caducado
2
1%
Libre
9
Desarrollador 9
Evaluación
(277)
Proyectos
334
55%
Arbitraje
14
36% / 29%
Caducado
1
0%
Libre
10
Desarrollador 10
Evaluación
(258)
Proyectos
396
28%
Arbitraje
69
19% / 49%
Caducado
121
31%
Libre
11
Desarrollador 11
Evaluación
(3)
Proyectos
2
0%
Arbitraje
7
0% / 86%
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(66)
Proyectos
95
28%
Arbitraje
20
25% / 55%
Caducado
24
25%
Libre
13
Desarrollador 13
Evaluación
(206)
Proyectos
333
35%
Arbitraje
66
12% / 58%
Caducado
87
26%
Libre
14
Desarrollador 14
Evaluación
(69)
Proyectos
146
34%
Arbitraje
13
8% / 62%
Caducado
26
18%
Libre
Ha publicado: 6 ejemplos
Solicitudes similares
1. General Objective Development of an Expert Advisor in MQL5 intended for Futures markets , based on an existing trading strategy that I will provide (described logic or precise rules). The main objectives are: Faithful implementation of the strategy , Full debugging of the EA, Validation of correct behavior through backtesting. 2. Markets and Instruments Markets: Futures Symbols: to be defined (e.g. indices
Subject: Major Upgrade Request: Auto Confluence of Signal/Trend/Momentum Scores with Multi-Timeframe SMC Hello, Your bot is excellent analytically, but I'm facing daily manual intervention due to the multiple indicators and timeframes. --- 📊 Current Situation: The bot uses: · Signal Score · Trend Score · Momentum Score · SMC Analysis · 3 Timeframes (Fast 5M, Medium 15M, Main 1H) · 4 Additional Indicators Currently
Busco programador profesional con experiencia demostrable en MQL5 para crear un Expert Advisor en MetaTrader 5 basado en Price Action , con lógica jerárquica, reglas objetivas y gestión de zonas dinámicas. La estrategia esta explicada en un documento Word de 30 páginas (con imágenes) explicado en español. Características del EA: Operaciones Buy, Sell, Buy Limit y Sell Limit (máx. 2 operaciones pendientes simultáneas
Multi-Slave Inverse Hedging EA with Martingale Grid — MT5 Category: Experts Description: I am looking for an experienced MQL5 developer to build a professional-grade Expert Advisor system called Hedging EA Trader . This is a well-documented project — I have a full 30+ page Software Requirements Specification (SRS) ready to share with the selected developer. System Overview: The EA uses a Master/Slave architecture: 1
1. Project Overview I am looking for an experienced MQL5 developer to design a robust, clean, and well-structured Expert Advisor (EA) for MetaTrader 5. The goal is to transform a clearly defined trading logic into a stable, efficient, and fully configurable EA , suitable for backtesting and optimization. 2. Platform & Language Platform: MetaTrader 5 Programming language: MQL5 Code must follow best practices (modular
I want a modification on my ea . A spread filter or slipage filter such that when the market price is less than 50 point away from the pend order , then ea check the spread if less than the set filter spread. If spread is more than the set spread, the ea will delete the pend order . Secondly , if the broker price is moved or sliped the pending order from the original price it was set by the tolerable slipage distance
Hi, I’m currently looking to purchase a profitable Expert Advisor (EA) for XAUUSD on MT4 and different Symbols . If you have an EA that has consistently been profitable, I’d be interested in purchasing the source code. I would like to backtest the strategy and evaluate it before making any purchases. What I’m ideally looking for: Designed specifically for XAUUSD (MT4) Consistent profitability with solid risk
1. Objective Create an MT5 automation script (or set of scripts) that fully automates my strategy optimization workflow, including: • Batch optimization runs • Automatic filtering of results • Automatic forward testing • Exporting and organizing results into structured files/folders The goal is to reduce manual work and allow one‑click execution of the entire pipeline. 2. Platform & Environment • MetaTrader 5 •
Would it be possible to connect Futures prop firm with Rithmic or Tradeovate platform to Ninjatrader automated trading ? If anyone can do this for me I will be happy to get started with the person right away
Saya ingin dibuatkan Expert Advisor untuk MetaTrader 5 berbasis strategi EMA 50/200 + Breakout 20 candle dengan sistem risk percentage otomatis. EA harus memiliki fitur ATR stop loss, trailing stop, break even, max spread filter, dan daily loss limit. Dilarang menggunakan martingale, grid, atau averaging. Target RR minimal 1:2 dan drawdown di bawah 20%

Información sobre el proyecto

Presupuesto
30 - 100 USD