EA based on price at the open

MQL5 Experts C++ C# Forex

Trabalho concluído

Tempo de execução 1 hora
Comentário do cliente
Great programmer!
Comentário do desenvolvedor
Nice Customer.. thanks & good luck

Termos de Referência

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



Respondido

1
Desenvolvedor 1
Classificação
(8)
Projetos
18
17%
Arbitragem
3
67% / 0%
Expirado
0
Livre
2
Desenvolvedor 2
Classificação
(19)
Projetos
26
27%
Arbitragem
3
0% / 100%
Expirado
2
8%
Livre
3
Desenvolvedor 3
Classificação
(568)
Projetos
641
41%
Arbitragem
21
57% / 29%
Expirado
47
7%
Trabalhando
4
Desenvolvedor 4
Classificação
(298)
Projetos
427
26%
Arbitragem
18
61% / 33%
Expirado
26
6%
Livre
5
Desenvolvedor 5
Classificação
(68)
Projetos
77
8%
Arbitragem
33
9% / 55%
Expirado
6
8%
Trabalhando
6
Desenvolvedor 6
Classificação
(140)
Projetos
204
80%
Arbitragem
17
29% / 47%
Expirado
10
5%
Trabalhando
7
Desenvolvedor 7
Classificação
(37)
Projetos
59
27%
Arbitragem
25
20% / 52%
Expirado
10
17%
Trabalhando
8
Desenvolvedor 8
Classificação
(333)
Projetos
352
71%
Arbitragem
4
100% / 0%
Expirado
1
0%
Trabalhando
9
Desenvolvedor 9
Classificação
(356)
Projetos
632
26%
Arbitragem
89
73% / 13%
Expirado
12
2%
Livre
Pedidos semelhantes
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 want to design a website like https://www.ngnrates.com/ we will change some stuff but not much, if you can deliver a website like this let me know your budget and readiness to implement
Hey, great developer I have a thinkorswim script I want to convert it into TradingView. Can you please let me know if you can i will be looking for great developer that will bid for it best regards
Hey, great developer I have a thinkorswim script I want to convert it into TradingView. Can you please let me know if you can i will be looking for great developer that will bid for it best regards
Tradingview developer 30 - 35 USD
Hey greetings. I am in need of tradingview developer that can modify an open source PineScript indicator code to add additional features. Kindly bid for this project if it is what you handle and let proceed with the project
In summary 1) The bot will only take Firm Buy and Firm Sell Signals . 2) The bot will use the SL and TP based on the indicator . 3) the risk to reward is 2:1 but when the price reaches 1:1 set SL to Breakeven 4) the bot will take Firm Buy and Firm sell after the candle closes with a firm buy or firm sell 5) make sure to give an option for number of contracts to be traded . 6) Bot will close all the trades EOD
hi. I hv a strategy on tradingview need to convert to MT4/MT5 expert advisor for algo trading. would like to add some tradingview strategy setting to the EA(not included in my tradingview code): recalculate after order is filled, order size: xx% of equity
looking for help to get my ibkr automated, i have strategies already built in composer and have JSON for them, i really just need to he setup and explanation on how to maintain it and add new strategies
Would you kindly take a look at the attached indicator script that I want to turn into a strategy? The most important request is: Is there anyway to turn lines 156 and 157 into strategy long and short entry codes? They currently plot as labels but I would them to fire as alerts for strategy entries. //Save High & Low Labels Line 156
I am looking for someone who has experience working with the ZigZag indicator. I want to create a multi timeframe dashboard scanner based on ZigZag. I will explain more in private messages. if you feel capable & interest with that,please pm me for more details. thanks

Informações sobre o projeto

Orçamento
30 - 40 USD
Desenvolvedor
27 - 36 USD
Prazo
de 1 para 2 dias