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
Looking to acquire a good MT5 based EA that works on Gold, forex pairs or BTC. Must be suitable for current market conditions and profitable in backtests. Suitable on 1 Min timeframe to be used on, Must be actively opening many positions throughout the day. Share me the details if this matches something you have or developed. Looking to get this finalised within the weekend
Strategy:Identify Supply and demand zones and generate buy and sell signals based on the price action within these zones. Confirmation:Use MA filter to confirm trading directions. Risk - Reward Ratio: 1:5. Risk Management: Limit risk to a predefined percentage of account balance . Additional features: include alerts for signal generation, SL and TP
Prakash 30 - 200 USD
i want to make trading bot for my xauusd trading. who can provide me code for good algo for auto trading? which logic is safe for trading?i want expert who can made code for me. thanks
Smc 30 - 200 USD
#property copyright "Amanda V" #property version "1.01" #property indicator_chart_window #property indicator_buffers 0 #property indicator_plots 0 input int InpSwingLookback = 30 ; // Swing Lookback Period input double InpMinWickPct = 30.0 ; // Min Rejection Wick % input color InpBullColor = clrAqua ; // Bullish Sweep Color input color InpBearColor =
Description: I need an MT5 Expert Advisor built to exactly replicate a TradingView Pine Script strategy. This is a range mean reversion system . All logic must be followed precisely. No optimisation, no interpretation. The EA must behave identically to the logic below. Market & Timeframe Primary: NAS100 (but must work on any symbol) Timeframe: 5-minute Must work regardless of broker (handle symbol digits properly)
I am looking for an experienced MQL5 developer to improve an existing forex EA, not build a completely new robot from zero. Important note: I use GPT to help me write because my English is limited. The wording may be assisted by GPT, but the trading issues, testing observations, and improvement goals are real from my side. I need a developer who is patient, understands strategy logic well, and can explain the
Fair Value Gap Expert , Optimize the core logic for live chart . [Filters are working] Lets ace the trailing stop . Change points to pip . Project will start from next week
I am looking to develop a highly optimized and fully modular script in MQL5 specifically for detecting RSI Divergences. This script will serve as a foundational building block to be integrated into a larger, comprehensive Expert Advisor (EA) later. Therefore, execution speed, strict logic, and a clean codebase are my absolute top priorities. Here are the core technical requirements for this project: 1. MQL5
My requirement i have mention in the video. I explain it from a screen record will be more clear https://www.youtube.com/watch?v=oTCWx7tfckM Mainly RSI martingale TP/SL lot size will auto base on the profit/loss i wish to risk
We have an existing Expert Advisor (EA) for MetaTrader 4. We need to restrict the EA so it only works on specific MetaTrader account ID(s). Key Requirements: Add account ID locking functionality to the EA. EA should run only on authorized account number(s). If used on any unauthorized account, the EA should: Stop trading, and/or Display an error message (e.g., “Unauthorized Account”). Ability to easily update or add

Informações sobre o projeto

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