Please let me create a new thread for this topic as there are too many versions of code in the old thread.
I've updated the code files as the latest versions as enclosed.
1. According to the EA, an old order should be closed and a new order should be open just 1 bar later than the signal.
However, the back testing still isn't consistent with the indicator signals and please refer to the screenshot below.
This issue only happens seldom during back testing. However, it exists and not reasonable.
2. Besides, there is another issue that the first order during back testing is always later than the first signal for 2 signals.
Who can help tell the root cause? Thanks a lot in advance.
I've updated the code files as the latest versions as enclosed.
1. According to the EA, an old order should be closed and a new order should be open just 1 bar later than the signal.
However, the back testing still isn't consistent with the indicator signals and please refer to the screenshot below.
This issue only happens seldom during back testing. However, it exists and not reasonable.
2. Besides, there is another issue that the first order during back testing is always later than the first signal for 2 signals.
Who can help tell the root cause? Thanks a lot in advance.
Attached File(s)
tradebjoy.mq4
11 KB
|
404 downloads
|
Uploaded May 26, 2015 5:48am
Attached File(s)
Solar Joy.mq4
7 KB
|
418 downloads