Basket EA buy sell baskets of stocks or indicies

Specification

Modyfication of an existing MT5 Expert Advisor which will buy/sell sets of stocks' CFDs in the Long / Short basket.

What I need:

- synthetic chart in MT5 of e.g. combination of 2 long stocks and 5 shorted stocks. I need to be able to easily create new charts of the mixes of stocks / indicies.

- matrix / panel of the chosen stocks' CFDs which tickers one will choose from the Symbol list (at particular broker symbol list)

- adding to the position or closing part of similar set of the stocks that are in the basket

- ATR used as a volatility measure for the basket of stocks (position sizing and for risk management)


Methodology of weighting stocks in the long and short baskets and formulas to generate synthetic index / symbol chart in MT5 to work on the chart:

https://chat.openai.com/share/19112a3f-26d8-40cf-9a89-fade45d3686f

I think that most of the tasks are solved in this ChatGPT discussion.


The whole purpose of this task is to create a panel where you pick up to 7 symbols for each side and from that the proportions are calculated and the custom symbol is created. Based on the new chart of this synthetic symbol (basket of stocks) I want to run normal backtests to optimize the strategies for my Algo.

Also from this symbol I want to trade by sending basket orders that would be 1:1 with the basket created in the long / short panel.

The idea is to open position on One custom symbol (syntthetic index)- then the EA would send a basket order to buy / sell multiple stocks.

As for the Backtesting mode it would be only one chart / symbol created in the Panel


By synthetic chart I mean something similar to this link:

https://www.mql5.com/en/market/product/41173?source=External#description


And by synthetic custom symbol I mean something like this:

https://www.youtube.com/watch?v=HFrpXffd5s8

https://www.youtube.com/watch?v=nBLxrRUm65w



By the basket of stocks or indicies I mean something like this:

Buy of 30 Nvidia and 100 Tesla stocks against Sell of 30 Amazon 45 Microsoft and 70 Meta stocks.

Another example

Buy of 30 Nvidia and 100 Tesla stocks against Short 0,5 lot Nasdaq (US100)

Files:

PNG
panel.png
217.1 Kb
PNG
panel_2.png
105.7 Kb

Responded

1
Developer 1
Rating
(43)
Projects
66
12%
Arbitration
12
58% / 42%
Overdue
1
2%
Free
2
Developer 2
Rating
(72)
Projects
80
10%
Arbitration
38
8% / 58%
Overdue
6
8%
Free
3
Developer 3
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
4
Developer 4
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
5
Developer 5
Rating
(44)
Projects
53
38%
Arbitration
8
13% / 38%
Overdue
8
15%
Free
6
Developer 6
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
7
Developer 7
Rating
(5)
Projects
6
0%
Arbitration
0
Overdue
1
17%
Free
8
Developer 8
Rating
(45)
Projects
91
13%
Arbitration
34
26% / 59%
Overdue
37
41%
Working
9
Developer 9
Rating
(49)
Projects
134
27%
Arbitration
62
13% / 53%
Overdue
58
43%
Free
Published: 361 articles, 1 code
Similar orders
I am looking for an experienced MQL5 developer to create a simple, well-organized Expert Advisor for MetaTrader 5. Requirements: - Provide complete and editable MQL5 source code. - Explain the EA's functionality and logic clearly. - Include configurable settings. - Include appropriate risk-control features. - Provide clear installation and testing instructions. - Ensure the code is clean and properly documented. I
PROJECT NAME: BALISA AI VERSION 1.0 I want to develop my own automated trading robot called Balisa AI for MetaTrader 5 (MT5). REQUIREMENTS: 1. The robot must support Forex and Gold (XAUUSD). 2. It must operate as an Expert Advisor (EA) on MT5. 3. It must automatically identify trading opportunities and execute buy and sell orders. 4. It must have Stop Loss and Take Profit. 5. It must include risk management to
I am looking for an experienced Forex Expert Advisor (EA) developer and algorithmic trading specialist to work on an existing EA built around a Currency Strength Meter strategy. The EA identifies strong and weak currencies and uses their relative strength to determine potential trading opportunities. The objective of this project is to professionally analyze, optimize, test, and improve the existing EA to achieve
I’m looking for someone who can develop and optimize high-quality strategies/setfiles for my existing, custom-built Martingale EA. I will be selecting a developer within the next few hours. I immediately reject applicants who don’t clearly explain their approach and what they plan to do. I want to know your strategy, your methodology, and exactly how you intend to tackle this. Please explain your plans in detail
🚀 THE AIRAK PHASE 3: SUBSCRIPTION, PAYMENT, LICENSING & AFFILIATE SYSTEM Project: THE AIRAK Trading Assistant Development Phase: Phase 3 Project Owner: Kayemba Joseph Platform: MetaTrader 5 (MT5) 1. PROJECT OBJECTIVE Phase 3 is intended to transform THE AIRAK into a subscription-based trading software business. The system should allow customers to register, purchase subscriptions, receive automatically activated
PROJECT: ADVANCED MT4/MT5 EA OPTIMIZATION – AUTOMATED TRADING, DYNAMIC PROFIT LOCKING, AUTO LOT & PROFESSIONAL RISK MANAGEMENT Hello Developer, I already have an existing Expert Advisor (EA) for MetaTrader 4/5. It is currently running, but I need an experienced MQL4/MQL5 developer to fix its problems and improve its trading performance, execution, risk management, and reliability. I want to preserve the original
I want an advanced automated Expert Advisor (EA) trading robot developed for MetaTrader 5 (MT5), compatible with Exness trading accounts. The robot should have the following features: 1. AUTOMATED TRADING - Automatically execute BUY and SELL trades. - Identify strong trading opportunities. - Analyse market trends before entering trades. - Operate without requiring manual trade execution. 2. ADVANCED MARKET ANALYSIS -
Can you do a 5 year back test on /6e (fx euro). using 30 minute chart. Buy to open if macd histogram is above 0 line, or sell to open if macd histogram is below 0 line at 7:30 pm eastern standard time. Close position at 7:30 am next morning. Trade stays open for the entire 12 hour time. thanks, regarding backtest, forgot to mention $300 stop loss, and $500 take profit. Thank you
Hi! I have a general strategy concept, but I would like you to help develop and define the exact trading rules. The planned strategy is: * Instrument: MNQ futures * Platform: NinjaTrader 8 * M30 timeframe for identifying the main trend * M5 timeframe for trade entries * RSI and MACD indicators * Support and resistance levels * Fully automated entries and exits * Automatic Stop Loss, Take Profit and Trailing Stop *
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

Project information

Budget
200+ USD