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 일