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
MT5 Manager API 30+ USD
make an api for mt5 and a trade copier eith the api thst uses local computer no cloud trader api ea mt5 that saves all trade data nd logs time and entry and exit tp sl logs delted pending order api that uses market execution not pending orfer
Hello, we have an existing EA, and are building a new one. We want our EA to connect via API to an AI provider like Chat GPT, Claude, or perplexity. Can you connect a meta trader EA to an AI agent? if you can then i would like to speak. The system is quite simple, for example the EA would ask perplexity where the support is on EURUSD then place a trade, thank you, Rob
Hi, Im looking to purchase or build an EA that can open many trades or big lot size to churn out IB commission, it doesnt have to be super profitable but will need to have the number of trades on going in order to earn IB commission. Source code is required upon purchase. If you have any EA or strategy that are gearing towards this, let me know and i would be glad to purchase it. Please share the demo trial for me to
I currently have unfinished work. It’s a project to connect MetaTrader with the BingX platform. At the moment, I have implemented a service that retrieves a custom symbol in BingX, and it works well. However, some specifications still need to be adjusted regarding how the data is received. Otherwise, prices and other values are accurate. The only issue is that for the strategy tester, it is always necessary to
Modify an existing EA 30 - 50 USD
This is to modify my Semi Auto EA -Looking for developer modify my existing EA to Pending Order EA (BS/BL/SL/SS). Relevent with Heiken Ashi Smooth ,Moving Average , Acceleration. Concept MAster and Slave. Ready to give previous soucre code as guide. Work to do - 1)To modify this EA to Pending Order. 2) to add new feature - Risk Management/moneymanagement 3) To modify 4 slave to 7 slave will give the previous to
BTC 5 Minutes scalping 50 - 100 USD
import { useState, useEffect, useRef } from "react"; const INIT_LOT = 0.01; const TP_MOVE = 200; const SL_MOVE = 120; const START_BALANCE = 1000; const MAX_LOT = 5.12; const TICK_MS = 1200; function ema(arr, n) { if (arr.length < n) return null; const k = 2 / (n + 1); let e = arr.slice(0, n).reduce((s, v) => s + v, 0) / n; for (let i = n; i < arr.length; i++) e = arr[i] * k + e * (1 - k); return e; } function
🚀 ADAPTIVE GRID HEDGE EA (FULL VERSION) 🧠 📌 GENERAL CONCEPT This Expert Advisor (EA) uses a strategy combining: Grid trading (order grid) Hedge (protection with opposite positions) Lot scaling (progressive) Loss compensation with profits Continuous operation (non-stop) Focus on: Small recurring profits High trade volume (rebate/IB) The system does not depend on direction, but rather on market oscillation . Main
I have a indicator working good but have some bug for arrow placement . budget is fixed 30 used . only experience developer apply. i want to arrow get put on just above the candle high and candle low
I need a professional MT5 Expert Advisor (EA) built with clean, modular code. This is an advanced strategy combining liquidity concepts, controlled DCA, hedge protection, and strict risk management. Core Requirements: Entry Logic (ALL must align): Liquidity sweep (Previous Day High/Low breakout and return) EMA50 and EMA200 trend alignment Higher timeframe bias (H1 or H4) RSI confirmation Bollinger Band entry Filters
I need a professional MQL5 developer. BEFORE I SHARE ANY DETAILS: 1. You must sign a PERPETUAL NDA with no expiration date 2. NDA includes €100,000 penalty for any breach 3. I require full .mq5 source code ownership 4. Developer must have 500+ completed jobs, 4.9+ rating Budget: €1500 EUR Duration: 14 days Start your application with "RULER" to prove you read this

Informações sobre o projeto

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