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
(426)
Projets
620
54%
Arbitrage
29
55% / 24%
En retard
6
1%
Travail
3
Développeur 3
Évaluation
(321)
Projets
497
19%
Arbitrage
33
42% / 30%
En retard
32
6%
Occupé
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
240
73%
Arbitrage
7
100% / 0%
En retard
1
0%
Gratuit
6
Développeur 6
Évaluation
(588)
Projets
1061
50%
Arbitrage
39
28% / 41%
En retard
49
5%
Gratuit
Publié : 1 article, 8 codes
7
Développeur 7
Évaluation
(93)
Projets
114
24%
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
(246)
Projets
253
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
require the development of a high-speed, fully automated trading Expert Advisor (EA) for MetaTrader 5 , optimized for live trading on both Deriv and Exness . The EA must be designed for fast execution, low latency, and reliability on real-money accounts , with full compatibility across broker-specific contract specifications, tick sizes, tick values, pricing formats, and volume rules. It should automatically detect
Take your gold trading to the next level with CyberGold Scalper , the ultimate XAUUSD MT5 EA designed for precision, speed, and reliability. ✅ Features: Multi-Timeframe Confirmation: M5, M15, H1 filters for smarter entries. ATR & RSI Based Signals: Trade only when the market conditions favor profit. Dynamic Lot Sizing: Risk is automatically calculated based on your balance. Partial Profit & Trailing Stop: Maximize
I need an MT5 Expert Advisor that works as a trade copier. One master MT5 account (my account) → multiple client MT5 accounts (slaves). Main requirements: 1) Copy Trading - Copy all trades from master to slaves: * market and pending orders * SL / TP * modifications (SL/TP changes) * partial closes * closing of orders - Instruments: Forex and XAUUSD (Gold) - Must work with different brokers and prop firm accounts
Job Title: Cloud-Based MT4/MT5 Trade Copier Developer (Project-Based) Project Overview: Looking for an experienced developer to build a cloud-hosted trade copier platform similar in concept to leading web-based multi-account trade copiers. The system must copy trades in real time between multiple MT4/MT5 accounts (and later other platforms), with low latency, strong security, and a modern web dashboard for
I want the Robots to execute buy/sell/TP/SL trades without me telling them to, Buy low Sell high Forex Pairs, I want to gain profit not lose profit, using INDICATORS, strategies, Expert Advisors, signals, Symbols, MA RSI, Awesome Accelerators', Algorithmic Trading and Scanners on real time data
Pazuzu 30+ USD
generate or create me a python coded file that has mql5 language requirements for a trading bot under the following instructions. the bot must execute trades if necessary the bot must trade 24/7 the bot must trade gold and currency the bot must make unlimited profit hourly the bot must enter market with caution after market analysis of 98 percent of clear trade
Technical Project Description: AI-Enhanced Adaptive Trading Expert Advisor I want to commission the development of a high-performance AI-powered Expert Advisor (EA) designed for MetaTrader 5 , optimized for indices (e.g., Volatility 75 Index) , gold (XAU/USD) , and crypto pairs (BTC/USD) . The EA should intelligently adapt to market volatility using machine learning or AI-based decision-making to refine its entry and

Informations sur le projet

Budget
50+ USD