EA based on price at the open

MQL5 Эксперты C++ C# Forex

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

Время выполнения 1 час
Отзыв от заказчика
Great programmer!
Отзыв от исполнителя
Nice Customer.. thanks & good luck

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

Briefly, the EA looks to see if a certain candle closes higher or lower than the open at a specific time and is higher or lower than a moving average.

If this is the case, we place two limit orders at a certain retracement of the signal candle with the same stop, a fixed target and a trail on a moving average.

Limit orders are valid until the end of the day. If possible

I would like the programmer to incorporate his lines of code into my template so that I can properly navigate the source code.

The bot should have a bool that will allow me to choose if I want to use ATR or fixed percentages for my targets and stops. (I already have the code for the ATR in my template) As well as a bool fix lot size for optimization.

Conditions for a long:

If the candle close following the open (03:00) > the open && the candle close following the open > the 24 EMA place two buy limit orders at a -25% retracement of the signal candle (the candle following the open) with 50% of the total risk of 1% on each position. P1 & P2 will have the same stop (-2%). P1 will have a +2% target. When P1's TP is hit, P2 trails on the 12 EMA. Limit orders are valid for 22 hours.

Conditions for shorts: If the close of the candle following the open (03:00) < than the open && the close of the candle following the open is more < than the 24 EMA place two sell limit orders at a retracement of +25% of the candle of the signal (the candle following the open) with 50% of the total risk of 1% on each of the positions. P1 & P2 will have the same stop (+2%). P1 will have a target of -2%. When P1's TP is hit, P2 trails on the 12 EMA. Limit orders are valid for 22 hours.

Do not open other positions in the same direction as long as there is still a position in the market.

If possible create the open line that spans 24 hours with history/lookback.

Make sure the EA works for all brokers.

inputs:

input bool fixlotsize = true;

input double fixlotsize_val = 0.01;

input double TotalRiskPercentage = 1.00;

input double p1risk = 50;

input double p2risk = 50;

input double stops = 2; //in % input double

input double tp= 2; //in %

input bool atrTargetStop = false;

input double ATRmultiplierForStops = 3;

input double ATRmultiplierForTP1 = 3;

input int trail_MAperiod = 12;

input ENUM_MA_METHOD trail_MAmethod = MODE_EMA;

input ENUM_APPLIED_PRICE trail_MA_AppliedPrice = PRICE_CLOSE;

input int MAperiod = 24;

input ENUM_MA_METHOD MAmethod = MODE_EMA;

input ENUM_APPLIED_PRICE MA_AppliedPrice = PRICE_CLOSE;

input string open_time = "03:00";

input double retracement= 25; //in percennt



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

1
Разработчик 1
Оценка
(8)
Проекты
18
17%
Арбитраж
3
67% / 0%
Просрочено
0
Свободен
2
Разработчик 2
Оценка
(19)
Проекты
26
27%
Арбитраж
3
0% / 100%
Просрочено
2
8%
Свободен
3
Разработчик 3
Оценка
(566)
Проекты
639
41%
Арбитраж
21
57% / 29%
Просрочено
45
7%
Загружен
4
Разработчик 4
Оценка
(298)
Проекты
427
26%
Арбитраж
18
61% / 33%
Просрочено
26
6%
Свободен
5
Разработчик 5
Оценка
(67)
Проекты
74
7%
Арбитраж
33
9% / 55%
Просрочено
6
8%
Работает
6
Разработчик 6
Оценка
(132)
Проекты
191
81%
Арбитраж
17
29% / 47%
Просрочено
10
5%
Загружен
7
Разработчик 7
Оценка
(36)
Проекты
59
27%
Арбитраж
23
22% / 52%
Просрочено
10
17%
Работает
8
Разработчик 8
Оценка
(315)
Проекты
335
71%
Арбитраж
4
100% / 0%
Просрочено
1
0%
Работает
9
Разработчик 9
Оценка
(356)
Проекты
632
26%
Арбитраж
89
73% / 13%
Просрочено
12
2%
Свободен
Похожие заказы
Hello guys, i am creating a Student Management system of my own practice in C#. I created the database successfully and now am getting hard time to connect and compile. I need someone to fix this part via my PC remotely so that i move to next step. If you are good in C# Please contact me. I created the table as well. Only serious candidates because this is the stage i want to do so i move on
Hi, I want a custom indicator to be coded based on 2 default Indicators. Add alerts for signals and news filter alerts to be sent through metaquotes id, email and phone. Popup alerts for pc/laptop as well. I would like it to have a display panel that logs the trade history and a buy/sell button with risk % based on balance and equity, fixed lots and some other features
Hi I have an indicator that I use within ThinkorSwim that helps me determine when a bullish or bearish trend is reversing and I would like to convert the indicator over to Ninja Trader 8. I've added a text file with the code of the indicator for you to review and provide me with an estimate for the work. I'm looking forward to hearing from you about the statement of work. Kind regards
Hello I am looking for a developer to help me do modification on my custom ninjatrader 8 strategy and also backtest it in other to work perfectly your expertise is highly needed for this project Kindly reach out to me and let get started on the project Thanks
Metatrader 30+ USD
I would like to calculate the deviations between the companies listed below with Meta Trader. Would you be interested? BETWEEN 01.00 AT NIGHT AND 00.00 OF THE NEXT DAY (FOR HOURS WHEN THE GOLD MARKET IS OPEN) *Instant comparison of prices of the same parities of different companies *Determination of deviation rates in downward or upward movements (average prices, prices below and above the average) *Detection of
Hello I'm in possesion of a straightforward MT% Expert AdvisorThat I want to convert into DXTrade. Are you able to do this conversion? Kindly let me know if the fil atached will be enough
Hello, I need a quote for developing a bot for my renko based trading system on ctrader platform and based on the attached specification your expertise is highly needed for this project Thanks
Hello, please let me know if any of these strategies can be turned into a bot (automation) and run 24/7 on a vps. Also note that they might not use the latest versions of indicators, if this matters, then please check for the latest versions. Thank you! Dan https://1drv.ms/f/s!Alr17W7ddJLYgYgiFKZYluOfokbfQg
Hello! Thanks for reading. I need an EA with an inbuilt/already made strategy that I can use for prop firms. The drawdown should be very low of only 2-4% max and another criteria is that no one else other than you are currently using it and if you happen to use it you must tell me which prop firm you are using it on to avoid us using the same EA on the same prop firm to get the account denied. As you know or may
I need to convert two mt4 indicators into Quantower. The two simple mt4 indicators are Hieken Ashi and Price Channel Signal. I want to integrate these two indicators into Quantower platform

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

Бюджет
30 - 40 USD
Исполнителю
27 - 36 USD
Сроки выполнения
от 1 до 2 дн.