Need a basic EA with detailed rules and requests urgently! PLEASE HELP!

Trabalho concluído

Tempo de execução 46 minutos
Comentário do cliente
I pressed this developer to execute a code that was initially an idea based off of a strategy I have. Under the pressure he maned to get me my code, file and explainer vid in only 3 days.

Termos de Referência

Please create an EA code for MT4 MQL4 platform to execute the following rules.


Configuration:

Add in an option to set a lot size.
User should be able to set which days the EA can trade.
User should be able to select the time of day that the ea can trade.
Will be best if the entry of either a sell or buy position is following the trend.
Must be able to plug in EA to Wallstreet/ US30

Add in the name Chart Smart Trading in red color to the chart when it is plugged in.


Rules:

Buy when current price retests and touches the 21 EMA to the downside but is above the Vwap and the stochastic RSI is in an oversold position below 20 and the candle has closed with the RSI K and D has crossed over to the upside.
Stop loss for buy position should be automatically set 100 pips below the previous swing low from entry.

Take profit for Buy position should be set using a risk to reward ratio of 1:3 with a trailing stop loss option under configuration that can be set by user with Start, step and end.


Sell when price retests the 21 EMA to the upside but is below the Vwap and stochastic RSI is in an oversold position above 80 and the candle has closed with the RSI K and D has crossed over to the downside.
Stop loss for sell position should be set 100 pips above the previous swing high closest to entry.

Take Profit for sell position should be set with a risk to reward ratio of 1:3 with a trailing stop loss option under configuration that can be set by user with start, step and end.


*Display Box that shows the following information;
 Account number
 Trading Time
 Lot size
 Current spread
 Stop loss
 Take Profit
 Trailing stop on or off
 Magic number

Must be able to change the color of the font and background of the display under configuration.


I have this code I was working from but had two errors and not sure if it was correct. See below code.


#property copyright "Copyright (c) 2021 Chart Smart Trading"


#property link      "https://www.chartsmart-trading.com"


#property version   "1.00"


#property strict




input double Lots=0.01;


input double TrailingStopStart=100;


input double TrailingStopStep=10;


input double TrailingStopEnd=200;


input int TradeDays=127;


input int StartHour=0;


input int StartMinute=0;


input int EndHour=23;


input int EndMinute=59;




string ChartName = "Chart Smart Trading";


color ChartNameColor=clrRed;




int ticket;


int orderType;


double stopLoss;


double takeProfit;




int OnInit()


{


   ObjectCreate(0, ChartName, OBJ_LABEL, 0, 0, 0);


   ObjectSetText(ChartName, ChartName, 12, "Arial", ChartNameColor);


   return(INIT_SUCCEEDED);


}




void OnTick()


{


   int day = DayOfWeek();


   if (TradeDays & (1 << day))


   {


      int time = TimeCurrent();


      int currHour = TimeHour(time);


      int currMinute = TimeMinute(time);




      if (currHour >= StartHour && currHour <= EndHour && currMinute >= StartMinute && currMinute <= EndMinute)


      {


         double ema21 = iMA(NULL, 0, 21, 0, MODE_EMA, PRICE_CLOSE, 0);


         double vwap = iCustom(NULL, 0, "vwap", 0, 0);


         double rsi = iRSI(NULL, 0, 14, PRICE_CLOSE, 0);


         double k, d;


         Stochastic(NULL, 0, 14, 5, 3, 3, MODE_SMA, MODE_SMA, k, d);




         if (Close[0] < ema21 && Close[0] > vwap && rsi < 20 && CrossOver(k, d))


         {


            orderType = OP_BUY;


            stopLoss = Low[1] - 100 * Point;


            takeProfit = High[1];


            ticket = OrderSend(NULL, orderType, Lots, Ask, 3, stopLoss, takeProfit, NULL, 0, 0, Green);




            if (ticket < 0)


            {


               Print("Error opening order: ", GetLastError());


            }


            else


            {


               if (TrailingStopStart > 0)


               {


                  OrderModify(ticket, Bid, Ask, NormalizeDouble(Bid - TrailingStopStart * Point, Digits), NormalizeDouble(Ask + TrailingStopEnd * Point, Digits), 0, Green);


               }


            }


         }


         else if (Close[0] > ema21 && Close[0] < vwap && rsi > 80 && CrossUnder(k, d))


         {


            orderType = OP_SELL;


            stopLoss = High[1] + 100 * Point;


            takeProfit = Low[1];


            ticket = OrderSend(NULL


Respondido

1
Desenvolvedor 1
Classificação
(19)
Projetos
26
27%
Arbitragem
3
0% / 100%
Expirado
2
8%
Livre
2
Desenvolvedor 2
Classificação
(434)
Projetos
638
53%
Arbitragem
32
59% / 22%
Expirado
6
1%
Trabalhando
3
Desenvolvedor 3
Classificação
(328)
Projetos
513
19%
Arbitragem
35
43% / 31%
Expirado
34
7%
Carregado
4
Desenvolvedor 4
Classificação
(43)
Projetos
66
12%
Arbitragem
12
58% / 42%
Expirado
1
2%
Livre
5
Desenvolvedor 5
Classificação
(77)
Projetos
245
74%
Arbitragem
7
100% / 0%
Expirado
1
0%
Trabalhando
Publicou: 1 artigo
6
Desenvolvedor 6
Classificação
(589)
Projetos
1069
50%
Arbitragem
39
28% / 41%
Expirado
49
5%
Trabalhando
Publicou: 1 artigo, 8 códigos
7
Desenvolvedor 7
Classificação
(106)
Projetos
129
25%
Arbitragem
23
30% / 52%
Expirado
8
6%
Livre
8
Desenvolvedor 8
Classificação
(1156)
Projetos
1462
63%
Arbitragem
21
57% / 10%
Expirado
43
3%
Livre
9
Desenvolvedor 9
Classificação
(5)
Projetos
2
0%
Arbitragem
4
0% / 100%
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(54)
Projetos
53
17%
Arbitragem
7
0% / 100%
Expirado
5
9%
Livre
11
Desenvolvedor 11
Classificação
(1)
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
(4)
Projetos
7
29%
Arbitragem
3
0% / 33%
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
(4)
Projetos
9
11%
Arbitragem
2
50% / 50%
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
(258)
Projetos
266
29%
Arbitragem
0
Expirado
3
1%
Trabalhando
Publicou: 2 códigos
15
Desenvolvedor 15
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 4 códigos
Pedidos semelhantes
EA Crafter 500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE
أحتاج إلى مستشار خبير لمنصة MetaTrader 5 (MT5) مصمم كآلة حالة محدودة (FSM). يجب أن ينفذ أوامر السوق فقط بناءً على مستويات أسعار يحددها المستخدم. يجب ألا يستخدم أي مؤشرات أو تحليل فني أو أوامر معلقة أو ذكاء اصطناعي أو قرارات تداول تلقائية. يجب أن ينفذ المستشار الخبير ببساطة تسلسلًا محددًا مسبقًا لمستويات الأسعار كما يحددها المستخدم تمامًا، مع إدارة دقيقة للحالة، ودورة نشطة واحدة في كل مرة، ومعالجة الفجوات السعرية،
Part 1: Project setup Input settings (risk, stop loss, take profit, EMA periods) Indicator initialization Trade management framework Part 2: Trading logic EMA crossover detection Buy/Sell entry rules One-trade-per-symbol check Part 3: Risk management Automatic lot size calculation Stop-loss and take-profit placement Trade execution and error handling Part 4: Final touches On-screen information Optimization
I have an expert advisor's investor login. I want you to study it and make me the exact same EA. There should be absolutely no differences or mistakes. You should have great observation skills for this aswell
I am looking for an experienced MQL5 developer to code a custom Expert Advisor for MetaTrader 5 based on my own private trading strategy.I have all the specific entry rules, exit conditions, and risk management parameters fully prepared. I will share these exact details with the selected developer via direct message once the job is initiated.The final delivery must include the clean, fully commented source code (.mq5
I require a custom EA and an accompanying custom indicator built in MQL5 for Meta Trader 4/5. The EA must be fully automated (Algo Trading); Telegram-Signal-Linked and named 'AMK Fx'
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment

Informações sobre o projeto

Orçamento
50+ USD