EA "Daily pattern model research"

MQL5 Эксперты

Работа завершена

Время выполнения 23 дня
Отзыв от заказчика
Patient. Willing to suggest solutions.
Отзыв от исполнителя
Clear, accurate descriptions and issue reports.

Техническое задание


///// INSTRUCTIONS for the "DAILY PATTERN MODEL RESEARCH" EA /////



Platform: MT5.



Here are the instructions.




Step 1: PREVIOUS DAYS' INTRADAY ACTIVITY

We will use INTRADAY bars NOT Daily bars.

I want the EA to run and scan if the chosen "DAILY PATTERN" occured in the previous days. I will choose ONE option below and the EA must check for that one only. I want to test one option at a time to simplify. We are not scanning and searching for all patterns, just the ONE that I would select from the list below. If that one occured we will proceed to Step 2.

1. ID
2. ID/NR4
3. NR7
4. 2*-day overlap (70%*)
5. Market traded from high to low 2* or more consecutive days (value of 1 is minimum but it can be more)
6. Market traded from low to high 2* or more consecutive days (value of 1 is minimum but it can be more)


Terminology:
AD1 - ID: This is an Inside day. Inside day's high is lower than the previous day's high and Inside day's low is higher than the previous day's low.
AD2 - ID/NR4: This is an Inside day + The narrowest day of the last 4 days. The narrowest day means that the day 4  (last day out of those 4 in the sample) has the smallest trading range between its daily high and low compared to those others.
AD3 - NR7: This is the narrowest trading day out of the 7 days.
AD4 - 2*-day overlap (70%*): These are the last 2 days and their trading range (the difference between its daily high and low) overlaps at least for 70% (price overlap). I intend to test this for up to 5 days overlap, not more (in case this would slow down the code).
AD5 and AD6 - If the daily high was made first and the daily low second, the market traded from high to low that day. If the daily low was made first and the daily high was made last, the market traded from low to high that day.


So if the chosen pattern occured, proceed to Step 2.




Step 2: TODAY'S INTRADAY ACTIVITY


ENTERING TRADES:

Market established the first 60min* of trading after the Open. Let's call this the "Opening range". Opening range could be 15min, 30min, 60min or 120min time frame, no other. "Open time" needs a format such as hh:mm and it is 08:00 by default. We will also set a "Close time" which is 22:00* by default. If the market trades outside of this Opening range, the trade is entered at market in the direction of the breakout. "Stop loss" is immediately set 2* ticks beyond the other end of the Opening range.

Example: Opening range is set to 30min* and Open is at 8:00*. Once the candle closes at 8:29:59 we have the first 30 minutes of trading done and we have our Opening range. If the high is broken we enter a buy trade (stop loss is set below the Opening range), if the low is broken we enter a sell trade (stop loss is set above the Opening range high). "Size" is 1* contract by default.

However, a trade is allowed to be entered only in the "Allowed entry time after Opening range" period which is 120min* by default. So in the example above, if the Opening range is finished at 8:30, we have 120min time window that allows a trade to be entered, that is until 10:30. After that, a trade cannot be entered.

If the market doesn't break out of the Opening range, there is no entry.

IMPORTANT: Here I want the option in the settings to be enabled/disabled and it is: If the whole Opening range is WITHIN yesterday's trading range (so below yesterday's high and above yesterday's low), DO NOT take a trade. Let's call this a "Entry filter" setting.

Please use these names as presented in between " " so that I can recognise them in the settings. 


EXITING TRADES:

I want to test different exits. oNE at a time.

There are some GENERAL exit rules that apply to all exit options and they are as described below. Let's call an entry day - Day 1 and a day after the entry day - Day 2, etc.

General rule no. 1: If a trade is still opened and none of the exit rules that are mentioned below were triggered, exit the trade at the Close of Day 2*.
General rule no. 2: In case a trade is still opened and there is a price Gap beyond (!) stop loss (same day or any day after the entry), exit the losing trade immediately as the price becomes available. This is for a losing trade only. Stocks will have gaps and also forex and futures will have weekend gaps.

Below are the EXIT TYPES to choose from (please include all exit names in the settings so that I will recognise them easier):

EXIT 1 "CLOSE" : Exit at the Close of Day 1. No matter if profit or loss (the stop loss wasn't yet hit obviously). Apply General rules accordingly.

EXIT 2 "RISK REWARD" : Exit in risk reward 1:2 (risk 1 reward 2*). Risk is the size of stop loss. If that size is 20 pips, cover profit at 40 pips reward. If risk reward is set to 1:3, cover at 60 pips reward. Minimum and default value is risk reward 1:1 but the setting has no limits on the reward number on the upside. This Exit style can go multiple days obviously until one of the orders is hit, either stop loss or profit target. Apply General rules accordingly.

EXIT 3 "HIGHLOW PENETRATION" : If the trade shows a loss at the Close of Day 1, exit it. If not, hold it. Then, for a long trade, once the market trades above the high of Day 1, exit the trade. For a short trade, once the market trades below the low of Day 1, exit the trade. Initial stop loss for long and short trades is still in tact of course in case it is hit. Apply General rules accordingly.

EXIT 4 "TRAILING STOP" : Exit a trade once a "Trailing stop" is hit. Trailing stop is a 2* day high/low. For longs the trailing stop is a lowest low od the last 2 days (closed days - not including current day when trailing). For shorts the trailing stop is a highest high of the last 2 days (closed days - not including current day when trailing). The trailing stop triggers on Day 2 and it cannot widen the Initial stop loss. Apply General rules accordingly.



NOTES: 

All * signs shall have modifyable settings.

Откликнулись

1
Разработчик 1
Оценка
(170)
Проекты
193
11%
Арбитраж
37
38% / 35%
Просрочено
5
3%
Загружен
2
Разработчик 2
Оценка
(65)
Проекты
71
30%
Арбитраж
8
0% / 88%
Просрочено
5
7%
Свободен
3
Разработчик 3
Оценка
(118)
Проекты
176
84%
Арбитраж
2
0% / 50%
Просрочено
7
4%
Работает
4
Разработчик 4
Оценка
(82)
Проекты
86
57%
Арбитраж
25
0% / 84%
Просрочено
19
22%
Свободен
5
Разработчик 5
Оценка
(188)
Проекты
212
58%
Арбитраж
9
11% / 89%
Просрочено
8
4%
Свободен
6
Разработчик 6
Оценка
(225)
Проекты
284
42%
Арбитраж
15
13% / 47%
Просрочено
67
24%
Свободен
Похожие заказы
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
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
I am looking forward to automate my trading strategy where I use renko bars on Tradingview. I really want to use unirenkos too, but unfortunately I couldn't figure out how to use ninjatrader on my MacBook and Tradingview does not offer unirenkos. As far as I see from your offered services you are very familiar with ninjatrader. I wanted to ask you if you could code me an Indicator for unirenkos for Tradingview so I
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
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 2 lines to determine the trend of the market and afterwards take bids towards the correct direction. It will also be able to use a distance between the bids for the direction of the trend and plan a reverse bid when the price of the extreme doesn’t change again. The
Gradient boosting and L2 100 - 200 USD
I am looking for a well experienced programmer to put/implement a gradient boosting algorithm and an L2 to reduce overfitting in my ea which l already have which uses indicators . If you are experienced please adhere
Hello, I'm looking for a developer for repair calendar in EA MT4/MT5 (News Filter - https://ec.forexprostools.com ) for all windows servers. Note: EA MT4/MT5 works with calendar on PC Win 10, 11 but not on all windows servers. I have the source code and will post within the comments section for review. If you are able to do this and quality. Please apply. Thanks
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
SCALP MARTINCALE SPY TIMEFRAME 1MIN CANDLE - SHORT SIDE ONLY 1-SET RISK : A IS A VARIABLE (HOW MUCH $) 2-SET ATR(3) : SET THE TIME AT WHICH THE ATR SHOULD BE TAKEN, IF SET 933AM THEN THE ATR OF THE 1MIN CANDLE AT 933AM CANDLE WILL BE USED (ROUND AT 0.25 UP OR DOWN) *USE NEW YORK TIME 3-SET MAX NUMBER OF ENTRY : B IS A VARIABLE 4-SET RSI(14) / C IS A VARIABLE, IF RSI(14) > C = ORDERS OPEN 5-IF RSI(14) > C IS TRIGGERED
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea

Информация о проекте

Бюджет
100+ USD
VAT (22%): 22 USD
Итого: 122 USD
Исполнителю
90 USD
Сроки выполнения
от 3 до 4 дн.