Open trade based on JSON webserver response

MQL5 Experts

Tâche terminée

Temps d'exécution 7 jours
Commentaires du client
I'm pleased with the results and everything works as expected. The script source code looks clean and professional. Will work again with H.N.

Spécifications

I need an EA that can be attached to multiple charts (EURUSD, GBPUSD, XAUUSD, etc..) at the same time and do the following:

  • can run on Strategy Tester

  • use on chart buttons/inputs ( similar design to: https://www.mql5.com/en/market/product/11738 )

    1. On/Off (iONOFF) – enable/disable the EA
    2. Sell (iSELL), Buy(iBUY) – by clicking Sell or Buy buttons, you can enable (green) or disable (red) opening a new order (position) for SELL and/or BUY
    3. iKLOT – lot ratio; when opening a new order the lot size will be calculated by minlot = balance/iKLOT; for example if balance is 1000 and iKLOT is 20000 the opening position will be 0.05 lot; allowed values: [1 - 10000000]
    4. SLpips - when opening a new order use this number of pips to configure StopLoss;  0 = disable configure SL; allowed values: [0 - 10000]
    5. TPpips - when opening a new order use this number of pips to configure TakeProfit; 0 = disable configure TP; allowed values: [0 - 10000]
    6. BreakNo - numeric - don't open new orders if we get [BreakNo] losses (orders that were closed by SL) in the last [BreakTime] minutes; allowed values: [0 - 10000]
    7. BreakTime - minutes for BreakNo; allowed values: [0 - 1000]
    8. SEC - numeric; allowed values: [0.1 - 100]
    9. PROB - numeric; is used to decide if the EA will open a new order or not; allowed values: [0 - 100]

  • inputs that are not visible on chart:
    all inputs on chart + the following 2:
    URL - this will be the URL the EA uses to get actions
    TOKEN - for security purposes

  • don't open new positions on that chart if one is already opened

  • open URL: eg: http://localhost/getdecision.php?token=AAAAA11111&symbol=EURUSD&datetime=2017-05-01|23:59:59&ask=1.12075&bid=1.12085
    every X seconds where X can be configured differently on each chart. X can be configured using on chart input (SEC)

  • the EA will open buy/sell orders based on URL response (JSON)
  • the URL will respond with a JSON array with the following variables:
    eg: { "action": "buy", "prob": 50, "status":"General message displayed on chart" }

    • action: buy / sell / wait - this tells us the direction for opening a new order; wait means we don't open a new order
    • prob: 1-100 - if the JSON prob value >= PROB value in the chart configuration then we can open a new order; if JSON prob value < PROB we don't one a new order
    • status - this is a text message we show on the

  • based on JSON the EA will:
    if action=buy/sell AND prob(json variable) > PROB(EA input) then: open position (minlot = balance/iKLOT), configure SL and TP
    if action=wait then: don't do anything

Répondu

1
Développeur 1
Évaluation
(1235)
Projets
2820
80%
Arbitrage
156
22% / 43%
En retard
487
17%
Gratuit
2
Développeur 2
Évaluation
(117)
Projets
138
41%
Arbitrage
30
7% / 77%
En retard
17
12%
Gratuit
3
Développeur 3
Évaluation
(219)
Projets
370
42%
Arbitrage
145
17% / 41%
En retard
124
34%
Gratuit
Publié : 38 codes
4
Développeur 4
Évaluation
(39)
Projets
52
19%
Arbitrage
15
27% / 67%
En retard
8
15%
Gratuit
Publié : 1 code
5
Développeur 5
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
Commandes similaires
Stanley 30 - 200 USD
I strictly need a trading robot to trade in stocks and forex. I am a beginner and woul like to trade in simple stocks and forex with the aim of growing my trade capital in the trade platform
Gold liquidity expert 40 - 60 USD
#property strict #property version "1.00" #property description "XAUUSD Liquidity Sweep + Fibonacci Extension EA" #include <Trade/Trade.mqh> CTrade trade; //==================== INPUT SETTINGS ==================== input group "01. Strategy" input ENUM_TIMEFRAMES SignalTimeframe = PERIOD_CURRENT; input double SL_Buffer_Points = 20; input ulong MagicNumber = 20261122; input group "02. Fibonacci Extension" input double
أحتاج إلى مطور MQL5 ذو خبرة لإنشاء مستشار خبير آلي بالكامل ل MetaTrader 5. المتطلبات: - رمز التداول: XAUUSD (ذهبي) - الإطار الزمني: M5 - حجم القطعة الثابت: 0.01 - صفقات شراء وبيع تلقائية - وقف الخسارة وجني الأرباح - حماية يومية قصوى من الخسارة - حد أقصى لصفقة مفتوحة واحدة في كل مرة - إدارة المخاطر ومرشح الانتشار - لا توجد استراتيجية خطيرة للمارتينجيل أو الشبكة - الاختبار الرجعي والتحسين - كود مصدر MQ5 الكامل وملف EX5
1. Platform & Scope Platform: MetaTrader 5 (MQL5) Expert Advisor. Target market / symbols: [Specify symbols, e.g., EURUSD, XAUUSD, or all chart symbols]. Timeframe: [Specify timeframe, e.g., M15, H1, or input parameter for timeframe]. Trading mode: [Specify: Hedging or Netting], with configurable MagicNumber. 2. Entry & Exit Logic Entry conditions: [List exact buy and sell entry rules, e.g., EMA crossover + RSI
This utility manages the stop loss of positions that are already open, whether you opened them by hand or with another Expert Advisor. It never opens or closes trades by itself: it only moves the stop loss, and only in your favour. What it does Break-even: when a position reaches the profit you choose (in points), the stop moves to the entry price plus a small locked profit. Trailing stop: after a second profit
Robert for life money's cash maximum 16mb the jobs future linuox Trading robots are programs, which operate according to underlying algorithms. An algorithm is a set of actions that need to be performed in response to certain events. For example, the most common task in algo trading is the identification of the "New bar" event . When the event occurs, the robot checks the emergence of trading signals and acts
Hi there I need someone who knows how to create smart ea,s but this must fool the broker spread meaning ,, it must make an spread that it had been paid but ,it had not placef an order buy if it place an order it will Start at 00 meaning it has foil the broker spread message Me if you can or any plan you have
I would like to commission the development of a custom Expert Advisor (Trading Robot) for MetaTrader 5 (MT5) that replicates the exact logic of the "Custom Range Bar" study from Sierra Chart, renders the range bar levels as an independent background layer on the chart, displays a live/historical performance statistics dashboard, and executes/manages trades automatically based on the rules below. 1. Range Bar
MultiScalping 30+ USD
Je souhaite un robot avec une dizaine d'indicateurs sélectionnables en entrée et aussi en SL puis suiveurs. L'objectif de se robot est de me permettre de tester plusieurs backtest avec un ou plusieurs paramètres en M1. TOUS LES indicateurs sont sélectionnables avec: - oui/non - SL et Stop Suiveur - Croisement avec le prix - croisement de l'oscillateur à 0 - utilisation de l'une autre période (type M5 , ....) - retour
Trading system 45+ USD
Hello, I’m looking for a developer with experience in machine learning and automated trading systems. If so, could you please share some examples of your previous work or projects you have completed? I would like to review your experience and capabilities before proceeding. Thank you

Informations sur le projet

Budget
20 - 200 USD
Délais
de 1 à 10 jour(s)