Identify trend with last 2 appropriate candles and execute order.

MQL5 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 22 horas

Tarea técnica

Hi. Need a bot for mt5.

My idea - use two big candles to identify the trend. If first big candle is down and the one after it is up, then trend is positive. If first big candle is up and the one after it is down - trend is negative.

I need the bot to identify trend this way and open order according with the trend it recognised.

Order should have a stop loss, take profit and optional trailing in points.

If order didnt stop because of sl, tp or trailing - bot needs to monitor next trend identification and be able to close current order and open new one.

If order hit by sl then start to monitor last 2 candles to restart the strategy.

If order hit trailing or tp, start to monitor last 2 candles to restart the strategy.

Only scan for last 2 closed candles, dont open order if candle is not closed and next one didnt start yet.

Only one open order at a time.

Only candle body is important, no shadows (candle open and close price).

Bot has to work on any chart (crypto or forex). Only on the timeframe its attached to. Also need magic number to run same bot on many charts.


How to tell the bot which candles are big? In settings:

Points for first candle (more than x amount but less than x amount)

Points for second candle (more than x amount but less than x amount)

Stop loss in points

Take profit in points

Trailing stop (enable or disable)

Trailing start in points

Trailing step in points

Magic number


How it works.

Bot is always scanning for last 2 candles. Only candle body matters, no shadows. If last 2 candles are closed in a set range then look at second candle. If that candle is down then open sell, if second candle is up then open buy. If order hit sl, tp or trailing then start looking at last 2 closed candles again. If order didnt hit sl, tp or trailing, always keep monitoring for possible trend changes.



Han respondido

1
Desarrollador 1
Evaluación
(619)
Proyectos
722
33%
Arbitraje
46
48% / 41%
Caducado
14
2%
Ocupado
2
Desarrollador 2
Evaluación
(111)
Proyectos
183
25%
Arbitraje
25
16% / 76%
Caducado
16
9%
Libre
3
Desarrollador 3
Evaluación
(1)
Proyectos
2
0%
Arbitraje
0
Caducado
1
50%
Trabaja
4
Desarrollador 4
Evaluación
(62)
Proyectos
90
29%
Arbitraje
24
13% / 58%
Caducado
7
8%
Trabaja
5
Desarrollador 5
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(2676)
Proyectos
3414
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
7
Desarrollador 7
Evaluación
(455)
Proyectos
721
34%
Arbitraje
35
71% / 9%
Caducado
23
3%
Libre
8
Desarrollador 8
Evaluación
(85)
Proyectos
174
44%
Arbitraje
3
100% / 0%
Caducado
5
3%
Libre
Ha publicado: 1 ejemplo
9
Desarrollador 9
Evaluación
(83)
Proyectos
96
31%
Arbitraje
9
22% / 56%
Caducado
5
5%
Trabaja
10
Desarrollador 10
Evaluación
(2346)
Proyectos
2952
63%
Arbitraje
125
44% / 26%
Caducado
429
15%
Libre
11
Desarrollador 11
Evaluación
(23)
Proyectos
34
53%
Arbitraje
1
100% / 0%
Caducado
1
3%
Libre
12
Desarrollador 12
Evaluación
(319)
Proyectos
571
35%
Arbitraje
83
31% / 45%
Caducado
206
36%
Libre
13
Desarrollador 13
Evaluación
(10)
Proyectos
12
0%
Arbitraje
3
33% / 33%
Caducado
0
Libre
14
Desarrollador 14
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(25)
Proyectos
31
13%
Arbitraje
14
0% / 79%
Caducado
9
29%
Libre
16
Desarrollador 16
Evaluación
(279)
Proyectos
378
72%
Arbitraje
19
32% / 47%
Caducado
16
4%
Libre
Ha publicado: 15 ejemplos
17
Desarrollador 17
Evaluación
(7)
Proyectos
6
0%
Arbitraje
4
25% / 75%
Caducado
2
33%
Libre
18
Desarrollador 18
Evaluación
(6)
Proyectos
8
38%
Arbitraje
1
100% / 0%
Caducado
2
25%
Libre
19
Desarrollador 19
Evaluación
(465)
Proyectos
815
49%
Arbitraje
75
21% / 51%
Caducado
142
17%
Libre
20
Desarrollador 20
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
21
Desarrollador 21
Evaluación
(28)
Proyectos
34
35%
Arbitraje
0
Caducado
2
6%
Trabaja
22
Desarrollador 22
Evaluación
(162)
Proyectos
289
35%
Arbitraje
18
22% / 61%
Caducado
43
15%
Libre
23
Desarrollador 23
Evaluación
(8)
Proyectos
8
0%
Arbitraje
2
50% / 0%
Caducado
1
13%
Trabaja
Solicitudes similares
I need an experienced trading-data specialist who can help me obtain 3–4 years of historical market data compatible with NinjaTrader 8 . The data will be used for trading strategy development, backtesting, and analysis
I would look for an EA with: ✅ Verified MT4/MT5 live account ✅ At least 6–12 months of live results ✅ Low/moderate drawdown ✅ No dangerous martingale/grid unless you specifically want that ✅ Realistic scalping performance with your broker ✅ Spread & slippage filters ✅ Stop Loss + Take Profit ✅ Break-even and trailing stop ✅ News filter ✅ Adjustable lot size/risk ✅ Source code ( .mq4/.mq5 ) if you're purchasing the EA
Шукаю спеціаліста для розширення діючого функціоналу MT5 "New order" або створення окремого робота. Суть проекта - можливість створення відкладеного ордеру BuyStop або SellStop після досягнення ринковою ціною певного значення. Схема руху ціни - хибний пробій рівня (ціна X) та розворот тренду. Ручне встановлення SL та TP. Опція схожа діючого функціоналу BuyStopLimit або SellStopLimit, але відкладений ордер
Need aggressive M1 gold scalper rewrite of Dev3 + 8 strategies. INPUTS: RiskPercent=3, TP=400, SL=300, MaxTrades=6, Mode=BOTH, DailyProfit 15%, DailyLoss -10% LOT = Balance * RiskPercent / 1000 - works for Cent R350 and $1000. 8 STRATEGIES any true = open instantly, check 1 sec: 1 EMA8/21 cross 2 RSI14 30/70 + engulf 3 Engulfing candle 4 BB 20,2 breakout 5 FVG grab M1 6 M5 trend + M1 entry 7 Wick rejection >2 8
Hi, I want to develop a custom SMC (Smart Money Concepts) EA for MT5. My budget is $100. Here are the strategy requirements: 1. Auto identification of BOS, CHoCH, Order Blocks (OB), and FVG. 2. Auto entry when price returns to OB/FVG. 3. Auto SL above/below OB and TP based on Risk-to-Reward ratio (1:2, 1:3). 4. Risk Management (Risk % per trade or fixed lot size), Trailing Stop, Break-Even, and Max Spread filter. 5
I need an experienced MQL5 developer to build a prototype MT5 Expert Advisor called RiskLock. The software should enforce user-defined trading risk rules before trades are executed. It should support risk percentage or fixed monetary risk, calculate position size using account equity, entry price, stop loss, tick value and contract specifications, block or reduce oversized trades, and include daily loss limits
I need EA Lil-MeProBot for MT5. Phone user, deliver .mq5 + .ex5. Symbols: XAUUSD EURUSD GBPUSD USDJPY BTCUSD, M15, Magic 777001 Strategy 6X Confluence score 4/6: 1. EMA 50/200 trend 2. Break of Structure 3. RSI 14 4. Strong body FVG/Order Block 5. Session 8am-9pm GMT+2 6. ATR filter Money Management LASTING: Lot 0.01 fixed, NO martingale, NO grid, Max 1 per symbol Max 2 total, SL ATR*2 TP ATR*3, Daily loss R40 stop
Project Overview I have an existing MT5 Expert Advisor (EA) written in MQL5. The source code ( .mq5 ) will be provided. The underlying strategy is a trend-following system that performs well during trending market conditions, but requires professional quantitative research to improve its ability to identify and avoid highly sideways/range-bound market conditions. The objective of this project is not to build a new EA
I am looking for an experienced MQL5 Expert Advisor (EA) developer to analyze an existing trading setup and develop a similar automated trading robot. Project Overview I have access to a demo trading account where trades are being executed automatically. The trading results look very promising, but I do not know exactly what strategy, logic, indicators, or trade-management rules are being used. I will provide access
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution

Información sobre el proyecto

Presupuesto
30+ USD