Bug in 2.37.9: Trade Entry/ExitDate with BarZone=ET

Posted By: Zheka

Bug in 2.37.9: Trade Entry/ExitDate with BarZone=ET - 05/26/21 11:20

This has been introduced in newer versions, all was fine in 2.37.3.

The code uses BarZone=ET and sets the TradeExitDate in the TMF:
Code
[size:8pt][7885: Wed 21-05-19 12:00] 357 0 208/229 1.22071/1.22090\1.21888/1.22069 -0.00004

Enter 3 Long EUR/USD  Entry -0.00018631 at 16:00:00
(EUR/USD:WET:L) Long 3@1.22050 Entry limit
(EUR/USD:WET:L) Entry limit 1.22050 hit by 1.22034 at [color:#CC0000]16:01:00[/color]   ---> if in BarZone time, should be the other way around, i.e. 8:00

[EUR/USD:WET:L88679] Long 3@1.22050  at 16:01:00

[7895: Wed 21-05-19 22:00] 357 -8.90 208/230 1.21741/1.21786\1.21738/1.21764 -0.00004
[7896: Wed 21-05-19 23:00] 357 -9.94 208/230 1.21764/1.21773\1.21723/1.21729 -0.00004
[7897: Thu 21-05-20 00:00] 357 -10.66 208/230 1.21729/1.21774\1.21693/1.21705 -0.00004


[7899: Thu 21-05-20 02:00] 357 -7.48 208/230 1.21852/1.21853\1.21697/1.21811 -0.00004
[7900: Thu 21-05-20 03:00] 357 -8.65 208/230 1.21811/1.21816\1.21726/1.21772 -0.00004
[EUR/USD:WET:L88679] Expired 3@1.21824: -7.09 Bid 1.21820 at [color:#FF0000]08:00:00[/color]

[7901: Thu 21-05-20 04:00] 350 0 208/230 1.21772/1.21847\1.21771/1.21824 -0.00004
[7902: Thu 21-05-20 05:00] 350 0 208/230 1.21824/1.21853\1.21794/1.21820 -0.00004
[7903: Thu 21-05-20 06:00] 350 0 208/230 1.21820/1.21828\1.21772/1.21788 -0.00004
[7904: Thu 21-05-20 07:00] 350 0 208/230 1.21788/1.21982\1.21781/1.21846 -0.00004
[7905: Thu 21-05-20 08:00] 350 0 208/230 1.21846/1.22048\1.21844/1.22028 -0.00004

Enter 2 Short EUR/USD  Entry -0.00013315 at 12:00:00
(EUR/USD:WET:S) Short 2@1.22041 Entry limit

(EUR/USD:WET:S) Entry limit 1.22042 hit by 1.22047 at 12:16:00
[EUR/USD:WET:S90680] Short 2@1.22042 Risk 2440  Bid 1.22038 at 12:16:00
Stop 2.4402  Trail 0.0  TP 0.0  Com 0.12  Mrg 81.25  Net 0

[EUR/USD:WET:S90680] [color:#CC0000]Expired 2@1.22042: -0.20 at 12:16:00[/color]
Opn 1.22042 Cls 1.22042 Spr 0.00004 Slp 0.00 Rol 0.00 Com 0.12 Lif 0 Net -2[/size]
The last trade was entered and immediately closed (Expired) because its duration was less than the ET to UTC time zone difference.



Does text coloring in the posts work?
Posted By: jcl

Re: Bug in 2.37.9: Trade Entry/ExitDate with BarZone=ET - 05/27/21 07:54

Try version 2.38. I believe the previous beta had a time bug that could have caused this problem.
Posted By: Zheka

Re: Bug in 2.37.9: Trade Entry/ExitDate with BarZone=ET - 05/27/21 10:11

Yes, all works properly again in 2.38.1.
© 2024 lite-C Forums