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

Tâche terminée

Temps d'exécution 2 minutes
Commentaires du client
Lakshan is very helpful and patient programmer, I would recommend.

Spécifications

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.


Répondu

1
Développeur 1
Évaluation
(188)
Projets
212
58%
Arbitrage
9
11% / 89%
En retard
8
4%
Gratuit
2
Développeur 2
Évaluation
(772)
Projets
1039
44%
Arbitrage
50
8% / 50%
En retard
116
11%
Gratuit
3
Développeur 3
Évaluation
(53)
Projets
74
26%
Arbitrage
30
10% / 63%
En retard
22
30%
Gratuit
4
Développeur 4
Évaluation
(647)
Projets
1295
67%
Arbitrage
84
26% / 49%
En retard
337
26%
Gratuit
5
Développeur 5
Évaluation
(50)
Projets
80
39%
Arbitrage
4
50% / 25%
En retard
0
Gratuit
6
Développeur 6
Évaluation
(117)
Projets
138
41%
Arbitrage
30
7% / 77%
En retard
17
12%
Gratuit
7
Développeur 7
Évaluation
(1156)
Projets
1462
63%
Arbitrage
21
57% / 10%
En retard
43
3%
Gratuit
8
Développeur 8
Évaluation
(574)
Projets
945
47%
Arbitrage
309
58% / 27%
En retard
125
13%
Gratuit
9
Développeur 9
Évaluation
(258)
Projets
269
29%
Arbitrage
2
50% / 0%
En retard
3
1%
Travail
Publié : 2 codes
10
Développeur 10
Évaluation
(130)
Projets
184
32%
Arbitrage
18
28% / 67%
En retard
27
15%
Gratuit
Publié : 1 code
11
Développeur 11
Évaluation
(22)
Projets
114
98%
Arbitrage
4
0% / 75%
En retard
35
31%
Gratuit
12
Développeur 12
Évaluation
(213)
Projets
246
45%
Arbitrage
42
10% / 57%
En retard
5
2%
Gratuit
13
Développeur 13
Évaluation
(17)
Projets
24
33%
Arbitrage
5
20% / 40%
En retard
8
33%
Gratuit
14
Développeur 14
Évaluation
(4)
Projets
4
75%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
Publié : 90 codes
15
Développeur 15
Évaluation
(69)
Projets
146
34%
Arbitrage
13
8% / 62%
En retard
26
18%
Gratuit
Publié : 6 codes
16
Développeur 16
Évaluation
(589)
Projets
1070
50%
Arbitrage
39
28% / 41%
En retard
49
5%
Travail
Publié : 1 article, 8 codes
Commandes similaires
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

Informations sur le projet

Budget
30+ USD
Délais
de 1 à 3 jour(s)