Central dialog, and framework for multiple child EAs and asynchronous webrequest to get positions. First step of a larger project.

MQL5 Indicators Experts

Specification


This is the first job in a bigger project, firstly I need to put a framework together that can trade multiple tickers at the same time: (FXpairs) with a central dialog to control it. 

I will want to be able to have multiple versions of this running with different risk ratios, so each dialog would control a number of EAs running. There is also a central store of direction positions 

which are taken from an external server using webrequest




Control Dialog

Need a dialog to enter and control:


  • Strategy name : textbox (e.g strategy ABC, low risk)


  • A grid containing: List of tickers to trade ,for each row:

  1. tickername
  2. a checkbox to trade or not
  3. sizing per ticker: an integer
  4. Risk per ticker: an integer (number of pips)
  5. Target per tick : number of pips
  6. signal threshold: a floating point number
  7. Dropdown to choose trading threshold logic: (majority, all)


  • Checkbox to move stops (yes, not)
  • Checkbox to switch immediately (yes, not)
  • Global Stop/Start



Background Task

Have a background task to connect to a website in an asycnhronoius manner using similar process to this

https://www.mql5.com/en/articles/5337

To  receive strategy JSON positions for each ticker.  


Each ticker will have multiple strategy positions, example:


EUR :  [“EUR_strategy1”, “EUR_strategy2], 


And call the server with these names


https://{url.....}?strategy=EUR_inverse_5D


Each request will return JSON data that looks like this: 



{

  

  "datetime": "2020-06-05",

  "long_short": -1.0,

  "ticker": "ARS=",

  "contract_size": 1.0,

  "size": 1.0,

  "price": 68.753,

  "target": 66.00288,

  "stop": 69.44053,

  "target_pct": 0.04000000000000001,

  "stop_pct": 0.010000000000000002,

  "barrier_type": "actual",

  "conviction": 0.538047

}


It will query every 5 minutes for updated positions and store them centrally.



Trading Logic

Initial logic to decide how to trade the positions,


Two types of trading logic:


Threshold Logic

a) If dropdown for ticker is Majority:


Total_ticker_conviction = 0

For each signal for the ticker:

Total_ticker_conviction +=  float(conviction)*float(sign)


Total_ticker_conviction /= number of signals for ticker

Total_ticker_conviction = abs(Total_ticker_conviction)


If Total_ticker_conviction > threashold for this ticker. Make trade


b) If all signals for a ticker are the same (long_short is the same) then take the trade


If conviction > threshold then trade the direction



Target and Stops Logic


If not in a trade then take the trade. :

  Set stop as RISK PIPs away (use data from the dialog). 

  Size is (from the dialog)

  Internally remember the target per ticker.


Else If in position :

  If new position is the same as current position:

    if move stops is true :

      move the stop and set the target to the new target

      Set stop as RISK PIPs away (from the dialog). 

      Internally remember the target per ticker. Current price +-(target pips from dialog)

      Size is from the dialog



  If new position is opposite:

    If switch immediately is true:

      Exit the previous position and enter new position






PnL charts

Need a live PnL per ticker

Need a Combined PnL chart




Responded

1
Developer 1
Rating
(3)
Projects
4
50%
Arbitration
1
100% / 0%
Overdue
2
50%
Free
2
Developer 2
Rating
(188)
Projects
212
58%
Arbitration
9
11% / 89%
Overdue
8
4%
Free
Similar orders
I have an equity reporter. This equity reporter displays the maximum and minimum equity reached over a specific interval. So, if the interval is set to 24 hours, the script will generate data in the format: "Profit ATT" (profit AtThatTime) shows max./min. during the specific interval This specific report shows data in pips. It can also be set to display in price or percentages. The interval is also easily adjustable
I want you to make me an indicator in Training View. Its idea is very simple, and I want it to have an alarm. Here's a clearer step-by-step guide to checking the last 50 candles on your chart and applying Fibonacci retracement levels based on their colors: Identify Candle Color: Start from the 100th candle from the left on the chart and check its color. If the 100th candle is green (i.e., the close is higher than the
Hello, is it possible to be made accommodation of provided signal for Forex for mt4? I bought a signal for multiple pairs. it is executing all pair.I want to use it on couple of pairs.Is it possible to be made some modifications?I do not have codes for the signal
I have an MT4 indicator, I want to receive an alert on WhatsApp when the indicator gives a buy or sell signal, I already have an API that will send the message, just send the json with the content, I will pass the API link when I have the proposal: { "symbol": "xauusd", "cellphonenumber": "00000000", "message": "test" }
KILL MODE 30 - 60 USD
i Need an expert advisor that trade by signal moving average indictors.it must check and correct the process of possible errors in trading operations. The main criteria of opening and closing positions direction of average moving,price of last bar and set the number of lots to trade as an input parameter
Creating a chart composed of different assets, weighted by their trading lot size & quantity. Using this chart to trade the assets in those lot sizes &quantity (by hand or with an EA ) In other words: composing a private index or pair, plotting that as a chart and have the ability to trade it directly with an EA and/or one order click. Inspired by Basket Chart Creator
Hello, I am highly in need of a professional and expert developer who is capable to convert my tradingview indicator to MT5, if you can perfectly do this project kindly meet me at the comment section to proceed
You must have knowledge of forex tester. Don't bother unless you do The indicator to convert from trading view to FOREX TESTER 5 -- wave trend 3d by JDEHORTY Please note this is a multi time frame indicator. Im not interested in any other wave trend indicator. It has to be a conversion of this indicator. Forex tester conversion https://www.youtube.com/watch?v=S64LjZVr9jE code python
Craet and indicator which has 15 price source and set a T/F tick for each price source then make Bollinger bands and Rsi with BollingerBands just for true sorces and plot buy and sell signals on main chart based on some conditions and strategy.... i explained every thing clear in the zip file ... theres no need to display those indicators i just need to see their value for testing how indicator works inside chart
I have one expert advisor. I optimized it and generated 3 optimized set files. As each EA can run only single set file, I need my EA to run with the parametrization from 3 set files at the same time because trade conditions those are defined by the set files are not same

Project information

Budget
100+ USD
For the developer
90 USD
Deadline
from 1 to 10 day(s)