Fix error in EA an add a Modification

MQL4 Indicadores Experts

Termos de Referência

In my EA I want to fix an error and add global vriables so EA nows if orders are open when restarting.

 
Description of EA: I have already an EA which is opening after first installation (under Strategie 1) a buy and sell order and after one of these orders has been closed, ea is placing a pending order with an entry trigger. Note EA does only place at the beginning an buy and sell order. If buy is closed EA open an buy in Pending with an trigger. If sell is closed EA open an sell in trigger. This goes so on.

If this pending order with trigger is executed in the market, EA is opening again and pending after the order in market is closed and so on.

This is Strategy of EA - Do not change anything of Strategie of Strategie 1.


Error is - That EA does open after several Time to the beginning open buy and sell again an buy and sell. This should be fixed. EA should only open an buy and sell and if one of this is closed the pending for the order and so on.



Second change. EA should know his orders under global variables to ovoid also double opening.

1. After restarting Terminal or new installation EA forgot all ticket and try work with new. EA should check to have only 2 open orders in pending and 2 Orders open in Market – each from them can only be a buy and an sell.

So in Market kann never 3 orders from EA - always only two - the buy and sell.



EA should remember his oders and tickets. So after restarting plattform, problem with Internet EA should knows status of before.

If EA does not have 2 Orders in Market and not 2 Orders in Pending – EA should open 2 Orders Market.

If EA does not have 2 Orders in Market but 2 Orders in Pending – EA should do nothing.

EA does never have 3 or 4 Orders in Market…. Never only 2 and this can only be a buy and a sell order.

 

Can be a text file which save all ticket numbers there and update it repeatedly. so when restart the system or any other disconnection of system can check it's text first to remember them.

Arquivos anexados:

Respondido

1
Desenvolvedor 1
Classificação
(2)
Projetos
2
0%
Arbitragem
2
0% / 100%
Expirado
1
50%
Livre
2
Desenvolvedor 2
Classificação
(225)
Projetos
284
42%
Arbitragem
15
13% / 47%
Expirado
67
24%
Livre
3
Desenvolvedor 3
Classificação
(277)
Projetos
334
55%
Arbitragem
14
36% / 29%
Expirado
1
0%
Livre
4
Desenvolvedor 4
Classificação
(214)
Projetos
256
78%
Arbitragem
3
67% / 33%
Expirado
19
7%
Livre
Pedidos semelhantes
Hi, I have an scalping Expert Advisor for XAUUSD pair with Break Out strategy using iADX indicator and it seems other indicators too. Need a help to do reverse engineering on it. Thanks
I would like to create a bot based purely on the below fundamentals; Timeframe from 5M to 1Month. The bot will place a trade via a candlestick pattern and supply and demand zone approach, (NO RSI, Bollinger bands, or the like to be taken into account) just purely candlesticks based off the candlestick bible, buy and sell. Once a trade is made, the bot will continue to make trades in that position’s direction (locked
Dear Digital Intellectual, I’ll generally outline my idea with the intended instruments and their logic. Fundamental bias with multiple factors . I have this outside of MT. It's very easy to activate or deactivate the EA on MT if the fundamentals are not in line to be bullish or bearish. Later on, APIs would be needed to fully automate this (not yet needed). Logic : Fundamental factors on a higher timeframe drive the
CPI ROBOKING 30+ USD
*Strategy: CPI-Based Trading* *Instruments:* XAUUSD (Gold), UsTech100 (Nasdaq 100), USDJPY *CPI Release:* 1. *Higher-than-expected CPI:* - XAUUSD: SELL (Gold prices may drop due to potential rate hike) - UsTech100: SELL (Tech stocks may drop due to potential rate hike) - USDJPY: BUY (USD may strengthen due to potential rate hike) 2. *Meets or lower-than-expected CPI:* - XAUUSD: BUY (Gold prices may rise due
I'm looking for a program that will work on ninja trader 8: 1. The program should start by giving me the maximum and minimum for the Monday and Friday previous to my current date. 2. The program will shift from the 1 day to the lower time frame as needed that has been selected. a. Then, the Fibonacci sequence will be added automatically from the beginning, and the Fibonacci graph will be adjusted from elliott wave
Dear Programmer Go to this link https://www.youtube.com/watch?v=m1yJjAIzcp0 This video will explain everything about the strategy. I wanted to make an EA based on this strategy Draw standard deviation channels with 1 2 &3 standard deviation. The repainting should be minimal. In the mid line you have to buy and sell the same currency pair 1 lot each(or depending on the account size) If it goes up and hit the upper
Hello, I am looking for a skilled developer to help create a powerful trading strategy for the stock markets, specifically targeting the American market index. If you have experience in programming and developing effective trading algorithms, I would love to hear from you. Please let me know if you are interested, and we can discuss this further. Thank you
Tdi makes a divergence with moving average 2 in the indicator window above level 68 in crash indeces.... For boom the divergence should occur below level 32.... Timeframe preferably 5minutes but could be left to current..Applicant should have knowledge about synthetic indices... Please don't apply if you are not willing to show competence first through demo
I am seeking an experienced MQL5 developer to complete an incomplete EA that was previously developed but not finalized. The EA involves complex zone marking, multi-timeframe analysis, and various entry strategies (Engulfing, Divergence, Aggressive) with specific stop loss, take profit, and Martingale management. The previous developer has provided the progress made so far, including an EA file and documentation
Need a developer who can provide an MQ4 EA or Python Code which could generate at least 0.5% per day (Stable or consistent). Strategy: - Enter in any side of trade (long or short) - trade will close with profit or loss in may be 2 to 5 minutes with best AI inside volume parameters, then wait for next trade but cooling time will be there and in 24 hours it will take 80 to 95 trade - Lots size will be depends on

Informações sobre o projeto

Orçamento
30+ USD
IVA (19%): 5.7 USD
Total: 35.7 USD
Desenvolvedor
27 USD