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

Job finished

Execution time 46 minutes
Feedback from customer
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.

Specification

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


Responded

1
Developer 1
Rating
(19)
Projects
26
27%
Arbitration
3
0% / 100%
Overdue
2
8%
Free
2
Developer 2
Rating
(429)
Projects
629
54%
Arbitration
32
53% / 22%
Overdue
6
1%
Loaded
3
Developer 3
Rating
(328)
Projects
510
19%
Arbitration
33
45% / 30%
Overdue
34
7%
Loaded
4
Developer 4
Rating
(43)
Projects
66
12%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
5
Developer 5
Rating
(77)
Projects
243
74%
Arbitration
7
100% / 0%
Overdue
1
0%
Free
Published: 1 article
6
Developer 6
Rating
(588)
Projects
1065
50%
Arbitration
39
28% / 41%
Overdue
49
5%
Free
Published: 1 article, 8 codes
7
Developer 7
Rating
(99)
Projects
120
23%
Arbitration
21
29% / 52%
Overdue
8
7%
Free
8
Developer 8
Rating
(1156)
Projects
1462
63%
Arbitration
21
57% / 10%
Overdue
43
3%
Free
9
Developer 9
Rating
(5)
Projects
2
0%
Arbitration
4
0% / 100%
Overdue
0
Free
10
Developer 10
Rating
(54)
Projects
53
17%
Arbitration
7
0% / 100%
Overdue
5
9%
Free
11
Developer 11
Rating
(1)
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
(4)
Projects
7
29%
Arbitration
3
0% / 33%
Overdue
0
Free
13
Developer 13
Rating
(4)
Projects
9
11%
Arbitration
2
50% / 50%
Overdue
0
Free
14
Developer 14
Rating
(255)
Projects
262
30%
Arbitration
0
Overdue
3
1%
Free
Published: 2 codes
15
Developer 15
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 4 codes
Similar orders
I am looking for an experienced MQL5 developer to improve an existing forex EA, not build a completely new robot from zero. Important note: I use GPT to help me write because my English is limited. The wording may be assisted by GPT, but the trading issues, testing observations, and improvement goals are real from my side. I need a developer who is patient, understands strategy logic well, and can explain the
Fair Value Gap Expert , Optimize the core logic for live chart . [Filters are working] Lets ace the trailing stop . Change points to pip . Project will start from next week
I am looking to develop a highly optimized and fully modular script in MQL5 specifically for detecting RSI Divergences. This script will serve as a foundational building block to be integrated into a larger, comprehensive Expert Advisor (EA) later. Therefore, execution speed, strict logic, and a clean codebase are my absolute top priorities. Here are the core technical requirements for this project: 1. MQL5
I hope to acquire a profitable and existing expert advisor (EA) from the gold market, with complete source code, to add to our client portfolio. you can WECHAT: Faca7898 Please note EA when adding friends. It should be clarified that this does not require you to formulate or design new strategies. If you already have a verified, consistent, and production-ready EA, I am willing to purchase it immediately and engage
I’m looking for an experienced developer to help build a trading bot for Polymarket , focused on short-term crypto prediction markets (e.g. 5–15 minute intervals). The strategy is fully rule-based and operates on binary outcome markets (YES/NO shares). The bot should be able to: monitor live market prices and probabilities, execute trades based on predefined conditions, manage positions dynamically before market
Hola, estoy buscando un desarrollador MQL5 con experiencia real en trading algorítmico. Necesito un EA para XAUUSD con: Control de Drawdown filtro de mercado (tendencia vs rango) gestión de riesgo dinámica optimización para sesiones específicas Antes de avanzar quisiera saber: ¿Qué experiencia tienes con EAs en MT5? ¿Has trabajado con estrategias de oro (XAUUSD)? ¿Cómo gestionas el drawdown en un bot? ¿Puedes mostrar
There is a programming god without EA here. I want to find someone to make an EA to operate gold and silver. There is a model, but it can't run. So I want to find someone to make professional improvements to make my EA run. If you are interested, you can WECHAT: 15113958263. Please note EA when adding friends
Iam seeking for a good trade robot/indicator debugging developer to finalize and close profits for me,in both my exneas blocker and MT5,for expert advisor for trading both gold xausd and sliver xagusd,l really want a perfect robot that can herence and risk management principles,not to leave out am a beginner
Overview I am seeking a high-level MQL5 developer to develop and finalize a professional-grade MetaTrader 5 Expert Advisor (EA) for trading XAUUSD (Gold) . This is not a beginner project — the EA requires structured logic, efficient coding, and strict adherence to risk management principles. Strategy Summary The EA is based on a multi-indicator confluence system combining: Parabolic SAR → trend direction MACD →
Title: SEEKING: Proven SMC/Order Block EA for XAUUSD – Live Track Record Required (<5% Max DD) ​ Job/Request Description: I am looking to acquire or license a high-performance, fully automated Expert Advisor (EA) specifically optimized for XAUUSD (Gold) . The strategy must be strictly based on Smart Money Concepts (SMC) , utilizing Order Blocks, Liquidity sweeps, and Market Structure Shifts (MSS). ​ Technical

Project information

Budget
50+ USD