I need an EA for MT4

MQL4 专家

工作已完成

执行时间5 天
客户反馈
Very professional and skilled coder, difficult EA completed on time. Definitely recomended.
员工反馈
Excellent customer! Good communication. Very clear task.

指定

I need an EA for MetaTrader 4. The market entry signal is based on trendline breakouts. Positions are closed by stop loss, take profit and reverse signal. All positions are accompanied by a trailing stop, based on the average between the maximum and minimum of the last n candlesicks. Some calculations are done as a fraction of the Average True Range indicator. Lot sizes are calculated as a percentage of the balance.

 

Trendlines


This system is based on trendlines, which are drawn connecting fractals.


Fractals are patterns where highs or lows are in the middle of a series of bars. A first order bearish fractal appears in a series of three consecutive bars, when the high of the central bar is preceded by a lower high and is followed by a lower high. The opposite for bullish fractals. Similarly, a second order bearish fractal is found in a series of five consecutive bars where the highest high is located on the central bar, and therefore, preceded by two lower highs and followed by two lower highs. The opposite would be a bullish second order fractal (see Image 1). An indicator for fractals is already built in MT4 (Indicators>Bill Williams>Fractals).

 

01

 

This expert advisor should draw trendlines connecting second order fractals. A bullish trendline will be drawn connecting the last two second order bullish fractals, if the most recent bullish fractal is higher than the previous bullish fractal. A bullish trendline can be also drawn connecting the last and the third-to-last second order fractals, if the most recent bullish fractal is higher than the third-to-last bullish fractal. The fourth and further fractals on the left will be ignored. To draw a trendline, fractals must be separated by at least five candlesticks.

The opposite conditions will be considered to draw a bearish trendline (see Image 2).

02 

Trendlines must be drawn considering second order fractals. Only in the case that no second order fractal appears in the last nine candlesticks, trendlines should be drawn based on first order fractals, following the same rules (see Image 3).

 

Signal to open a position


A long position is opened when a candlestick closes above a bearish trendline, plus a determinate number of pips in the same direction, calculated as a percentage of the 14 periods Average True Range (“ATR(14)”, henceforth) value in the last bar. This parameter should be adjustable and called Breakstrength (please allow fractional numbers). For example, if the ATR(14) value in the last bar is 100, and the Breakstrength is set as 10%, then 10 points should be added to the level of the breakout point to allow the opening of a position.

Conversely, a short position is opened when a candlestick closes below a bullish trendline, plus a determinate number of pips specified in Breakstrength (see Image 4). 

 

Only one position at a time can be opened, even if a candlestick breaks two different trendlines. If an opposite signal occurs (i.e., a candlestick breaks out a trendline in the opposite direction) the active position must be closed, and the opposite operation should be opened (see Image 5).

 

Stop loss

Initial stop loss

Every position is opened with an initial stop loss, that should be placed after the most recent fractal in the opposite direction (i.e. the last down fractal for long positions, or the last up fractal for short positions). A given number of pips, calculated as a percentage of the ATR(14), should be added to this initial stop loss (this parameter should be adjustable and called InitialSLBuffer, see Image 6).

 

Trailing stop loss

The initial stop loss should not move during the first n candlesticks following the entry point. This parameter should be adjustable and called StartTrailSL. After the n+1 candlestick following the entry point, the stop loss should be moved below the minimum of the n+1 candlestick in long positions, or above the maximum of the n+1 candlestick in short positions, plus a given number of pips. This parameter should be adjustable, calculated as a fraction of the ATR, and called TrailSLBuffer (see Image 7).

 

A line displaying the average between the maximum and minimum of the last n candlesticks should be calculated with each candle (called Kijun line, as in the Ichimoku indicator, already built in MT4). The number of candlesticks used to calculate this line should be adjustable and called KijunPeriod.


As soon as a candlestick opens and closes above this Kijun line in long positions, or below, in short positions, the stop loss level should be moved below or above the Kijun line, for long and short positions respectively, plus a number of pips specified by the TrailSLBuffer (see Image 8).

 

The trailing stop loss must move only in the direction of profit.


Momentum Filter

No position should be opened if in the last 10 bars price moves faster than a determinate number of pips, from mimimum to maximum. This maximum number of pips to allow trading should be adjustable, as a multiple of the ATR(14), and called MaxMomentum (see Image 9).

 

Time Filter

Opening positions shoud be only allowed during a determinate period of the session (e.g.: from 7:00 to 18:00). If a position is still open after this time, it shoud be closed following the Marked Exit rules of the next paragraph.


Market Exit

Part of the position should be closed if profit reaches a percentage of the number of pips risked by the initial stop loss (both parameters, the percentage of the position to be closed, and the percentage of pips of the initial stop loss, should be adjustable and called ClosePercent and InitialFraction respectively). The rest of the position should be closed when price hits the stop loss or when an opposite signal occurs, whatever happens first (see Image 10).

 

Position volume

The number of lots is calculated as a percentage of the current balance (this parameter should be adjustable and called RiskPercentage).

For example, equity is $10000, and we want to risk 1%, that is, RiskPercentage is set to 1%. The EURUSD pip value is $10 on a standard lot. Initial stop loss is at 200 pips distance. Then, the lot size should be:


$100 risked / (200 pips *$10 per pip) = 0,05 lot size.


Calculations should be rounded to the nearest microlot size.


Miscellaneous:

When the Expert Advisor is runned, it should attach the used indicators with the specified parameters.


If there are any errors, it must print a message describing the error. 

反馈

1
开发者 1
等级
(879)
项目
1392
67%
仲裁
117
32% / 42%
逾期
215
15%
空闲
2
开发者 2
等级
(1130)
项目
1432
62%
仲裁
21
57% / 10%
逾期
43
3%
空闲
3
开发者 3
等级
(2428)
项目
3057
66%
仲裁
77
48% / 14%
逾期
340
11%
工作中
4
开发者 4
等级
(219)
项目
370
42%
仲裁
145
17% / 41%
逾期
124
34%
空闲
5
开发者 5
等级
(69)
项目
76
59%
仲裁
0
逾期
12
16%
空闲
6
开发者 6
等级
(195)
项目
395
28%
仲裁
155
20% / 52%
逾期
112
28%
空闲
7
开发者 7
等级
(1855)
项目
3458
88%
仲裁
73
40% / 15%
逾期
265
8%
空闲
8
开发者 8
等级
(107)
项目
149
36%
仲裁
29
3% / 55%
逾期
35
23%
空闲
9
开发者 9
等级
(586)
项目
1048
49%
仲裁
39
28% / 41%
逾期
49
5%
空闲
10
开发者 10
等级
(89)
项目
137
24%
仲裁
35
9% / 40%
逾期
52
38%
空闲
11
开发者 11
等级
(258)
项目
395
28%
仲裁
69
19% / 49%
逾期
120
30%
空闲
相似订单
we want to build a dashboard ea that would display on another chart key metrics : i will foward screeshot of what i want to dashboard to look like : the function i would need to get display are the following: 1. classified past performance ea by magic number ( with classic : total trade , total profit , return/dd , max dd (base on history) , ) 2. equity chart of performance if we click on a magic number we should
the task will be actually quiet simple , i need an active develloper to devellope out of 3 updates an ea STEP 1 (this job): make a classical pair trading ea , that can calculate correlation between assets and trade when the correlation diverge above a specified % the develloper that will postulate for the job will need : 1- to be ok to do the full project this job and the update following 2- very low arbitration , i
Hello, I want to create an EA that can be able to take and optimise trade bids using the trend tracker concept I have developed. The tracker will monitor the 2 lines in the below pictures and then start to activate bids once they cross each other and then be able to manage all bids afterwards towards the direction of the market by opening and closing them intermittently and profitably until the position at the other
Hi man, How are u? I have an EA and I need to check few aspects of the code, if It works fine? I am looking for an expert coder, who can understand mt4 language and help us to solve this out. This job will hardly take about 3-4 hours max for an experienced coder, when explained detail. Also, I would like to give this to someone, who can understand and speak English well. Also, the coder should be able to come via
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA. THREE TYPES OF ENTRIES 1: AGGRESSIVE 2: DIVERGENCE 3
Indicator in use: Bollinger Bands Mechanism (See diagrams provided for help) Sells: 1. Trigger candle: When candle low is above the top Bollinger band - accurate to the lowest point scale (e.g. On EURUSD if candle low is 1.07915 and the value of top bollinger is 1.07914 - this is a sell signal; or if on Futures if the increment is .25 or .10 then this is used) 2. Enter sell ONLY on the next candle if price breaks
Indicator in use: Bollinger Bands Mechanism: (See diagrams provided for help) Sells: 1. Trigger candle: When candle low is above the top Bollinger band - accurate to the point scale (e.g. On EURUSD if candle low is 1.07915 and the value of top bollinger is 1.07914 - this is a sell signal) 2. Enter sell ONLY on the next candle if price breaks below the trigger candle LOW (using the e.g. above- if next candle price
hey guys, im looking for an auto mt5 license system through a web app i have already, i simply want it so a unique license key is generated for memebers, they input this onto the EA input and then it checks if its valid. active license per user capped at 5. i already have an mt5 coder and dec team for the app so i dont know if youd prefer to intergrate onto the webapp yourself or simply provide the code and doc so my
I need a simple panel to execute both buy and sell operations with very basic things like stopp loss take profit that functions for both market orders such as buy stop sell stop buy limit sell limit I don't care about colors or design I just want how you can do it what interests me most are the functions
I want to create an EA that can take bids according to information of a logic I have developed to give indication of a BUY or SELL opportunity. The EA will then be able to activate the BUY at the lowest possible position once the indicator clears it for a BUY and take bid upwards or identify the highest point and clears it for a SELL and take bids downwards. As you can see from example of JULY 2024 data to see how

项目信息

预算
70 - 150 USD
VAT (21%): 14.7 - 31.5 USD
总计: 84.7 - 181.5 USD
开发人员
63 - 135 USD
截止日期
 10  15 天