Create EA based on candles price action MT5 or MT4

MQL5 专家

指定

Hello Devs!

I like to create a new EA based on the below conditions:
(Please do not bid if you have no confidence of fulfilling the codes requirements. Thanks!)
You can code MT4 or MT5 or both depending on your preference.

1. Different Magic numbers for BUY and SELL

2. Add on time filter for each day individually.
Eg: Mon = 00:01-23:59, Tue = 01:00-23:30 etc. (Monday to Sunday)
True/false to close all trades at end of trading time of this filter for each day. Eg: Tue close all trades at 23:30 True/False, Thur close all trades at 23:30 True/False and so on.
This has to be coded in EA so that no need to disable autotrading.

3. Add on news filter based on forexfactory calendar, high/mid/low impact
Eg: News filter is coded into the EA and does NOT require to turn off autotrading.
Inputs = x mins before news, x mins after news
True/false to close all orders x mins before news

4. Enable/Disable Direction LONG/SHORT/BOTH (If BOTH, means can open both directions orders as long as conditions are met. Eg: even though currently have LONG positions, EA can open SHORT when conditions are met)

5. Enable/Disable Average direction movement index filter/Average direction movement index filter wilder in MT5.

6. Enable/Disable CCI filter


Method 1 (Limit order)

EA starts calculation on current candle (Number A1)
EA processes actions on next candle B2 close.

LONG
If candle B2 is green, checks if candle A1 is green or not
If candle A1 is green, on candle B2 (green) close, EA opens LONG limit order price @ candle B2 LOW/OPEN, TP at candle B2 HIGH/CLOSE (Options to select OHCL)
(Enable/disable check previous x number of candles of same direction consecutively)
(Enable/disable opening limit price based on % of candle B2 H-L or O-C, specify %) - When disabled, EA opens limit price, when enabled EA opens based on % of B2.
Enable/disable - If limit order is not activated after x number of candles, delete pending order.
Variable parameter = x number of candles to delete pending order after


A. Enable/Disable Invalidate DOJI candles. (Need to specify threshold value of doji candlestick. Max body % vs entire candle)
Fresh restart of candle count if DOJI candle found

B. Enable/Disable Invalidate candles less than x value (High value less Low value OR Open-Close value)
Fresh restart of candle count if low value candle found

C. TP is based on limit order price and not filled order price.

D. Plus or minus points from TP price = When enabled, I can add or minus points to the TP price, when disabled it is default to original TP.


E. Continuation of orders if TP is not reached.
Opening of 2nd continuation limit order based on the parameters below:
E1. Multiplier of the candlestick value (H-L or O-C) that triggered limit order for TP (If candle B2 value is 20pips, multiplier is 2, then EA will only be allowed to check conditions after 40pips)

E2. Average open prices of all open positions and Modify TP to Average TP price of all open positions.

If another order opens, it calculates average prices again.
Disable/Enable use of average TP
OR add on to TP by points from average open price
OR add on to TP by commission double multiplier number of trades (Eg: if commission value set is 5poins, and multiplier is 2, then add on 10points to existing TP)


Method 2: (Open on candle close) with spread filter and on this method only (if exceed spread, retry for a certain amount of time and if expires wait for next)
Instead of limit order, when conditions are met, open order only if candle C3 closes below candle B2 for LONG orders.
Enable open position on candle close instead of limit order when price closed below low of candle B2
TP is H-L/O-C value of candle B2 or add on points or multiplier of candle B2 H-L or O-C value
METHOD 1 and 2 cannot run simultaneously.


F. Enable/Disable Total max number of opened positions

G. Enable/Disable Daily Profit target in $ value

H. Enable/Disable Stop opening new orders after x number of closed trades that hit TP daily (Eg: when enabled, after hitting TP for 2 cycles stop opening new orders until next day)

If both G and H enabled, whichever comes first.


Initial Lot size = 0.01 example

Lot size Increment Method 

A. 1,1,2,3,4,5,6,7,8,......

B. Multiplier (add multiplier parameter)

C. Same as initial lot size

D. New lot size is based on sum of last 2 orders. Eg: A= initial lot size, B=0+A, C=A+B, D=B+C and so on

E. Step Lot size, step lot steps (1,1,1 is 3 steps then 2,2,2 then 3,3,3) , (1,1,1,1 is 4 steps and so on)


Please feel free to clarify any questions.

Thanks for reading!

反馈

1
开发者 1
等级
(215)
项目
348
16%
仲裁
22
41% / 32%
逾期
18
5%
繁忙
2
开发者 2
等级
(5)
项目
6
17%
仲裁
0
逾期
0
空闲
3
开发者 3
等级
(8)
项目
18
17%
仲裁
3
67% / 0%
逾期
0
空闲
4
开发者 4
等级
(15)
项目
15
33%
仲裁
0
逾期
0
空闲
5
开发者 5
等级
(1)
项目
3
0%
仲裁
1
100% / 0%
逾期
0
空闲
6
开发者 6
等级
(99)
项目
123
39%
仲裁
9
89% / 0%
逾期
0
空闲
7
开发者 7
等级
项目
0
0%
仲裁
0
逾期
0
空闲
8
开发者 8
等级
(15)
项目
18
39%
仲裁
2
50% / 50%
逾期
0
空闲
9
开发者 9
等级
(42)
项目
88
14%
仲裁
31
29% / 55%
逾期
36
41%
工作中
10
开发者 10
等级
(1)
项目
0
0%
仲裁
1
0% / 100%
逾期
0
空闲
11
开发者 11
等级
(2)
项目
3
0%
仲裁
1
0% / 0%
逾期
1
33%
工作中
12
开发者 12
等级
(2442)
项目
3079
66%
仲裁
77
48% / 14%
逾期
340
11%
工作中
13
开发者 13
等级
(204)
项目
209
28%
仲裁
0
逾期
3
1%
空闲
14
开发者 14
等级
(72)
项目
80
10%
仲裁
36
8% / 53%
逾期
6
8%
工作中
15
开发者 15
等级
(267)
项目
542
50%
仲裁
55
40% / 36%
逾期
225
42%
工作中
16
开发者 16
等级
(63)
项目
195
73%
仲裁
4
100% / 0%
逾期
1
1%
空闲
17
开发者 17
等级
(44)
项目
62
52%
仲裁
3
0% / 0%
逾期
1
2%
空闲
相似订单
Hello, everyone. I have a supertend indicator. I want to set candle color according to trend like attached image. If you have done it, I will give you more jobs. Thanks
I want to create new bot by decode one other bot. This ea is very easy based on grip based trading. Real expert can contact me. My telegram number and what's up number are +919425904504
Hi! I am looking for an experienced developer who can create my own trading strategy for the XAUUSD instrument in the MT5 language. Main tasks: - trading strategy programming (opening with 2 solutions, closing with 1 solution); - provision of configuration options (allowing trading, trading time windows, SL, TP, trading strategy parameterization); - displaying a trading strategy graph on the chart (possibility of
I'm looking for an MQL5 expert to develop a trading EA that uses the ratio of candle wicks to body sizes to automatically enter and exit trades. Key features should include: - Autopilot function: The EA should handle trade entries without manual intervention. Trade exits are only by hitting trailing SL. - Trade criteria: Trades should only be placed based on specific, pre-defined ratios of candle wicks to body sizes
EA BREAKOUT SNR 30 - 100 USD
I need a developer who can work with quickly & details. Create EA MT5 with features :: 1. Can identify Support and Resistance (based on close candle) 2. Marking SNR Breakout Zone 3. There is a multitimeframe breakout scanner & History Setup Dashboard Panel 4. Scan the valid setup that appears (Compare 2 Timeframes) 5. There is manual marking of zone(box), SPREAD INFO & Next Bar Time, EXPIRED DATE & LOCK ACC 6
Double PSAR 30+ USD
Some code isn't so good. Coders should code. I want solid code, not copied, not from EA Builder or similar tool. Please see written requirements and rules below. Please see picture attached. I hope these are clear. GBPUSD, H1, September 12-20, 2024 How closely can your coding match the picture? Indicators: PSAR Step: .01 Maximum: .01 Advanced PSAR Start AF: .02 Step: .02 Max AF: .2 MACD Colored Fast: 50 Slow: 100
Convert my tradingview pine script to mt4, Its a simple and straight code i need an expert programmer to convert my tradingview pine script to mt4, Thats All Thank you
The 1HSM EA allows users to configure trade settings, including activation, trading session, trade timing, maximum simultaneous trades, and stop loss type (virtual or visible). Users can set breakeven parameters, slippage control, and profit trailing options (gap, block, or target). Reverse trading can be enabled, allowing trades in the opposite direction if the price reverses significantly. Specific conditions for
Hello, i would like to have a fix on my plotted lines I use a liquidity strategy on the 1 hr time frame but the indicator that i am using for plotting the 1 hr lines is having a issue and printing the plot lines all over the place on the current 1 and 4 hr plot line as you can see in the screenshot this is very disturbing while i am trading can u fix that or just remove the current 1 hr plot line ?and or only show
"Hello, I am new to MT5 and ALGO TRADING. I am seeking a skilled and experienced trader to professionally manage and optimize my MT5 account together with me. I am using QUANTUM EMPEROR MR5 and Gallileo FX with 6 Premium Settings and seek help to get started and make this profitable. I will also share my profits with you. Please reach out to discuss potential collaboration."

项目信息

预算
50 - 200 USD
开发人员
45 - 180 USD
截止日期
 1  10 天