EA to limit what trades can be executed

MQL5 전문가

작업 종료됨

실행 시간 2 일
고객의 피드백
Great developer, asked lots of questions until it was clear what needed to be done, completed job within budget and ahead of schedule.
피고용인의 피드백
Good and calm customer, knows exactly what he wants and available to clarify details

명시

Hello,

This EA will be sort of a gatekeep or a type of guardrail for an account that sends signals to others accounts.

It will (1) limit the direction that trades are allowed to be opened and (2) limit the total number of lots (market and pending) that are allowed to be opened.


More detail:

  • A text and and accompanying dropdown for each of the 7 major USD pairs (EURUSD, GBPUSD, AUDUSD, NZDUSD, USDCAD, USDJPY, USDCHF)
    • The dropdown will have 4 choices: buy, sell, both and neither.  These will allow trades in that direction
      • If buy is selected for a pair (USDCAD for example), then sell orders will be closed by the EA if opened.  
      • If Sell is selected, then buy orders will be closed by the EA if opened.  
      • If Both are selected then the EA won't do anything.  
      • If Neither is selected then any orders on that pair will be closed by the EA.

  • Limits the total number of lots that are in OPEN orders at a given time.  
    • This needs to be in increments of .01 and I don't think there needs to be an upper limit.  
    • If the limit is .05 and there are .04 lots open and an order of .02 is added, then that .02 order should be closed
      • however, if the market order is changed from .02 to .01 then it is not closed by the EA.  
    • If the limit is .05 and there are .05 lots running and the amount of lots for open orders is reduced to .04, then .01 lots will be closed.  It should close the most recent trades that have been opened to satisfy this until complete

  • Limits the total number of lots that are in PENDING orders at a given time .  
    • This needs to be in increments of .01 and I don't think there needs to be an upper limit.  
    • If the limit is .05 and there are .04 lots pending and an order of .02 is added, then that .02 order should be closed.
      • however, if the pending order is changed from .02 to .01 then it is not closed by the EA.
    • If the limit is .05 and there are .05 lots running and the amount of lots for pending orders is reduced to .04, then .01 lots will be closed.  It should close the most recent trades that have been opened to satisfy this until complete

I don't need errors or popups but I would also need logging done to the MT4 journal section or something like that if possible.  This way I can find out if an order was closed due to not allowing enough open lots and other things like that.


I've done a mockup graphic of what the interface would look like along with some logic that might explain what I think it might look like.


Once it's completed I'd like to perform some tests to ensure that it works satisfactory.

파일:

PNG
mql5.png
86.4 Kb

응답함

1
개발자 1
등급
(148)
프로젝트
176
24%
중재
7
29% / 43%
기한 초과
4
2%
바쁜
2
개발자 2
등급
(5)
프로젝트
1
100%
중재
4
0% / 75%
기한 초과
0
작업중
3
개발자 3
등급
(47)
프로젝트
78
50%
중재
1
0% / 0%
기한 초과
1
1%
작업중
비슷한 주문
i need an ea triggered as soon as parabolic sar indicator changes its signal to buy or sell and open same size orders with an option to add additional 0.01 or a diferent value to the initial lot on every next order no matter if it is buy or sell i need it to open orders in a (value) pips or price distance. using only a tp no stop loss. and close all orders on tp in money also i need a trailing stop in case price
The goal is that if SL changes, TP1 and only TP1 changes by the same distance as SL. If there's also TP2, TP3 or TP4, then those levels aren't modified
I am looking for MQL5 coding expert to create a trading bot of my strategy. I am an HFT and looking to automate my gold trading strategy. The strategy is very simple and uses only one indicator that is RSI and also look for chart patterns. I want to keep it generic by not doing any hardcoding of position size, lot size, etc. and code should be easy to understand and manipulate in future
Good programme Skill needed, ability to built high frequency trading (hft) expert advisor that works on MT4 and MT5 no Grid, no Matin. just Short term trade that last 1sec - 5mins for profit take, that can be used to trade on demo and live accounts RAW ECN icmarket, Blackbullmarket, Fusion market, FPMarkets and 8cap. The EA has to be highly profitable, giving daily profit. If a test version is available, please send
EA's logic and trade 100 - 1200 USD
Good day, I hope this message finds you well. I would like to request the development of an Expert Advisor (EA) for MetaTrader, based on two specific indicators: the Trend Path indicator and the Diamond Reversal indicator. Below are the details for the EA's logic and trade execution criteria: Sell Trade Criteria: Indicators and Signals: Trend Path Indicator : Shows a red trend. Diamond Reversal Indicator : Provides a
Pls the bot take trade from any arrow indicator on the chart with buffer value buy or sell to place trade . The bot have 5 indicator filter to filter trade like rsi , sma , awesome oscillator, parabolic sar and ichimoku before the bot place trade. pls for detail about the bot and filter pls check the screenshot file
Can anyone build a MT4 or MT5 EA based off an indicator from Trading View. If so, please check Simple EMA Trend Filter (GTA Trend Filter EMA) Alternatively, if you can Automate this indicator via any connector like Pine Connector, that will work too. Please let me know. Thank you Sam
Good day I would like a new EA that removes other EA's when a certain drawdown is reached (e.g., 20%) The new EA must also create a perfect hedge after removing the other EA's. E.g., If there are xauusd sell trades with lot sum 10 and a drawdown of 20%, the new EA must stop and remove the other EA's then open lot sum 10 buy trades of the same pair. Or if lot sum 0.12 sell trades and lot sum 0.02 buy trades are open
our exciting software developer isnt responding to the bugs he made in the mt5 ea now we need somebody for the long run that can fix the bugs and also add additional fuction in the future feel free to contact me
I want a simple EA that is based on 2 envelopes(indicator). * The EA should open trades only when price is at the envelopes. * The EA should allow me to select my sl and my tp in points. * The EA should allow me to choose between buying and selling only(For each chart it's on) * The EA should also allow me to choose a manual lot size. Source code is required for further optimazition

프로젝트 정보

예산
30 - 50 USD
개발자에게
27 - 45 USD