Risk Management / Position Size EA

MQL4 Experts

Tâche terminée

Temps d'exécution 5 jours

Spécifications

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)

Répondu

1
Développeur 1
Évaluation
(180)
Projets
301
30%
Arbitrage
54
24% / 56%
En retard
98
33%
Gratuit
2
Développeur 2
Évaluation
(52)
Projets
133
44%
Arbitrage
14
50% / 29%
En retard
55
41%
Gratuit
3
Développeur 3
Évaluation
(137)
Projets
220
52%
Arbitrage
22
23% / 55%
En retard
64
29%
Gratuit
Publié : 3 codes
Commandes similaires
I need a simple MT5 Expert Advisor based on Bollinger Bands. Requirements: Platform: MetaTrader 5 / MQL5 Buy when price closes below the lower Bollinger Band Sell when price closes above the upper Bollinger Band Bollinger period configurable, default 20 Deviation configurable, default 2.0 Fixed lot size configurable Stop Loss configurable Take Profit configurable Maximum one open position per symbol Use completed
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
المطلوب موشر لتداول الذهب مجرب وقوية يعطي اشاره قوية فقط مع وقف خساره ومختبر ومجرب في حال الموافقه علي لموشر بعد التجربه لمدة ٣ ايام يتم الشراء دايم مبلغ ٢٠٠ دولار
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
i need price action and candle logic understand programmer need for this job... first understand logic and interested please message .... first understand logic and interested please message .... 2 types of hedge entry conditions: 1 is candle based 1- when i start point ea hh candle buy entry, after ll made 2- below the previous candle hedge sell order 3- if market goes again hh, if sell order profit book again

Informations sur le projet

Budget
10 - 50 USD
Délais
de 1 à 5 jour(s)