Mystery-solving job for my Expert Advisor!

MQL4 エキスパート 相談

指定

I have coded a very successful Expert Advisor for MT4 in MQ4 language. However, while the programme itself works as programmed to do, it also does the following things;

  • My code is set up to send an email (we call them Trade Notification Emails, or TNE's) whenever a trade is executed, and a second email when that trade is closed. The information in the email shows the entry and exit prices, any costs associated with the position (spread costs, swaps charges etc), as well as the profit or loss generated from the trading position. 

While my code does this flawlessly, it also sends a previous version of the standard TNE layout. Over time, naturally, I have updated the text and information in the body of the email to reflect the changing needs of my traders. However, I'm still receiving two or three emails to my inbox whenever a trade is executed: one of the current version of the TNE and a few of the previous versions (which are now, of course, obsolete).

Basically, its like viewing the latest version of a website, but your internet browser is also showing you a pervious version of that website - its pointless. I need a fresh pair of eyes to see what's happening and how this can be solved.

  • My second issue is my breakeven code. Previously this has worked when my positions have closed with a zero profit - which is what its meant to do. Now, this piece of code is setting the breakeven price adversely to the position of the trade by a few points (a few points below the open price for a long position and a few points above the open price for a short position). This, as you can appreciate, are costs which can easily be avoided. 

Evidence of trading positions are provided are attached. The positions with the small losses are the ones whose break even positions were triggered. My EA is also included. 

Godspeed!

応答済み

1
開発者 1
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
2
開発者 2
評価
(62)
プロジェクト
140
46%
仲裁
19
42% / 16%
期限切れ
32
23%
3
開発者 3
評価
(46)
プロジェクト
73
16%
仲裁
13
8% / 92%
期限切れ
37
51%
4
開発者 4
評価
(356)
プロジェクト
632
26%
仲裁
89
73% / 13%
期限切れ
12
2%
類似した注文
Hello, I have some strategies generated in Strategy Quant. I save them as MQ5 EA but they need SQ indicators calling them externally. I want to learn how I can incorporate SQ indicators into MQ5 source code of my EA in order that the EA can work without external mq5 files. I need somebody with a clear English or Turkish to show and explain me on one of my EAs. Thank you for your interest

プロジェクト情報

予算
30 - 60 USD
開発者用
27 - 54 USD
締め切り
最低 5 最高 20 日