Add risk management functionality to an existing EA

MQL4 Experten

Spezifikation

This task is straightforward for an experienced MT4 developer (if you are not experienced in coding please do not apply for this job) and $50 is a fair rate for the work and the given timeline. I need updates to an existing EA to enhance its risk management features and implement a profit-locking mechanism. The changes should not interfere with the existing logic but rather add the following functionalities:

  1. Enable or disable trading.
  2. Set a daily profit cap with configurable options once the cap is reached.
  3. Set a daily loss cap with configurable options once the cap is reached.

Deadline: The update is required by 1 PM GMT on Saturday, 14 September, so I can conduct testing in the afternoon.


The EA already calculates daily profit/loss and displays on screen so this is the figure it should use for the Daily Profit Cap and Daily Loss Cap




New Input Parameters:

  1. Allow Trading
    • Description: This input allows you to enable or disable trading activity.
    • Type: Boolean (Yes/No)
    • Function: When set to "No," the EA will stop opening new trades but will manage any existing open trades based on the EA's internal logic.
    • Default: Yes
  2. DailyProfitCap
    • Description: A limit for daily or session profits based on a percentage of the current account balance.
    • Type: Float (Percentage of account balance)
    • Function:
      • If set to 0, the profit cap function is disabled.
      • If a profit cap is set and reached, the EA will act according to the selected option in DailyProfitCapOptions.
    • Default: 0 (Disabled)
  3. DailyProfitCapOptions
    • Description: Defines the behavior of the EA once the DailyProfitCap is reached.
    • Type: Enum (Option 1, Option 2, Option 3)
    • Options:

1.                  Automatic Restart: The EA will close all open trades and stop trading for 24 hours. After the 24-hour period, it will automatically resume trading.

2.                  Manual Restart: The EA will close all open trades and stop trading. Trading will remain halted until the user manually toggles Allow Trading to "No" and then back to "Yes."

3.                  Await Next Breakout: The EA will close all open trades and stop trading. Trading will resume when a new candle breakout signal is detected.

  1. DailyLossCap
    • Description: A limit for daily or session losses based on a percentage of the current account balance.
    • Type: Float (Percentage of account balance)
    • Function:
      • If set to 0, the loss cap function is disabled.
      • If a loss cap is set and reached, the EA will act according to the selected option in DailyLossCapOptions.
    • Default: 0 (Disabled)
  2. DailyLossCapOptions
    • Description: Defines the behavior of the EA once the DailyLossCap is reached.
    • Type: Enum (Option 1, Option 2, Option 3)
    • Options:

1.                  Automatic Restart: The EA will close all open trades and stop trading for 24 hours. After the 24-hour period, it will automatically resume trading.

2.                  Manual Restart: The EA will close all open trades and stop trading. Trading will remain halted until the user manually toggles Allow Trading to "No" and then back to "Yes."

3.                  Await Next Breakout: The EA will close all open trades and stop trading. Trading will resume when a new candle breakout signal is detected.


Summary of Key Inputs

Input

Description

Default

Allow Trading

Enable or disable EA trading

Yes

DailyProfitCap

Limit for daily/session profits (as a %)

0 (if 0 Disabled)

DailyProfitCapOptions

Actions when profit cap is reached

Option 1

DailyLossCap

Limit for daily/session losses (as a %)

0 (if 0 Disabled)

DailyLossCapOptions

Actions when loss cap is reached

Option 1


Bewerbungen

1
Entwickler 1
Bewertung
(3)
Projekte
5
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Frei
2
Entwickler 2
Bewertung
(183)
Projekte
186
76%
Schlichtung
2
100% / 0%
Frist nicht eingehalten
0
Frei
3
Entwickler 3
Bewertung
(10)
Projekte
25
28%
Schlichtung
3
0% / 0%
Frist nicht eingehalten
1
4%
Beschäftigt
4
Entwickler 4
Bewertung
(1)
Projekte
3
33%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
2
67%
Frei
5
Entwickler 5
Bewertung
(10)
Projekte
15
27%
Schlichtung
3
67% / 33%
Frist nicht eingehalten
0
Arbeitet
6
Entwickler 6
Bewertung
(16)
Projekte
21
33%
Schlichtung
2
0% / 100%
Frist nicht eingehalten
4
19%
Frei
Ähnliche Aufträge
I need a expert programmer who can help me write a profitable strategy for Expert advisor. Note:it must be profitable because I need a EA robot that will be making lot of money. Thanks
Hello, I need an robot that will allow me to makes money IF you have a robot that makes real cool money , kindly message with the robot functional and provide demo acc to test how it making money before I buy the real robot with the source code
I NEED SOMEONE WITH EA CODING EXPERIENCE TO DEVELOP A TRADING MANAGEMENT SYSTEM FOR BOTH MT4 & MT5 PLEASE TAKE NOT THEAT THE EA MANAGEMENT SYSTEM SHOULD HAVE THE FOLLOWING: BASIC STRUCTURE *BUY & SELL BUTTONS *Lot Size (In Pips) *Take Profit (In Pips) *Stoploss (In Pips) *Number of Trades (1-20) ADVANCED STRUCTURE *Pending Orders (Including SL,TP, Lot Size,Price,buy stop,buy limit,sell stop,sell) *Delete Pending
Hello, I want to create an MQL5 expert advisor based on the indicators in TradingView. The name of the indicator is UT Bot Alerts by QuantNomad. This EA will then place a buy order if the UT Bot alert gives a buy signal, and vice versa. Plus the martingale strategy, if the first position is hit by a stop loss, then wait for a new signal again and open an order with a lot 2x larger
Need a Coding Expert. Fully automated Robot for Trading with minimal losses. It should be able to open/close trades automatically according to the strategy. Also, there should be an option to select maximum leverage for Trading FOREX, COMMODITIES, ENERGIES, etc. The forecast reports of trading strategies to be shared automatically to a specified Email, WhatsApp and Telegram accounts. TO DEVELOP A TRADING MANAGEMENT
Robot 30+ USD
numbers of trad pre day, atr stoplost breakeven opening of odrtger buy = Upper neutral leve 40, previous less than level 50, new >= level 50 sell = Lower neutral level 60, previous less than level 50, new => level 50
Hello everyone, I am a forex Telegram channel owner who wants to offer the members an option to buy a Telegram to MT4/5 copier, which is developed for our company. Functionality I am looking for is: - Customizable lot size. - Up to 3 TP points, with an option to take partial profits on each TP. - Option to set SL at breakeven once certain TP is hit. - Ability to copy from multiple channels (including private) I know
I have need my .ex4 file EA to fix. I have .ex4 file the EA with me. Last few years, it was working fine. I need you to decode or fix it so that it takes trades like before. I need you to provide me with .mq4 file of the EA. I will verify it takes the trades same, and confirm the jobs is done. Hope You may easily do the jobs. Best wishes
hye developers, please see the attachment for the input settings. requirements : on the chart where the EA is loaded must display this two things. 1- current profit/loss in usd for the current pair that the EA is loaded and 2- current profit/loss in usd for all pair that the EA is loaded. 1- EA must support 4 and 5 decimals brokers 2- EA must support trading on multiple pairs (use magic number to manage multiple
Brief description. mt4 must be connected via binary.com API. Only for binary trade. Forex pair . Rise/Fall option only. Maximum trade limited options should be given. Profit option should be given. Martingale system. Compounding system Candlestick time counter should be given. There will be two types of signals. A candle stick will come with an arrow symbol. Arrow symbol will appear below another chart. You can

Projektdetails

Budget
50+ USD
Ausführungsfristen
bis 3 Tag(e)

Kunde

(42)
Veröffentlichte Aufträge50
Anzahl der Schlichtungen0