A quick little job about OrderCloseTime() in my EA.

작업 종료됨

실행 시간 2 분
고객의 피드백
Lakshan is very helpful and patient programmer, I would recommend.

명시

In my EA i have a block of code within the OnTick area and I need it to only run when a trade closes, instead of every tick. Currently I am using OrderCloseTime() and can get a new number when a trade closes, but as said the code block is running every tick, but it only needs to run once, when a trade closes. I think the bit of code I have is close to how to do it, but the logic of exactly how to do it escapes me so a little help is appreciated. Thanks for looking.


응답함

1
개발자 1
등급
(188)
프로젝트
212
58%
중재
9
11% / 89%
기한 초과
8
4%
무료
2
개발자 2
등급
(772)
프로젝트
1039
44%
중재
50
8% / 50%
기한 초과
116
11%
무료
3
개발자 3
등급
(53)
프로젝트
74
26%
중재
30
10% / 63%
기한 초과
22
30%
무료
4
개발자 4
등급
(647)
프로젝트
1295
67%
중재
84
26% / 49%
기한 초과
337
26%
무료
5
개발자 5
등급
(50)
프로젝트
80
39%
중재
4
50% / 25%
기한 초과
0
무료
6
개발자 6
등급
(117)
프로젝트
138
41%
중재
30
7% / 77%
기한 초과
17
12%
무료
7
개발자 7
등급
(1156)
프로젝트
1462
63%
중재
21
57% / 10%
기한 초과
43
3%
무료
8
개발자 8
등급
(574)
프로젝트
945
47%
중재
309
58% / 27%
기한 초과
125
13%
무료
9
개발자 9
등급
(258)
프로젝트
269
29%
중재
2
50% / 0%
기한 초과
3
1%
작업중
게재됨: 2 코드
10
개발자 10
등급
(130)
프로젝트
184
32%
중재
18
28% / 67%
기한 초과
27
15%
무료
게재됨: 1 코드
11
개발자 11
등급
(22)
프로젝트
114
98%
중재
4
0% / 75%
기한 초과
35
31%
무료
12
개발자 12
등급
(213)
프로젝트
246
45%
중재
42
10% / 57%
기한 초과
5
2%
무료
13
개발자 13
등급
(17)
프로젝트
24
33%
중재
5
20% / 40%
기한 초과
8
33%
무료
14
개발자 14
등급
(4)
프로젝트
4
75%
중재
1
0% / 0%
기한 초과
0
무료
게재됨: 90 코드
15
개발자 15
등급
(69)
프로젝트
146
34%
중재
13
8% / 62%
기한 초과
26
18%
무료
게재됨: 6 코드
16
개발자 16
등급
(589)
프로젝트
1070
50%
중재
39
28% / 41%
기한 초과
49
5%
작업중
게재됨: 1 기고글, 8 코드
비슷한 주문
CyberShadow AI 30 - 300 USD
I want a bot that’s trades using smc strategy having stop loss and take profit.I want it to be able to trade with small account I want a disciplined robot but a strong one to I also what it to trade using trend line and locate point of interest
I need an EA for MetaTrader 5 called AI Forex Robot V100. It must trade automatically on EURUSD and GBPUSD, M15 timeframe. Strategy: - Buy when fast EMA crosses above slow EMA and RSI is above 50 - Sell when fast EMA crosses below slow EMA and RSI is below 50 - Only 1 trade at a time - Stop Loss: 50 pips, Take Profit: 100 pips - Lot size: 0.01, with option to change in settings - Must have trailing stop and news
PROJECT: EXISTING MT5 EA MODIFICATION – XAUUSD SLIPPAGE REDUCTION 1. Project Objective I already have a fully developed MT5 Expert Advisor (.mq5 source code). I am looking for an experienced MQL5 developer who can optimize my existing EA to achieve the lowest possible execution slippage on a REAL LIVE trading account. My primary and only objective is to zero slippage. I am not looking for a new trading strategy or
Elektra Trading Robot 100 - 200 USD
Elektra Trading Robot is an automated Forex trading system designed to analyze market conditions execute trades according to predefined trading strategies. It aims to identify potential trading opportunities, manage trading positions, and apply risk management rules to help protect trading capital. The robot is designed for real-account trading and focuses on consistency, disciplined execution, and efficient trade
the final ea must faithfully implement the logic from the provided phython file run cleanly on mt5 and deliver solid backtest result.its shoild be very easy to set up use with clear input parameter proper risk management and no complicated installation steps
Forex Hunter MT5 30 - 250 USD
ثبت طلبك في مواصفات البوت الثاني كذا: الجودة والأمان أهم من السعر، وما يدخل إلا إذا الفرصة قوية، مع حماية عند الخسائر وانقطاع الاتصال وارتفاع السبريد، وتشغيل مستمر على سيرفر، مع اختبارات إلزامية قبل أي تشغيل حقيقي. بهذه الصيغة يصير يشتغل وأنت مرتاح بالِك، لكنه يوقف تلقائيًا وقت عطلة السوق أو أي خلل. بس أكون واضح معك: ما في بوت يضمن عدم الخسارة، خصوصًا بالمضاربات السريعة، هدفنا نقلل المخاطر ونمنع الخسائر غير المنضبطة
I'm looking for an experienced MQL5 developer to create a Opening Range Breakout EA. The EA should identify the high and low of a configurable trading session and open trades when price breaks out of this range. It should include configurable Stop Loss, Take Profit, fixed lot size, break-even option and trading hours. Full mq5 required
Matosfx 30 USD
Am called martin sselubiri I need a robot for trading forex and stock and I want know how this robot works and how much it costs for me to use it
AI Forex Trading Bot for MT4 and MT5 I need an advanced Forex trading robot (Expert Advisor) that works on both MetaTrader 4 and MetaTrader 5. The robot should automatically analyse the Forex market, identify BUY and SELL opportunities, and execute trades when the trading conditions are met. It should support GBPUSD, EURUSD, USDJPY and GBPJPY. The robot should use EMA, RSI, MACD, price action and trend analysis
Aziz Toure 50 - 400 USD
I am an independent trader and entrepreneur based in Côte d’Ivoire. I work in financial markets, analyze trading opportunities, and provide digital financial services. I am also interested in international trade, online business, and developing long-term business activities

프로젝트 정보

예산
30+ USD
기한
에서 1 로 3 일