Function for calculating static TP price for all opened orders by entering money

Trabalho concluído

Tempo de execução 9 horas
Comentário do cliente
Dasha is professional programmer, she knew exactly what I wanted. I will contact her again. Thanks Dasha.

Termos de Referência

Hi all,

I need somebody to help me with writing a function for MT4 which will calculate static TakeProfit price for all opened orders by entering money in account currency.

I need this function for my grid system EA

For example:

My EA opened 3 market orders in same direction (EURUSD symbol)

1. order - buy with 0,02 lots, opened at 1.17196

2. order - buy with 0,04 lots, opened at 1.16946

3. order - buy with 0,08 lots, opened at 1.16696

my TP money is 10$, I need to calculate TakeProfit price when profit from all 3 orders together will reach 10$

function input parameter will be money, for example: 10 (USD)

function return result will be TP price, for example above: 1.17112

function need to iterate over all opened orders and calculate static TP price.

function will be used for opened buy or sell orders in same direction.

I want to use this function in all of my future EAs, so I need all rights for it.

double calcTPAll(double money)
{
  return TPprice;
}


Respondido

1
Desenvolvedor 1
Classificação
(163)
Projetos
236
32%
Arbitragem
30
27% / 30%
Expirado
26
11%
Livre
2
Desenvolvedor 2
Classificação
(79)
Projetos
111
37%
Arbitragem
0
Expirado
4
4%
Livre
3
Desenvolvedor 3
Classificação
(115)
Projetos
129
18%
Arbitragem
11
27% / 55%
Expirado
4
3%
Livre
4
Desenvolvedor 4
Classificação
(57)
Projetos
72
22%
Arbitragem
13
46% / 15%
Expirado
5
7%
Livre
5
Desenvolvedor 5
Classificação
(163)
Projetos
258
61%
Arbitragem
4
50% / 25%
Expirado
10
4%
Livre
6
Desenvolvedor 6
Classificação
(45)
Projetos
58
33%
Arbitragem
12
42% / 42%
Expirado
7
12%
Livre
7
Desenvolvedor 7
Classificação
(390)
Projetos
416
30%
Arbitragem
74
19% / 69%
Expirado
52
13%
Carregado
8
Desenvolvedor 8
Classificação
(304)
Projetos
544
35%
Arbitragem
78
31% / 41%
Expirado
196
36%
Ocupado
9
Desenvolvedor 9
Classificação
(24)
Projetos
28
32%
Arbitragem
1
0% / 0%
Expirado
0
Livre
Publicou: 1 código
10
Desenvolvedor 10
Classificação
(169)
Projetos
204
30%
Arbitragem
25
40% / 44%
Expirado
12
6%
Livre
Pedidos semelhantes
Hi, I’m searching for a developer who already has a high‑performance Gold EA that can beat the results shown in my screenshot. If you have such an EA, please reply with: - A brief description of how it works (grid, scalping, SMC, etc.) - Backtest results and the set files you used - Whether you’re willing to make minor tweaks so I can use it as my own If the performance looks good, we can discuss adjustments and next
Multi-Asset AI Trading Bot Details Proposals I want a single, cohesive AI bot that can log in to MetaTrader, Coinbase, Robinhood, and TradingView, scan live market data, and execute trades automatically in stocks, forex, and crypto. The core logic must support day-trading, swing-trading, and scalping modes that I can toggle on a schedule or by simple configuration. The workflow I picture is: • Real-time data
I need someone that is able to develop for me a MT5 EA that perform VERY WELL on XAUUSD. Every strategy is accepted. By applying, please send me screenshot of results since 2018
Hello developers, I'm looking for existing, proven EAs (MQL5) that work flawlessly on MT5. Requirements: Demo version available for testing Backtest results + screenshots Verified trade history from 2018-2025 Budget is negotiable If you've got an EA that fits, hit me up
cần người tạo EA y thay đổi hình ảnh gửi đầy đủ tính năng như hình giá cả có thể tăng thêm khối lượng mong muốn viết giống hình không khác ROBOT HƠI NHIỀU TÍNH NĂNG MỌI NGƯỜI CÓ THỂ ĐƯA GIÁ THAM KHẢO
Need a HFT scalping EA 30 - 100 USD
Require the development of a high-speed HFT, fully automated trading Expert Advisor (EA) for MetaTrader 5 , optimized for live trading on both Deriv and Exness . The EA must be designed for fast execution, low latency, and reliability on real-money accounts , with full compatibility across broker-specific contract specifications, tick sizes, tick values, pricing formats, and volume rules. It should automatically
1. Background & MQL5 Journey: ¿Cuéntame un poco sobre tu background en trading algorítmico y qué te emociona de crear EAs de alto rendimiento? 2. Experience: ¿Cuáles son 2-3 EAs destacados que has creado (mercados, Sharpe, PF, señales/backtests)? 3. Institutional Results: ¿Puedes lograr Sharpe ≥3.0, PF >2.5, <10% DD en XAUUSD? ¿Qué te da confianza? 4. Demo EA: ¿Tienes una señal de EA top (MQL5/Myfxbook) con 100+
Here's the TradeStation ELD files that i want to convert to tradingview pine script (unprotected so you can see codes for indicators and systems/strategies) - let me know what you think it would cost? thanks i will be looking for great developer that will bid it for it and get started
Project Overview I am looking for an experienced MT5 (MQL5) developer to modify an existing Account Protection EA and, if required, extend it with custom logic. This is NOT a strategy or trading EA . The EA is purely for risk management, drawdown protection, alerts, and trading lock , suitable for prop-firm and managed accounts . Core Requirements 1. Alerts & Monitoring Alert on trade entry and trade exit Alert when
Aš ieškau patyrusio Pine Script v5 kūrėjas, kuris gali projektuoti (pirmiausia architektūra) švarią, modulinę sistemą, skirtą tendencijų tęsimo sistema "TradingView". Tai NE: - MetaTrader (MT4 / MT5) projektas - Ekspertų patarėjas (EA) - baigta prekybos strategija - indikatorius su SL / TP - optimizavimo arba atgalinio testavimo darbai Tai yra: - Pine Script v5 sistema (tik signalai) - EMA pagrįstas tendencijų

Informações sobre o projeto

Orçamento
30+ USD