Risk Management / Position Size EA

MQL4 Experts

Job finished

Execution time 5 days

Specification

EA should be in MT4 format and include the MQL4 Source file that I can modify and compile on my own

This EA will run based on the FREQUENCY variable (see below)

and I need the  EA  to perform the following two functions :



SET STOP LOSS
- Automatically set a stop loss for any open or pending orders that do not currently have a stop loss set.
Set the value to the  variable DEFAULT_STOPLOSS  (see below)



CLOSE SYMBOLS WITH EXCESSIVE COMBINED LOT SIZE

- Sum the current total number of lots for the current symbol including  both opening orders and pending orders
This will need to support fractions of a lot (.10) for micro and mini accounts.

If the SUM off all open and pending orders exceeds Floor((AccountEquity() / 100))   (Round DOWN to the nearest Int)
close ALL open AND pending orders for that symbol.

Example
This symbol would be closed under the following condition AccountEquity = $490
EURUSD
OPEN ORDERS total 3 LOTS
PENDING ORDERS total 1.2 LOTS
Because 4.2 > 4, all open and pending orders for the EURUSD would automatically be closed.

ALERTS

-- Send an email alert using the SendMail() function anytime an error occurs with error code/details.

-- Send an email alert using the Sendmail() function when orders(pending or open) are closed due to excessive position size including and   Symbol name and   number of orders (open and pending) that were closed



VARIABLES
Frequency INT  DEFAULT 5
( How often in minutes the EA executes  5 = every 5 minutes)

DEFAULT_STOPLOSS INT DEFAULT 30
(Stop loss value for any open or pending orders found without a stop loss set)

Responded

1
Developer 1
Rating
(180)
Projects
301
30%
Arbitration
54
24% / 56%
Overdue
98
33%
Free
2
Developer 2
Rating
(52)
Projects
133
44%
Arbitration
14
50% / 29%
Overdue
55
41%
Free
3
Developer 3
Rating
(137)
Projects
220
52%
Arbitration
22
23% / 55%
Overdue
64
29%
Free
Published: 3 codes
Similar orders
Platform: MT5 / MQL5 Buy khi RSI < 30 Sell khi RSI > 70 RSI period configurable, default 14 Fixed lot configurable SL/TP configurable Max 1 position per symbol Completed candles only Configurable Magic Number Deliver .mq5 source Compile without errors/warnings No martingale/grid No profitability guarantee
Trading bot ea 30+ USD
yoo i want to make a trading bot i have my strategy in videos and also the rules to if anyone can work it out for me i will be glad welcome your bid and it urget let connect here on mgl5 And if you know you can not do the project without getting paid first please don't bid thanks
MT5 EA make work on zone break and candle confirm. Hi i need one expert person who can make exact what i want. My EA logic very simple.... few hrs market high and low make line then candle body close above or low then candle confirmation then pullback then entry RR1:2 no trail nothing,,,,, the line high low create after few hrs of the day i wll tell you later,,,,then 1hrs no trade if break then no trade for the
Hi, I need an Expert Advisor (EA) for MetaTrader 5, for my IC Markets account. Account MT5, hedging account, type: [Raw Spread / Standard: fill in] Deposit: 100 USD, leverage 1:30, account currency: [USD / EUR: fill in] Instruments Forex (major pairs) and gold (XAUUSD) Strategy and parameters may differ per instrument; each instrument must be tested and optimized separately If an instrument cannot be traded safely
المطلوب موشر لتداول الذهب مجرب وقوية يعطي اشاره قوية فقط مع وقف خساره ومختبر ومجرب في حال الموافقه علي لموشر بعد التجربه لمدة ٣ ايام يتم الشراء دايم مبلغ ٢٠٠ دولار
Masoudahg1 999999+ USD
Hello world, thank you for your helping and supporting for us from your for all everyone that investments or working in this programing and supporting seven/24 hours in daily and nightly for customers
Laily Mahmudy 100000+ USD
Thank you very much and of trying supporting and helping for us and my investfolio portfolio id is:"investfolio portfolio masoudahg1 id is":"7Zk0iVh7zuytHkQ9OJSzeY" &"35VmgKWofZxWowQ7O6CL8K" https://leylimahmudi46.atlassian.net is my Atlassian programing that when I working of this programs
Hi there I need someone who will create an ea then test it .. the ea should only place order on the bid price of it breakout in 1 point using invisible buy and invisible sell,, example if bid breakout in 1 point up automatically invisible buy active then invisible stop loss at where the ask price was same in sell If the bid breakout in 1 point down automatically invisible sell active then invisible stop loss where
I’m looking for an experienced MT5/MQL5 freelancer to help install and configure several existing EAs on IC Markets MT5 accounts using a Windows VPS. The work will include setting up the EAs on separate demo accounts and later running several together on one account with different risk settings. I also need help with MT5 backtesting and strategy optimisation, including comparing different risk levels and reviewing
I am looking for someone to build me a modular auto trader in Sierra chart and an Innie builder so that I can replicate my current Algas that I already have built. I've sent examples below can you please let me know how much you would charge me. I'm pretty good at building the signals myself but I do not know how to build the ocos order entry and I'm trying to get quotes and go with the person who seems they can help

Project information

Budget
10 - 50 USD
Deadline
from 1 to 5 day(s)