Specification
Hi, I need to add a module to existing EA to enalbe it to buy and sell baskest of stocks and indicies.
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)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 (synthetic 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.metatrader5.com/en/terminal/help/trading_advanced/custom_instruments%C2%A0
https://www.youtube.com/watch?v=HFrpXffd5s8
https://www.mql5.com/en/forum/451537
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)