Can somebody make me piece of code.(ORDERS COUNT)

Experts

Trabalho concluído

Tempo de execução 4 dias

Termos de Referência

Hello,

so i am not gona be asking your knowladge for free. I have bunch of EA's coded by my self, and all of them ar missing one MM thing. In case of lack of time at the moment for learing, i need some coders help by adding orders counter.

Ok so i'll try to use my english as best as i can to explain what i need:

so basicaly what i am missing in my code is to count DONE(closed) orders. It might be simple but what i canot code is that i need start count orders from the perriod i want, for exmp. i started trading my new trading cycle now and i am done after 3 or 10 trades whatewer i need, and then i start again. Lets say that i need to rise my lot size every 3 or 5 trades (it could be as variable for my needs(also i want this to be added in extern doubles) doesnt matter what is the result of the trade i need to rise it after X times from the firs trade i am started. To make it even more understandable lets say like this:

extern double lot = 0.01;

extern double X = 5;

extern double balancestop = 100;


if(oderstotalhystory blablabla.... () == X && accountbalance() < balancestop)

lot = 0.08;

if(oderstotalhystory blablabla.... () == X && accountbalance() > balancestop)

lot = 0; (stops EA) until i change variables and start the cycle again. BUT !!! MOST IMPORTANT, the calculation of new hystory has to be NOT this day moth or week, but from the moment i start with lets say default lot size in this case 0.01 and first trade after previos cycle.

I realy hope you understand what i meen, if no please ASK what is not clear for you and i will explain, but only if you can do it for me, maybe its even not possible i dont know...If you understood me and know what i mean please contact me via my email with your price and all questions.or PM

I will not give me my EA's code i just need code piece with all the //explanation what does what if posiible. I believe serious coders will undersdand what i want instantly.

Thank you for your time.


10-25 euro in your moneybookers


Respondido

1
Desenvolvedor 1
Classificação
(187)
Projetos
367
56%
Arbitragem
45
22% / 56%
Expirado
188
51%
Livre
Publicou: 1 artigo, 6 códigos
2
Desenvolvedor 2
Classificação
(63)
Projetos
80
28%
Arbitragem
17
12% / 76%
Expirado
48
60%
Livre
Pedidos semelhantes
Stack aid bot 30+ USD
I want to create an EA that will help me stack trades. I'll set the price line and anytime the market goes at that price line it should execute the trade be it but or sell also the bot will have a timed finish and a timed start. That means I can set a time(during sessions, I'll specify more) when I want a trade to be executed instantly and also a time I want a trade to automatically close itself
I am looking for a reliable and well-developed Expert Advisor (EA) that demonstrates low drawdown and consistent profitability on a real trading account . If you have already built such an EA, I would be interested in evaluating it. I would require: Verified backtest results Forward testing performance (demo or real account preferred) Ideally, a live track record (Myfxbook / FXBlue or similar) I am serious about
🏆 HIRING: Quantitative Gold (XAU/USD) Trading Strategy Developer ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📌 PROJECT OVERVIEW ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ I am building a professional trading signal platform (xtraderlab.com) and need an experienced quant trader or algo developer to design, code, and backtest a high-performance intraday Gold (XAU/USD) trading strategy. The strategy will be integrated into an existing
Technical Specifications: "Dawn Range Breakout" Expert Advisor (Final Version) 1. Overview The purpose of this EA is to capture the breakout of a specific hourly range on Gold (XAUUSD) or any other pair, with a focus on high-precision entry, strict risk management (1 trade per day), and partial profit taking. 2. Core Trading Logic Timeframe: M15. Reference Hour: The EA must identify the High and Low of the H1 candle
I need an Expert Advisor based on SK indicator for gold trading. Entry: - Open trade immediately when SK signal appears Stop Loss: - Fixed stop loss = $200 per trade Take Profit: - TP1: close 50% of the position - TP2: final target Lot Size: - Fixed lot = 0.02 Pair: - XAUUSD only Timeframe: - M15 Rules: - Only one trade per signal - No duplicate trades - Move stop loss to breakeven after TP1 Requirements: - The EA
i am looking for an experienced MQL5 developer to build a high-frequency trading Expert Advisor (EA) for XAUUSD (Gold) on M1 and M5 timeframes. The EA must include advanced execution logic, dynamic pending orders, risk management, and news/session filters. Clean, efficient, and well-documented code is required. Strategy type: Scalping (fast trades, quick profit). Very fast execution logic (optimized for speed). Goal
Ea with MM Masaniello 50 - 200 USD
I would like to develop a bot that allows me to manually input trades based on the Masaniello money management system, which I will configure at the outset. Within this setup, I will be able to define all the key parameters of the Masaniello strategy, including the total number of events, expected winning events, stake ratio (i.e. the TP/SL ratio), and the initial capital. Once the Masaniello parameters are set, the
Manly 30 - 200 USD
ZigZag based on oscillators is needed The idea of ​​the indicator Create a ZigZag indicator, which is constructed based on extreme values determined using oscillators. It can use any classical normalized oscillator, which has overbought and oversold zones. The algorithm should first be executed with the WPR indicator, then similarly add the possibility to draw a zigzag using the following indicators: CCI Chaikin RSI
AI Trading Bot 30 - 80 USD
Essential Components for Indicator Specification Objective & Overview: Briefly describe what the indicator calculates (e.g., trend, momentum, volatility) and its main purpose. Input Parameters (Variables): List all user-definable inputs (e.g., Moving Average periods, ATR multiplier) to avoid hardcoding values. Detailed Logic/Calculation Rules: Explain the formula or logic to calculate indicator values. Define
Hi, I hope you’re doing great. I’d like to share the project details. The original EA is already working, but I need you to first review and verify that all existing features are functioning correctly. After confirming everything works properly, the next task is to add a simple user dashboard that shows the number of detected zones, buy/sell/none status, and includes an ON/OFF button. Also, please make sure that

Informações sobre o projeto

Orçamento
10 - 25 USD
Prazo
de 1 para 30 dias