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
評価
(428)
プロジェクト
624
54%
仲裁
30
53% / 23%
期限切れ
6
1%
多忙
3
開発者 3
評価
(325)
プロジェクト
504
19%
仲裁
33
42% / 30%
期限切れ
33
7%
多忙
4
開発者 4
評価
(43)
プロジェクト
66
12%
仲裁
12
58% / 42%
期限切れ
1
2%
5
開発者 5
評価
(77)
プロジェクト
243
74%
仲裁
7
100% / 0%
期限切れ
1
0%
パブリッシュした人: 1 article
6
開発者 6
評価
(588)
プロジェクト
1062
50%
仲裁
39
28% / 41%
期限切れ
49
5%
仕事中
パブリッシュした人: 1 article, 8 codes
7
開発者 7
評価
(93)
プロジェクト
114
24%
仲裁
21
29% / 52%
期限切れ
8
7%
8
開発者 8
評価
(1156)
プロジェクト
1462
63%
仲裁
21
57% / 10%
期限切れ
43
3%
9
開発者 9
評価
(5)
プロジェクト
2
0%
仲裁
4
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
評価
(249)
プロジェクト
255
30%
仲裁
0
期限切れ
3
1%
パブリッシュした人: 2 codes
15
開発者 15
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
パブリッシュした人: 4 codes
類似した注文
I am looking for a professional developer to build a custom trading analysis software for me. This tool is NOT an automated trading bot (EA); it is an analysis dashboard to help me identify high-probability setups based on my strategy. Key Requirements: Multi-Timeframe Analysis: The software should scan 4 different timeframes (M15, M30, H1, H4, D1, WK1, MTH1) and alert me when my conditions are met. Indicator
I want to add and remove few things in ea need some modification needed in ea developer should have some trading knowledge also to understand the requirement better and have good experience in coding
Core Requirements: Two selectable timeframes - dropdown inputs to choose from M1, M5, M15, H1, H4, D1, W1, MN1 Timeframe 1 = Chart's own timeframe (if chart is M5, TF1 should be M5) Timeframe 2 = Higher timeframe for confluence All Ichimoku components displayed for both timeframes: Tenkan-sen Kijun-sen Senkou Span A Senkou Span B Chikou Span Cloud (bullish and bearish) Technical Settings: All buffers accessible for
Hello everyone, I am looking for a highly experienced MQL5 developer to build a fully automated Expert Advisor (EA) based strictly on Smart Money Concepts (SMC) 🔍 Core Strategy Requirements (SMC Only) The EA must be based on Advanced Smart Money Concepts , including: ✅ Market Structure (BOS & CHOCH) ✅ Liquidity concepts (equal highs/lows, stop hunts)✅ Trap Blocks / Fake Order Blocks detection ✅ Valid Order
I need a AI signal generating bot for forex trading that use the latest ai technology to track real time forex market, analyse and give signals. The bot should operate such that when i put it in a chart it will analyse the market, after several minutes it will display whether the trade is buying or selling. It should display the one minute, five minute,15minute, 30 minute, one hour, 4 hours and daily time frame
Hello I want to convert my tradingview indicators into Ninja trader can anyone help me with it it is urgent and I will like to discuss more about it to you if you can help me Kindly do well to bid on it
📌 JOB DESCRIPTION – FULLY AUTOMATED TRADING SYSTEM I am looking for an experienced developer to build a fully automated end-to-end trading system for MetaTrader 5. This is not an indicator-based bot and not a discretionary or black-box AI system. The system must follow a strict, deterministic rule-based trading framework that is already defined. 🎯 PROJECT GOAL Build a system where: A backend continuously evaluates
EA with Zones 30+ USD
Good day! I have an indicator .mq5 this indicator calculates and draw zones on the chart. My request is to add these specific zones drawn and calculated exactly as the indicator in the EA. A replicate behavior of the zones from the indicator to the EA. Thank you
I need a fully automated end-to-end system where a backend continuously runs my deterministic CORE EDGE validator on live market data, generates numeric JSON trade tickets (GO) or alert levels (NO-GO), and automatically pushes those instructions to the MT5 EA for execution. There are no manual signals. ROLE SPLIT (IMPORTANT) Backend (analysis & decision engine): Continuously evaluates live data using my CORE EDGE
I am looking for an experienced MQL4 / MQL5 developer to create a custom Expert Advisor (EA). Trading details: - Symbol: XAUUSD (Gold) only - Platform: MT4 or MT5 - Strategy type: Scalping (fast trades) - Timeframes: M1 / M5 - Fixed Stop Loss and Take Profit - Risk management: - Lot size based on balance OR fixed lot (user configurable) - Maximum trades per day (user configurable) - Spread and slippage filter -

プロジェクト情報

予算
50+ USD