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

작업 종료됨

실행 시간 9 시간
고객의 피드백
Dasha is professional programmer, she knew exactly what I wanted. I will contact her again. Thanks Dasha.

명시

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;
}


응답함

1
개발자 1
등급
(163)
프로젝트
236
32%
중재
30
27% / 30%
기한 초과
26
11%
무료
2
개발자 2
등급
(79)
프로젝트
111
37%
중재
0
기한 초과
4
4%
무료
3
개발자 3
등급
(115)
프로젝트
129
18%
중재
11
27% / 55%
기한 초과
4
3%
무료
4
개발자 4
등급
(57)
프로젝트
72
22%
중재
13
46% / 15%
기한 초과
5
7%
무료
5
개발자 5
등급
(163)
프로젝트
258
61%
중재
4
50% / 25%
기한 초과
10
4%
무료
6
개발자 6
등급
(45)
프로젝트
58
33%
중재
12
42% / 42%
기한 초과
7
12%
무료
7
개발자 7
등급
(390)
프로젝트
416
30%
중재
74
19% / 69%
기한 초과
52
13%
로드됨
8
개발자 8
등급
(304)
프로젝트
544
35%
중재
78
31% / 41%
기한 초과
196
36%
바쁜
9
개발자 9
등급
(24)
프로젝트
28
32%
중재
1
0% / 0%
기한 초과
0
무료
게재됨: 1 코드
10
개발자 10
등급
(169)
프로젝트
204
30%
중재
25
40% / 44%
기한 초과
12
6%
무료
비슷한 주문
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ų
We're looking for a highly professional MQL5 developer to create FX Apex, an advanced scalping EA optimized for small accounts ($50+), 1:30 leverage, IC Markets broker, and ready for demo/live trading. Key Features:_ Scalps XAU/USD & major pairs (M1-M15), option to add more Adaptive TP/SL based on volatility, trend, ATR, momentum Dynamic trailing, breakeven, partial close functionality Configurable risk per trade

프로젝트 정보

예산
30+ USD