An Expert Advisor for a simple Hedging strategy

MQL5 エキスパート

仕事が完了した

実行時間5 日
依頼者からのフィードバック
Taher delivers exceptional quality work, excels in problem-solving, and communicates effectively. He meets deadlines reliably, adapts quickly to changes, and maintains clean code. Highly recommended!

指定

Overview:
We are seeking an experienced developer to create an Expert Advisor (EA) for a simple hedging strategy in the forex market.

The EA will utilize MACD, 200 EMA, and support and resistance levels to determine entry signals.

It will manage orders, including placing stop orders and adjusting lot sizes based on predefined conditions.



Responsibilities:

  1. Develop EA Logic:

    • Implement the first order based on MACD signals, 200 EMA trend direction, and support/resistance levels.

    • Include parameters for customizable take profit and stop loss.

  2. Order Management:

    • Automatically place a stop order upon initiating the first order.

    • Set entry price, take profit, and stop loss for the first order.

    • Note: The stop loss is saved as a variable for use in activating stop orders but will not be set when placing orders. It serves as a signal for activating stop orders.

    • Double the lot size for the second stop order, and use the first order's stop loss as the entry price.

    • Implement a third order with settings mirroring the first order if the first order’s entry price is hit again after the second stop order activation.

  3. Indicator Integration:

    • Utilize the MACD indicator for buy/sell signals.

    • Ensure the EA checks the 200 EMA for trend direction.

    • Incorporate support and resistance levels to determine entry points.

  4. User Inputs:

    • Provide input parameters for take profit (default 10 pips), stop loss (default 5 pips), and lot size (default 0.01).

  5. Order Execution and Closure Logic:

    • Ensure proper logic for closing orders upon hitting take profit or activating subsequent stop orders.

    • Implement a function to reset variables and close all positions when a take profit level is reached.

  6. Magic Number Utilization:

    • Use a magic number to track orders and ensure only one set of orders is placed at a time.

    • Include logic to check for existing orders with the magic number before placing new ones.

Detailed EA Specifications:

  1. First Order:

    • Entry Price: Determined by MACD, 200 EMA, and support/resistance.

    • Take Profit: 10 pips (user adjustable).

    • Stop Loss: 5 pips (user adjustable, stored for use in stop order, no actual stop loss set when placing the order).

    • Lot Size: 0.01 (user adjustable).

  2. Second Stop Order:

    • Entry Price: First order’s stop loss.

    • Take Profit: 10 pips (same as the first order, user adjustable).

    • Stop Loss: First order’s entry price (no actual stop loss set).

    • Lot Size: Double the first order’s lot size.

  3. Third Stop Order:

    • Entry Price: First order’s entry price after second stop order activation.

    • Take Profit: 10 pips (same as the first order, user adjustable).

    • Lot Size: Same as the first order (no stop loss).





EA Logic Flow:

  1. Entry:

    • Place the first order based on MACD, 200 EMA, and support/resistance.

    • Immediately place the second stop order.

  2. Take Profit and Stop Loss Handling:

    • If the first order hits, take profit, close all orders.

    • If the first order hits stop loss, activate the second stop order.

    • If the second stop order hits its take profit, close all orders.

    • If the second stop order’s stop loss (first order’s entry price) is hit, place the third order.

  3. Order Closure:

    • Close all orders when any take profit level is reached.

  4. Magic Number Check:

    • Ensure no additional orders are placed if an order with the same magic number exists.

    • Reset variables and close positions when required.

Deliverables:

  1. Fully functional EA with the described hedging strategy.

  2. Well-documented code for maintainability.

  3. User guide for setting parameters and understanding the EA's operations.

Requirements:

  1. Proven experience in developing Expert Advisors for MetaTrader (MT4/MT5).

  2. Strong understanding of forex trading strategies and technical indicators.

  3. Proficiency in MQL4/MQL5 programming languages.

  4. Ability to meet deadlines and provide support for initial setup and testing.




ファイル:

応答済み

1
開発者 1
評価
(18)
プロジェクト
27
0%
仲裁
0
期限切れ
0
仕事中
2
開発者 2
評価
(90)
プロジェクト
102
36%
仲裁
3
0% / 0%
期限切れ
2
2%
多忙
3
開発者 3
評価
(2)
プロジェクト
5
0%
仲裁
1
0% / 0%
期限切れ
1
20%
仕事中
4
開発者 4
評価
(214)
プロジェクト
345
16%
仲裁
22
41% / 32%
期限切れ
18
5%
多忙
5
開発者 5
評価
(26)
プロジェクト
34
15%
仲裁
6
33% / 50%
期限切れ
5
15%
仕事中
6
開発者 6
評価
(11)
プロジェクト
11
0%
仲裁
4
25% / 50%
期限切れ
2
18%
7
開発者 7
評価
プロジェクト
1
0%
仲裁
0
期限切れ
0
8
開発者 8
評価
(2)
プロジェクト
2
0%
仲裁
0
期限切れ
0
9
開発者 9
評価
プロジェクト
1
0%
仲裁
2
0% / 0%
期限切れ
0
仕事中
10
開発者 10
評価
(42)
プロジェクト
88
14%
仲裁
31
29% / 55%
期限切れ
36
41%
仕事中
11
開発者 11
評価
(9)
プロジェクト
8
38%
仲裁
3
0% / 67%
期限切れ
2
25%
仕事中
12
開発者 12
評価
(62)
プロジェクト
193
73%
仲裁
4
100% / 0%
期限切れ
1
1%
13
開発者 13
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
14
開発者 14
評価
(481)
プロジェクト
510
53%
仲裁
10
60% / 20%
期限切れ
3
1%
15
開発者 15
評価
(72)
プロジェクト
80
10%
仲裁
36
8% / 53%
期限切れ
6
8%
仕事中
類似した注文
dreams good and have a great Cash out from your smart phone , tuyoywuiy glamorous flood see full idk idk slow so dolls stupid sis workouts who's spark koalas oral waits also doggo idk
I need a modification on my existing Ea if you can Can fixed risk management to lot size instead of percentage. don’t want strategic risk management input to be based on percentage Instead lot size. The strategic risk management function I need turned from percentage to lot based And I need sells and buys to have separate tps and sl options Budget:$100 Day: 1 day
I have developed a very strong TradingView strategy in Pine Script but unfortunately, a third-party connector is requiired and in my opinion, I want a more direct connection. I am not brilliant at coding, but I have coded the majority of the MT5 code and I would like you to make sure that the MT5 code matches my TradingView script and executes the same way as the TradingView script that I will provide if you are
I need to get a trading forex robot based on support and accurate resistance and moving avarage more details will be provided on the video links I want a situation where by once I put the robot on the chart and choose buy or sell and the number to open then it will only buy or sell in that particular direction only
NADGIO 30+ USD
I need a developer that can convert two Buy and Sell indicators into a trading robot. the indicators has an input parameter, this should be made available for adjustment. Features 1. Break Even 2. Trailing Stop 3. Global TP and SL 5. Time Filter 6. News Filter (If possible)
I need a developer who can convert trading view indicator in to mt5 expert advisor with some modifications. The other details will shared once chosen the developer. Looking for someone who has good knowledge of forex, mql5,and pine script
Hello, i hope you all well. I am looking or a good developer who can understand SCM/ICT concepts so that can modify an existing EA to trade against that. The EA is already there with code and it was trading based on Breakouts zones. Now i want the EA to be modified so that it trades based on inducements and liquidity. The EA should use Pending orders on those zones instead. I do not want new developers to apply
EA for index trading using ATR % of 5day 1 Give Average true range for the past 5 day so 5day ATR also for ref use the indicator "atr value indicator " my entries will be based on a % of this NO. NO. TO BE SHOWN IN TOP CORNER The Expert im looking for is 1.AT X TIME (ie 8:am ) 2.IF price moves X % of the 5 day atr( either up or down ) within Y TIME (IE 5MINUTES ) (if PRICE moves say 30% of the 5 day atr down i buy or
I want to create an Expert Advisor (EA) that can be set to open either buy or sell trades, depending on user preference (buy-only or sell-only mode). The EA will initiate trades when the market reaches (or is equal to or less than) a specified DeMarker value (e.g., DeMarker value = 0.3). The user will set both the DeMarker value for starting trades and another DeMarker value to stop opening new trades. - **DeMarker
Create a mql5 expert advisor for forex/commodities trading based on modified candlestick formation. If modified bullish engulfing appears, EA will open buy position at closing of last candle area with martingale until opening of last candle area and set stop loss at open last candle area. Trailing stop appears when half of all buy positions running profit then when all buy positions running profit, and so on. If

プロジェクト情報

予算
30 - 150 USD
開発者用
27 - 135 USD