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

Tâche terminée

Temps d'exécution 46 minutes
Commentaires du client
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.

Spécifications

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


Répondu

1
Développeur 1
Évaluation
(19)
Projets
26
27%
Arbitrage
3
0% / 100%
En retard
2
8%
Gratuit
2
Développeur 2
Évaluation
(430)
Projets
630
53%
Arbitrage
32
53% / 22%
En retard
6
1%
Chargé
3
Développeur 3
Évaluation
(328)
Projets
510
19%
Arbitrage
33
45% / 30%
En retard
34
7%
Chargé
4
Développeur 4
Évaluation
(43)
Projets
66
12%
Arbitrage
12
58% / 42%
En retard
1
2%
Gratuit
5
Développeur 5
Évaluation
(77)
Projets
243
74%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
Publié : 1 article
6
Développeur 6
Évaluation
(588)
Projets
1065
50%
Arbitrage
39
28% / 41%
En retard
49
5%
Gratuit
Publié : 1 article, 8 codes
7
Développeur 7
Évaluation
(99)
Projets
120
23%
Arbitrage
21
29% / 52%
En retard
8
7%
Gratuit
8
Développeur 8
Évaluation
(1156)
Projets
1462
63%
Arbitrage
21
57% / 10%
En retard
43
3%
Gratuit
9
Développeur 9
Évaluation
(5)
Projets
2
0%
Arbitrage
4
0% / 100%
En retard
0
Gratuit
10
Développeur 10
Évaluation
(54)
Projets
53
17%
Arbitrage
7
0% / 100%
En retard
5
9%
Gratuit
11
Développeur 11
Évaluation
(1)
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(4)
Projets
7
29%
Arbitrage
3
0% / 33%
En retard
0
Gratuit
13
Développeur 13
Évaluation
(4)
Projets
9
11%
Arbitrage
2
50% / 50%
En retard
0
Gratuit
14
Développeur 14
Évaluation
(255)
Projets
262
30%
Arbitrage
0
En retard
3
1%
Gratuit
Publié : 2 codes
15
Développeur 15
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Publié : 4 codes
Commandes similaires
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party
Hi guys I’m looking for a coder who’s experienced in one script. The candidate must be familiar with fractals and self similarity. If you can’t code self similarity, please don’t bother contacting me ( respectfully). I just don’t want us to waste each others time. My budget is 100$. If that’s too low for you please, don’t contact me. Only contact me if you can code self similarity and can accept 100$. I will provide
Looking to acquire a good MT5 based EA that works on Gold, forex pairs or BTC. Must be suitable for current market conditions and profitable in backtests. Suitable on 1 Min timeframe to be used on, Must be actively opening many positions throughout the day. Share me the details if this matches something you have or developed. Looking to get this finalised within the weekend
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

Informations sur le projet

Budget
50+ USD