Tarea técnica

MQL5 EA Requirement Structure for Multi-Chart Control with Auto-Pause, Detailed Monitoring, Google Sheet Authorization, and Auto Close on Resume

1. EA Name

  • Example: "CrossChart_Controller_EA"

2. EA Overview

  • Description: This EA includes a central dashboard on one chart that enables users to control EAs on multiple charts, with added authorization via Google Sheets. To use the EA, users must enter their user ID and broker server name for authentication, verified through the Google Sheet.

3. Google Sheet Authorization

  • Purpose: To control access to the EA by verifying user credentials against a Google Sheet.
  • Requirements:
    • Google Sheet Setup: A Google Sheet containing authorized user details (e.g., User ID, Broker Server Name).
    • External Access: Enable access to external websites in MetaTrader 5 to connect with Google Sheets.
  • Authorization Process:
    • User Input: User inputs their User ID and Broker Server Name upon setup.
    • Google Sheet Verification: The EA checks these credentials against the Google Sheet to confirm authorization.
    • Access Control: If credentials match, the EA enables functionality; otherwise, access is denied, and the EA displays a warning message.

4. Inter-Chart Communication Methods

  • Global Variables for Cross-Chart Control:
    • Use global variables to manage settings across multiple charts. For example, "EA_Pause_Chart1" can be set to pause the EA on Chart 1 when specific conditions are met.
  • Event-Based Communication (Optional):
    • Trigger real-time updates using custom events for immediate actions like pausing/resuming EAs on other charts.

5. Dashboard Control Features

  • Auto-Pause Functionality:

    1. Automatic Pause Based on Stop Value or Percentage:
      • Condition: Automatically pause the EA on a specific chart when it reaches a defined stop value or percentage of account equity.
      • Implementation: Track each chart’s profit/loss and compare it to user-defined stop conditions stored in global variables (e.g., "Stop_Value_Chart2" ).
    2. Manual Pause Button for Each Chart EA:
      • Functionality: Provide a manual pause button on the dashboard to pause or resume each chart’s EA.
      • Implementation: Dashboard sets a global variable (e.g., "EA_Pause_Chart2" ) that the target chart reads to pause/resume its trading logic.
  • Auto Close on Resume:

    • Description: Automatically closes all buy/sell orders for a specific pair when the EA is resumed after an auto-pause or manual pause, based on the pair’s total profit/loss meeting a defined target.
    • Settings:
      1. Target Profit/Loss Value per Pair: Set a specific profit/loss target for each pair to trigger the auto-close function.
      2. Enable/Disable Option: Option to enable/disable this feature for specific pairs.
    • Implementation: The EA checks the total profit/loss of each pair when resuming, and if it meets the specified target, all buy/sell orders for that pair are closed.
  • Real-Time Parameter Adjustments Across Charts:

    • Adjustable Parameters: Lot Size, TP, and SL for each chart or all charts.
    • Implementation: Dashboard updates global variables (e.g., "Lot_Size_Chart3" ) that each chart reads to apply updated settings.
  • Detailed Chart-Specific Information Display:

    1. Statistics per Chart:
      • Chart Identifier: A unique identifier or number for each chart for quick reference.
      • Current Trade Pair Symbol: Displays the symbol of the currently active trading pair on each chart.
      • Buy Lots: Total BUY lot size on each chart, specifically for the current trade pair.
      • Sell Lots: Total SELL lot size on each chart, specifically for the current trade pair.
      • Total Lot Size: Combined BUY and SELL lot sizes for the current trade pair on each chart.
      • Profit/Loss: Real-time profit or loss for the current trade pair on each chart.
      • EA Status: Indicates if the EA on each chart is active, paused (manually or automatically), or awaiting resumption.
    2. Manual Pause Button:
      • Each chart’s information section on the dashboard includes a Pause/Resume button, displayed next to its detailed statistics. This button allows the user to manually pause or resume the EA on each specific chart.

6. Execution and Error Handling

  • Global Variable Checks: Each chart instance periodically checks global variables for updated dashboard commands.
  • Google Sheet Access Error Handling: Display a warning message if authorization fails or external access encounters issues.
  • Error Logging: Log actions and errors to ensure smooth functionality across charts.

7. Settings Menu Configurations

  • Authorization Settings:
    • User ID and Broker Server Name fields to input user credentials.
  • Auto-Pause Settings:
    • Stop Value and Stop Percentage inputs for each chart to trigger auto-pause if conditions are met.
    • Manual pause button for each chart EA in the settings menu and on the dashboard.
  • Auto Close on Resume Settings:
    • Target profit/loss per pair for auto close.
    • Enable/Disable toggle for each pair.
  • Adjustable Lot Size, TP, SL, and Martingale Settings for each chart instance.

8. Dashboard Display Customization

  • Real-Time Updates: Dashboard refreshes to show updated metrics and EA status for each chart.
  • Detailed Metrics per Chart:
    • Chart Identifier, Current Trade Pair Symbol, Buy Lots, Sell Lots, Total Lot Size, Profit/Loss, and EA Status.
    • Manual Pause/Resume button next to each chart’s information.
  • Color Coding: Optional color coding for active/paused status, positive/negative profit, and other indicators.


Han respondido

1
Desarrollador 1
Evaluación
(61)
Proyectos
89
16%
Arbitraje
4
25% / 25%
Caducado
7
8%
Trabaja
2
Desarrollador 2
Evaluación
(163)
Proyectos
195
27%
Arbitraje
8
25% / 38%
Caducado
5
3%
Ocupado
3
Desarrollador 3
Evaluación
(6)
Proyectos
8
0%
Arbitraje
2
50% / 0%
Caducado
0
Trabaja
4
Desarrollador 4
Evaluación
(261)
Proyectos
428
38%
Arbitraje
87
44% / 18%
Caducado
71
17%
Ocupado
Solicitudes similares
I have a complex indicator which is made by another coder before , but if i open a chart and run the indicator, then after some times i open new chart the same as before and run indicator on new chart again, the the recent signals on new chart is diffrent from the chart which was opened before!!! if anyone can solve it message me
Hi there, I have a simple trading view strategy based on Regression line. Need to convert to a MQL5 expert. Chat GTP couldn't make it properly! it trades based on the regression line with Sl and TP
Can you optime startegy Would it be possible to get a offer for Backtest in Ninjatrader 8 ( NT8) For ninjatrader ym 5 minutes or rty or night eursd HG, gold .. whichever gives the best result
Can you optime startegy Would it be possible to get a offer for Backtest in Ninjatrader 8 ( NT8) for ninjatrader ym 5 minutes or rty or night eursd HG, gold .. whichever gives the best result My budget for this is 20$
Hi I have an expert advisor that follows the trend but places trade that does not follow the trend, it places trades waiting for correctional moves. For example, if the trend is bullish, the EA places trade for a sell instead of a buy. What I want is simple. 1. For the EA to place trades following the trend. Thanks
Hello everyone....i need an EA for automatic trading in a 15 min timeframe. It should First identify a trend: On a dynamic support and resistance level, there must be at least two higher lows and two higher highs for a positive trend, and conversely, at least two lower highs and two lower lows for a negative trend. If the trend is positive, at the end of the retracement, i.e., after two consecutive bullish candles
Этот код на Pine Script генерирует торговые сигналы (BUY и SELL) путем проверки пересечения цен открытия и закрытия на каждом интервале времени ( period ). Основная логика основана на «пересечении вверх» (crossover) и «пересечении вниз» (crossunder), чтобы открывать позиции, когда происходит пересечение в нужном направлении. Такой подход часто используется в техническом анализе для определения движения цены через
Hi Everyone, I am looking to hire a developer to create an Expert Advisor (EA) for MetaTrader 5, utilizing two custom indicators: HalfTrend and Squeeze Momentum . The EA should be designed based on specific trading conditions which I will detail below, and it should also include comprehensive optimization and backtesting. Project Details: Indicators to be Used: HalfTrend Indicator : Should generate buy/sell
I have a complex indicator which is made by another coder before , but if i open a chart and run the indicator, then after some times i open new chart the same as before and run indicator on new chart again, the the recent signals on new chart is diffrent from the chart which was opened before!!! if anyone can solve it message me
My trading over the years has become more and more mechanical. I would like to create some type of buy sell indicator based on time factors and reversal bars on 3 min and 6 min charts. I trade off 8 hour opens and fixed 15-45 min signal windows where the market typically shows a trigger. I will give you more details as needed please let me know if this make sense or sound feasible. Project: Time Based Reversals 1)

Información sobre el proyecto

Presupuesto
30 - 150 USD

Cliente

Encargos realizados2
Número de arbitrajes0