Identify trend with last 2 appropriate candles and execute order.

MQL5 Experts

Trabalho concluído

Tempo de execução 22 horas

Termos de Referência

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.



Respondido

1
Desenvolvedor 1
Classificação
(619)
Projetos
722
33%
Arbitragem
46
48% / 41%
Expirado
14
2%
Ocupado
2
Desenvolvedor 2
Classificação
(111)
Projetos
183
25%
Arbitragem
25
16% / 76%
Expirado
16
9%
Livre
3
Desenvolvedor 3
Classificação
(1)
Projetos
2
0%
Arbitragem
0
Expirado
1
50%
Trabalhando
4
Desenvolvedor 4
Classificação
(62)
Projetos
90
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
5
Desenvolvedor 5
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
6
Desenvolvedor 6
Classificação
(2676)
Projetos
3414
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
7
Desenvolvedor 7
Classificação
(455)
Projetos
721
34%
Arbitragem
35
71% / 9%
Expirado
23
3%
Livre
8
Desenvolvedor 8
Classificação
(85)
Projetos
174
44%
Arbitragem
3
100% / 0%
Expirado
5
3%
Livre
Publicou: 1 código
9
Desenvolvedor 9
Classificação
(83)
Projetos
96
31%
Arbitragem
9
22% / 56%
Expirado
5
5%
Trabalhando
10
Desenvolvedor 10
Classificação
(2346)
Projetos
2952
63%
Arbitragem
125
44% / 26%
Expirado
429
15%
Livre
11
Desenvolvedor 11
Classificação
(23)
Projetos
34
53%
Arbitragem
1
100% / 0%
Expirado
1
3%
Livre
12
Desenvolvedor 12
Classificação
(319)
Projetos
571
35%
Arbitragem
83
31% / 45%
Expirado
206
36%
Livre
13
Desenvolvedor 13
Classificação
(10)
Projetos
12
0%
Arbitragem
3
33% / 33%
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
15
Desenvolvedor 15
Classificação
(25)
Projetos
31
13%
Arbitragem
14
0% / 79%
Expirado
9
29%
Livre
16
Desenvolvedor 16
Classificação
(279)
Projetos
378
72%
Arbitragem
19
32% / 47%
Expirado
16
4%
Livre
Publicou: 15 códigos
17
Desenvolvedor 17
Classificação
(7)
Projetos
6
0%
Arbitragem
4
25% / 75%
Expirado
2
33%
Livre
18
Desenvolvedor 18
Classificação
(6)
Projetos
8
38%
Arbitragem
1
100% / 0%
Expirado
2
25%
Livre
19
Desenvolvedor 19
Classificação
(465)
Projetos
815
49%
Arbitragem
75
21% / 51%
Expirado
142
17%
Livre
20
Desenvolvedor 20
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
21
Desenvolvedor 21
Classificação
(28)
Projetos
34
35%
Arbitragem
0
Expirado
2
6%
Trabalhando
22
Desenvolvedor 22
Classificação
(162)
Projetos
289
35%
Arbitragem
18
22% / 61%
Expirado
43
15%
Livre
23
Desenvolvedor 23
Classificação
(8)
Projetos
8
0%
Arbitragem
2
50% / 0%
Expirado
1
13%
Trabalhando
Pedidos semelhantes
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

Informações sobre o projeto

Orçamento
30+ USD