EA that reads from file and Opens / Modify & Close orders.

MQL4 指标 专家

工作已完成

执行时间4 天

指定

Hi.

Here is how my EA works.

I'm getting email signals from a service and from those emails I have a VB-script that save data from the emails to 3 different files. Open / Adjust / Cancel trades.
My EA reads these files once a minute and check if there is any information in those and then Opens / Modifys or Cancel orders.

The information in the files look like this.[TYPE ; SYMBOL ; TRADE-ID ; POSITION ; ENTRY ; SL ; TP]
; is the delimiter.

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px 'Helvetica Neue'}

Opened;AUDUSD;R'(IFR) QJ5XZNCPV7IO;1;0;0.7900;0.7675
Canceled;USDCAD;R'(CA) FHPV037S7UWZ;0;0;0;0
Adjusted;GBPUSD;R'(IFR) 2QLGD3QD9LDN;0;0;1.4120,;0

Opening trades and Closing trades work without problem but trades that needs to be modified often modifies more than the one trade it should modify. Sometimes when modifying the SL all open trades SL gets modified to the value of the SL in the Adjust text file.


I've tried to put the tradeID on the comment line and then compair it to open orders to modify only that one but this only works sometimes and sometimes modifies all open orders.

What I need help with is:

  1. Make sure that when adjusting a trade only the trade with the tradeID is effected.



The .txt files that's included here is empty but should be put in MQL4 -> Files.
To test so the EA works you need to put information on those.


Opened.text should have entries look like this: [TYPE ; SYMBOL ; TRADE-ID ; POSITION ; ENTRY ; SL ; TP]

Opened;AUDUSD;R'(IFR) QJ5XZNCPV7IO;1;0;0.7900;0.7675
Opened;EURUSD;TestTrade1;1;0;0.7900;0.7675




附加的文件:

反馈

1
开发者 1
等级
(1)
项目
2
0%
仲裁
3
0% / 100%
逾期
0
空闲
2
开发者 2
等级
项目
2
0%
仲裁
0
逾期
0
空闲
3
开发者 3
等级
(9)
项目
11
27%
仲裁
2
0% / 100%
逾期
0
空闲
相似订单
I am looking to develop an automated trading bot based on a strategy involving the crossing of four Simple Moving Averages (SMA). The bot should be capable of entering trades based on this strategy. Additionally, I would like to incorporate some custom diversions tailored for NinjaTrader
We are seeking a talented and experienced developer to convert two sophisticated TradingView indicators to NinjaTrader 8. These indicators are crucial for our trading strategy, and we need them to function flawlessly in the new environment. The project comes with specific usage restrictions, which will be discussed in detail with the chosen developer. Requirements: Extensive experience with both TradingView and
preciso de um robô com duas médias móveis, uma exponencial high e uma exponencial low. preciso também ter a opção de utilizar e todos os tempos gráficos e alterar os parâmetros das médias. entrada de compra será feita quando um candle de alta romper e fechar a cima da média high e fechará a posição quando um candle de baixa romper e fechar a baixo da média low. a venda será feita quando o candle de baixa romper e
Greetings, As the title suggests, I am trying to convert an indicator that calls itself via an iCustom call like this. iMAArray_Buffer[loop_1] = iCustom ( NULL , Selected_TF, MQLInfoString ( MQL_PROGRAM_NAME ), "calculate" , RPeriod, MType, MPeriod, 1 , shift); Full code will not be provided, only the position that needs fixing. I cannot get this working in MQL5 but the original code runs smoothly in MQL4. Please
I need a chart to replicate/track my equity + Balance Curve into my mt4. Also this chart i need to be able to add Stochastic / Bollingerband / Moving average on the equity/balance curve. Besides the equity curve i would like the indicator to show the Line-chart of my win + 1 and my loss -1 which results in a win-loss curve. ( i will discuss this with the choosen developer in depth. ) More information on what i want
Greetings great developer, I am in search of a highly skilled developer to assist with an exciting project. I need to convert two open-source TradingView indicators to NinjaTrader 8 and implement a usage restriction based on computer IDs. If you have experience with NinjaTrader 8 coding please let me know. I’d be happy to discuss the details further
Hello, This is pretty simple and its an indicator with On/Off button 1-Off will remove all indicator from the chart. 2-On will put them all back again with the same settings
Trading bot 300+ USD
We need bot that trades when medium and low impact news hits It will release pending order both directions few min prior to news impact And will have certain risk management strategy attached Example If Monday and Tuesday news successful clears profits It will reduce risk for next news events until new week starts each week message on tg: Dstatewealthtrading NOTE: 4 YAERS OF EXPERIENCE UPWORD, YOU MUST BE A
I need someone the create a supertrend indicator based on Heikin Ashi candles instead of normal candles. Needs to be exactly the same as the supertrend (original one) + ha from tradingview. In m1,m5,m15 the indicator must have the same values ​​found with the tradingview. Work that meets this requirement will be accepted ( depending on the broker and spread, however, a few pips of difference will be accepted)
Here is a detailed instruction for the coder to implement the vertical lines based on the BrainTrainSignalAlert indicator: --- **Task: Implement Vertical Lines for Alerts from BrainTrainSignalAlert Indicator** **Objective:** Create a system that adds vertical lines on specified timeframes (M5 or M30) whenever an alert is generated by the BrainTrainSignalAlert indicator on the H1, H4, and D1 timeframes. The lines

项目信息

预算
30+ USD
VAT (25%): 7.5 USD
总计: 37.5 USD
开发人员
27 USD