I need 2 EAs that runs on 2 MT4s that coordinates with each other to open and close trades. Both MT4s will run on the same VPS or computer.
Let's name the 2 EAs "EA1" and "EA2".
-EA1 runs on one MT4 terminal, let's call it "Term1"
-EA2 runs on a second MT4 terminal on the same VPS or computer, let's call it "Term2"
-EA1 has user defined settings on symbol, direction (buy or sell), lot size, x pips profit, x pips loss, max spread (in 5th digit, so 0.0000x, ie, a value of "6" is spread of 0.6 pips), min duration (in seconds), and max trades
-EA2 has no user settings or buttons, but receives the above settings values from EA1
-EA1 displays a "start" button and a "stop" button on the chart it runs on
-EA1 and EA2 also displays "connected" in their respective terminals when connected to each other, showing that they are operational
-When the user presses "start" button on EA1, a trade is opened ONLY in Term1 with symbol, direction and lot size defined by the user in the settings
-once the trade is opened, EA1 will not do anything for the min duration as defined in the user settings
-once the min duration has elapsed, AND the trade goes in x pips profit or x pips loss as defined in the settings, AND the spread on the defined symbol is equal to or less than the max spread as defined by the settings, EA1 closes the trade and sends a signal to EA2 to open the same trade
-EA2 immediately opens the same trade in Term2 with the same direction and lot size
-once the min duration has elapsed, AND the trade in Term2 goes in x pips profit or x pips loss as defined in the settings, AND the spread is less than the max spread as defined by the settings in EA1, EA2 closes the trade and sends a signal to EA1 to open the same trade
-EA1 immediately opens the same trade in Term1 with the same direction and lot size
-this continues until the total number of closed trades (Term1+Term2) reaches the user defined setting, or until the user presses the "stop" button on EA1, in which case the one trade that is open will close, whether it be on Term1 or Term2
-you can make EA1 and EA2 check the conditions for the trades every 1-2 seconds or more frequently, it doesn't really matter as long as it doesn't use too much CPU
Example1:
-EA1 running on Term1, EA2 running on Term2
-EA1 user settings: symbol = EURUSD, direction = sell, lot size = 1, pips profit = 4, pips loss = 4, max spread = 6, min duration = 200 seconds, max trades = 20
-User presses "start" on Term1, EA1 opens a EURUSD sell order with lot size 1.00
-100 seconds after the order was open, the order goes into profit 4 pips, EA1 IGNORES this, as it hasn't been 200 seconds since the order was opened
-200 seconds after the order was opened, the order goes back to only 2 pips profit, EA1 doesn't close the trade as it needs to be in 4 pips profit or loss to close trade
-300 seconds after the order was opened, the order goes to 4 pips loss, but the spread is 8 (or 0.8 pips). EA1 doesn't close the trade as the spread is too high.
-400 seconds after the order was opened, the order goes to 5 pips loss, the spread drops to 6. Now, as all conditions are satisfied, EA1 closes the trade and sends a signal to EA2 to open the same trade.
-EA2 immediately opens the same trade on Term2 (EURUSD sell order with lot size 1.00), and as before, will wait for all conditions to be satisfied to close the trade and send signal to EA1 to open the same trade
-thus, there is only 1 order opened at any time, and EA1 and EA2 essentially pass the order back and forth until the max number of closed trades is reached as defined in the user settings (in this case it is 20, or 10 for both Term1 and Term2) or until the user presses the "stop" button
Solicitudes similares
I need a fully automated custom Expert Advisor for MetaTrader 5 (MQL5). The EA is intended for use on a The5ers $100,000 2-Step prop-firm account. IMPORTANT DELIVERY REQUIREMENT: I must receive the complete editable .mq5 source code as well as the compiled .ex5 file. Compiled-only delivery is NOT acceptable. The EA must be coded specifically for this project and must not copy trades, use external trading signals or
I've got a Pine Script from Trading View. I need help from a programmer who can help with optimising the strategy by 1) Adding a couple of further rules 2) Redesign the trading alert arrows & colours I need, please, a programmer who is 1) Good at Pine language 2) Has excellent after-job support (not for free though) 3) Possess the ability to work with others. 4) Able to deliver the job at the shortest possible time
I need an experienced TradingView Pine Script developer to build and test a custom intraday strategy for NQ/MNQ . I am not looking for a conversion . I need the strategy researched, developed, tested, and optimized based on my requirements. Requirements: NQ/MNQ intraday trading 5–15 minute charts New York session only Flat before market close Base logic using Zero Lag Signals , with additional filters if justified
Le robot devra : Respecter strictement les règles de risque des comptes FTMO : perte journalière maximale, perte maximale totale, taille des positions, etc. Intégrer un système de gestion du risque automatique. Être capable de gérer différents types de comptes et tailles de capital. Être basé sur ma stratégie et mes règles de trading que je fournirai au développeur. Être entièrement automatisé pour l’exécution des
I am looking for an experienced MQL5 developer to build a professional MT5 Expert Advisor specifically for XAUUSD (Gold) and other indices. I saw that XAUUSD is one of your primary areas of specialization, so I would like to discuss a custom EA with you. My priority is NOT extremely high returns. I want a robust EA designed for controlled risk and long-term survival. Requirements: • MT5 / MQL5 • XAUUSD, usoil,btc and
So, im a beginner and I'm pleading you to built me a bot that runs 24hrs and that can buy and sell at the same time, choose a better and profitable strategy. I will do anything thing it takes to get the bot. I hope you take my request into consideration
Je cherche un développeur MQL4 / MQL5 expérimenté pour créer un robot de trading automatique (Expert Advisor) performant et sécurisé. Validation de comptes Prop Firm capable de trader sur le forex et les matière première
I want you to create a strategy that fits for my funded account conditions like winrate of 60%+ with good risk reward ratio min 1:2 and max drawdown per day is 2% or 3% and overall should be less then 10% with less consecutive losses should be able to finish the funded stage in of phase 1 8% target and phase 2 of 10% target in a month with good number of trades in a month need journal of all the back tested data and
I need a simple Expert Advisor for MT5 that trades based on RSI overbought/oversold levels. - Entry: Buy when RSI(14) < 30, Sell when RSI(14) > 70 - Exit: Take Profit and Stop Loss as adjustable input parameters (default 50/25 pips) - Position sizing: Risk 1% of account balance per trade, auto-calculated from stop-loss distance - Timeframe and currency pair: adjustable inputs, not hardcoded - Should include basic
1. Trading Instruments: - The robot should trade exclusively on the following currency pairs: - NZD/CHF - NZD/USD - GBP/USD 2. Trading Style: - The robot should implement a day trading strategy, focusing on short-term trades. 3. Risk Management: - Maximum drawdown percentage: 10%. - Stop loss settings: Adjustable based on volatility (suggested default: 30 pips). - Take profit settings: Adjustable