EA based on price at the open

MQL5 Experts C++ C# Forex

Job finished

Execution time 1 hour
Feedback from customer
Great programmer!
Feedback from employee
Nice Customer.. thanks & good luck

Specification

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



Responded

1
Developer 1
Rating
(8)
Projects
18
17%
Arbitration
3
67% / 0%
Overdue
0
Free
2
Developer 2
Rating
(19)
Projects
26
27%
Arbitration
3
0% / 100%
Overdue
2
8%
Free
3
Developer 3
Rating
(568)
Projects
641
41%
Arbitration
21
57% / 29%
Overdue
47
7%
Working
4
Developer 4
Rating
(298)
Projects
427
26%
Arbitration
18
61% / 33%
Overdue
26
6%
Free
5
Developer 5
Rating
(68)
Projects
77
8%
Arbitration
33
9% / 55%
Overdue
6
8%
Working
6
Developer 6
Rating
(140)
Projects
203
80%
Arbitration
17
29% / 47%
Overdue
10
5%
Working
7
Developer 7
Rating
(37)
Projects
59
27%
Arbitration
25
20% / 52%
Overdue
10
17%
Working
8
Developer 8
Rating
(333)
Projects
352
71%
Arbitration
4
100% / 0%
Overdue
1
0%
Working
9
Developer 9
Rating
(356)
Projects
632
26%
Arbitration
89
73% / 13%
Overdue
12
2%
Free
Similar orders
I want to make a new dashboard using 3 common indicators and the ADX indicator , which you must supply I have a MA dash which you can strip & reuse if it helps you I tried to cover all questions in the attached but i'm sure there'll be more
I want the script in mql5 language for my martingale strategy. The script should open trades in both directions buy and sell and if any trade closes in loss then open new trade in that direction by using the next volume and when trade closes in profit then reset the volume to first from volume list and also maximum consecutive losses limit will apply. If trades closes consecutively in losses and hits the limit then
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
Lilit ordrer 50+ USD
l doa language that allows creating trading robots and technical indicators. i can do any writing and translation so dont worry i can do what you want ke to do
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
The wiper 35 - 48 USD
a ll traders want to find market behavior patterns, which could help identify favorable moments for performing trading operations. They also want to eliminate randomness and influence of external factors, such as rumors, news releases, fatigue, and so on. Traders monitor charts and may formulate some formal rules, which enable objective analysis of price or tick charts. Technical indicators can facilitate such
I need EA that works on MT5 to be able to do the following: - Can recognize Support/Resistance area - Can recognize VWAP direction. - Can recognize RSI. - Can recognize Double Top/bottom, Bullish/Bearish hammer candle, Bullish/bearish engulfing candle. - Ability to set Stoploss below/above support/resistance, but risk must be fixed at a certain price. - Stoploss
I want a program that will help calculate and enter the market on full margin for me. I just need to put in the price for entry, Stop loss and TP then it will calculate the lot sizes for entering the trade on full margin on Mt5
I am seeking a highly skilled and experienced developer to assist with an important project. I need a development of an automated trading bot for NinjaTrader, utilizing a 4 SMA (Simple Moving Average) crossing strategy, with additional custom diversions for trade entries. The bot needs to be based on a strategy involving the crossing of four different SMAs. The exact periods for these SMAs and the conditions for

Project information

Budget
30 - 40 USD
For the developer
27 - 36 USD
Deadline
from 1 to 2 day(s)