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

Работа завершена

Время выполнения 46 минут
Отзыв от заказчика
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.

Техническое задание

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


Откликнулись

1
Разработчик 1
Оценка
(19)
Проекты
26
27%
Арбитраж
3
0% / 100%
Просрочено
2
8%
Работает
2
Разработчик 2
Оценка
(337)
Проекты
455
52%
Арбитраж
22
50% / 27%
Просрочено
5
1%
Загружен
3
Разработчик 3
Оценка
(186)
Проекты
305
15%
Арбитраж
20
40% / 35%
Просрочено
15
5%
Занят
4
Разработчик 4
Оценка
(42)
Проекты
62
8%
Арбитраж
12
58% / 42%
Просрочено
1
2%
Свободен
5
Разработчик 5
Оценка
(57)
Проекты
177
71%
Арбитраж
4
100% / 0%
Просрочено
1
1%
Свободен
6
Разработчик 6
Оценка
(586)
Проекты
1047
49%
Арбитраж
39
28% / 41%
Просрочено
49
5%
Свободен
7
Разработчик 7
Оценка
(87)
Проекты
107
24%
Арбитраж
8
38% / 25%
Просрочено
8
7%
Работает
8
Разработчик 8
Оценка
(1127)
Проекты
1429
62%
Арбитраж
21
57% / 10%
Просрочено
43
3%
Свободен
9
Разработчик 9
Оценка
(5)
Проекты
2
0%
Арбитраж
2
0% / 100%
Просрочено
0
Свободен
10
Разработчик 10
Оценка
(54)
Проекты
53
17%
Арбитраж
7
0% / 100%
Просрочено
5
9%
Свободен
11
Разработчик 11
Оценка
(1)
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
12
Разработчик 12
Оценка
(4)
Проекты
7
29%
Арбитраж
3
0% / 33%
Просрочено
0
Свободен
13
Разработчик 13
Оценка
(4)
Проекты
9
11%
Арбитраж
2
50% / 50%
Просрочено
0
Свободен
14
Разработчик 14
Оценка
(196)
Проекты
200
28%
Арбитраж
0
Просрочено
3
2%
Работает
15
Разработчик 15
Оценка
Проекты
0
0%
Арбитраж
0
Просрочено
0
Свободен
Похожие заказы
Need ea according to stochastic divergence (both hidden and regular) plus candlestick flip .. need for experinced developers to complete my order with 99percent accuracy. So bet for it the budged is fixed and other plugins will be added in the v2
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello, send robot models with a solid strategy (to trade forex), I want to use it to make money for the week. It is important that you present me with your profitability graph and a test. I also want to hire him for future jobs
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
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
Specify your Requirements Specification here point by point. Try to describe your requirements briefly and clearly, so that your potential developer is able to correctly assess its complexity and cost, as well as the required execution time. A bad or too generic description will result in your order being ignored, or you will spend a lot of time negotiating the details with each applicant. Remember: It is better to
hey friends, I am looking to build a smart trading robot, for the capital market. He knew how to trade in all the different types of trade. Example - in shares, currencies, index, indices, ETFs, funds, commodities, options, futures and so on. Suitable for trading on all stock exchanges in the world. It will be possible to install the trading robot in the MetaTrader 5 trading software. But it will also be possible to
Hi I need a software like Mirror trade copier ( https://www.antonnel.net/mirror/ ) which directly connect to the Accounts over api with out MT4 terminal and copies trades from mater to client. I want the same and possible improvement like can be accessed over a url and dashboard for some basic metrics (optional)
Using Bollinger Band only. When price closes above upper BB, open Buy. If the length of the candle body that closed above the upper BB is more than Y pips, then do not Buy and remove the EA. Otherwise, continue to open Buy if crosses and close above upper BB and the number of positions is not more than Max No of Positions. The user will choose either Buy or Sell only. When price closes below the lower BB, close all

Информация о проекте

Бюджет
50+ USD
Исполнителю
45 USD