Identify trend with last 2 appropriate candles and execute order.

MQL5 专家

工作已完成

执行时间22 小时

指定

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.



反馈

1
开发者 1
等级
(611)
项目
711
33%
仲裁
45
49% / 42%
逾期
14
2%
工作中
2
开发者 2
等级
(108)
项目
179
25%
仲裁
24
17% / 75%
逾期
16
9%
空闲
3
开发者 3
等级
(1)
项目
2
0%
仲裁
0
逾期
1
50%
工作中
4
开发者 4
等级
(62)
项目
90
29%
仲裁
24
13% / 58%
逾期
7
8%
工作中
5
开发者 5
等级
项目
0
0%
仲裁
0
逾期
0
空闲
6
开发者 6
等级
(2672)
项目
3408
68%
仲裁
77
48% / 14%
逾期
342
10%
空闲
发布者: 1 代码
7
开发者 7
等级
(454)
项目
720
34%
仲裁
35
71% / 9%
逾期
22
3%
空闲
8
开发者 8
等级
(85)
项目
174
44%
仲裁
3
100% / 0%
逾期
5
3%
空闲
发布者: 1 代码
9
开发者 9
等级
(81)
项目
93
31%
仲裁
9
22% / 56%
逾期
5
5%
工作中
10
开发者 10
等级
(2336)
项目
2939
63%
仲裁
124
44% / 26%
逾期
429
15%
工作中
11
开发者 11
等级
(23)
项目
34
53%
仲裁
1
100% / 0%
逾期
1
3%
空闲
12
开发者 12
等级
(318)
项目
565
35%
仲裁
81
31% / 44%
逾期
204
36%
空闲
13
开发者 13
等级
(10)
项目
12
0%
仲裁
3
33% / 33%
逾期
1
8%
空闲
14
开发者 14
等级
项目
0
0%
仲裁
0
逾期
0
空闲
15
开发者 15
等级
(25)
项目
31
13%
仲裁
13
0% / 77%
逾期
9
29%
空闲
16
开发者 16
等级
(279)
项目
378
72%
仲裁
19
32% / 47%
逾期
16
4%
空闲
发布者: 15 代码
17
开发者 17
等级
(7)
项目
6
0%
仲裁
4
25% / 75%
逾期
2
33%
空闲
18
开发者 18
等级
(5)
项目
7
29%
仲裁
1
100% / 0%
逾期
2
29%
工作中
19
开发者 19
等级
(463)
项目
806
49%
仲裁
73
19% / 52%
逾期
140
17%
空闲
20
开发者 20
等级
项目
0
0%
仲裁
0
逾期
0
空闲
21
开发者 21
等级
(28)
项目
34
35%
仲裁
0
逾期
2
6%
空闲
22
开发者 22
等级
(162)
项目
289
35%
仲裁
18
22% / 61%
逾期
43
15%
空闲
23
开发者 23
等级
(8)
项目
8
0%
仲裁
2
50% / 0%
逾期
1
13%
工作中
相似订单
I need a developer that can make my trading strategies into a working perfect EA Robot working on Mt5. Candlestick pattern confirmation through PDH, PDL, PWH, PWL, Liquidities, HTF OB
I need a trading bot specially for XAU, high profit gain. Requirements bot analyzes the market places trades closes with 2 to 3 profit per trades daily profit should be 50 to 100 dollars
We are looking for an experienced MQL5 developer to provide a stable, consistently profitable Forex Expert Advisor (EA) capable of generating 10–15% average monthly returns while maintaining the lowest possible drawdown . Our Requirements The EA must have a proven track record of consistent performance. A long-term trading history (live or verified) will be considered a significant advantage. Before final selection
I am looking for a professional MQL5/MT5 Expert Advisor developer to build a fully automated trading bot based on my custom strategy. Requirements: Strong experience in MQL5 (MetaTrader 5) Previous experience developing Forex/Gold Expert Advisors Ability to convert a trading strategy into a fully automated EA Clean, well-structured, and optimized code Good communication and willingness to provide updates during
Only programmers with experience with orderflow please, it's not the easiest project, I don't want to have arbitration etc. I am not expert in orderflow yet, if you have suggestion about strategy it would be very nice. Source of code required, I am searching a programmer for a longer co-operation
Hi, I am looking for an already made profitable EA. It can be an indicator but then it must be possible to make an EA from the indicator. Will need to test before payment (this can be in demo or limited time test). I will pay up to $6000. Do not apply if you want an upfront payment. I need to test for a few times first. Mostly only pips matters. I look much the risk safety, money management, risk reward, and overall
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую
SMC Martingale Pro is an advanced MetaTrader 5 Expert Advisor designed for high-volatility markets like XAU/USD. It combines institutional Smart Money Concepts with a dynamic risk recovery system. Key Features Dual FVG Engine: Automatically identifies and renders both bullish and bearish Fair Value Gaps in real time. Multi-Timeframe Flexibility: Operates independently of the active chart timeframe to target
I am looking for an experienced Sierra Chart ACSIL (C++) developer to create a custom indicator that measures the average Prior Day High-Low range over a configurable number of trading days (default: 7 days) using a 23-hour trading session
I have a technical specification ready for a custom alert indicator in NinjaTrader 8 (NinjaScript / C#). Important clarification: it is NOT an automatic trading bot, it is solely a visual indicator (arrows/lines on the chart) and sound alerts (notifications) based on EMA crossovers and range breakouts (ORB 15m) on lower timeframes for futures (MES). I already have the exact rules written out unambiguously

项目信息

预算
30+ USD