Home › Forums › General Discussion › Trades are not closed in the end of the trading session
Tagged: ea, trading session
- This topic has 15 replies, 1 voice, and was last updated 5 years, 11 months ago by Anonymous.
-
AuthorPosts
-
-
October 26, 2018 at 18:19 #6687AnonymousInactive
Hello,
My trades are not closed in the end of the trading session, although I marked these below when I generate the ea’s.
Any idea why it happened?
Thanks
-
October 26, 2018 at 21:15 #6688AnonymousInactive
From what I see, your trades must close at 16:30 from Monday to Thursday and on Friday trading session they should be closed at 13:15. May be you are missing something else.
-
October 26, 2018 at 21:18 #6689AnonymousInactive
Hello,
Keep in mind that these are the major settings for the EA Studio. So it will affect all EAs that you are exporting.
So you you have marked the boxes before generating the EAs right? Also, you kept the same settings while exporting the EAs?
Also, do you see in the journal of the EAs in EA studio that the trades are out at the close of the trading session?
-
October 26, 2018 at 21:48 #6690AnonymousInactive
Hi Petko,
you have marked the boxes before generating the EAs right?
yes
you kept the same settings while exporting the EAs?
yes
do you see in the journal of the EAs in EA studio that the trades are out at the close of the trading session?
No , when the session day ends, some trades stay open although in the code I have “const bool sessionCloseAtSessionClose = true;”
Thanks
-
-
October 27, 2018 at 8:49 #6693AnonymousInactive
I have tried that and it worked well for me. I did it for the NY trading session with the USDCAD and with the EURUSD.
-
October 27, 2018 at 11:26 #6696AnonymousInactive
Hello Seotrader,
can you please send this EA to the mail, so we can have a look at it. It is hard to say this way from just one picture.
-
October 29, 2018 at 16:32 #6710AnonymousInactive
-
October 30, 2018 at 10:04 #6711AnonymousInactive
Yes, we will review it and come back to you!
Cheers -
October 31, 2018 at 9:01 #6716AnonymousInactive
Hello Gilad,
Can you please send me the collection. I see that this is portfolio Expert and in order to see its content of strategies I will need to have the collection of strategies. Also, please tell me the exact hours you have placed in your trading session.
Go to Portfolio, than click on Content and then you will see the Download icon:
-
November 1, 2018 at 14:43 #6724AnonymousInactive
Hi Petko,
I believe I found the problem :
My broker time zone is 2 hours later than GMT, so I needed to adjust the time zone by adding 7200 seconds
For the US session pairs I wrote to close the trade at second 86,400 , which is 12:00 am , which is invalid.
I changed it to 86,000 and it is working now
Thanks :)
-
November 2, 2018 at 19:13 #6739AnonymousInactive
Hey Gilad,
Glad to hear that. I supposed it was something similar because I have tested the trading session hours and EA Studio so much so far, and no such issues are there.
Anyway, it is software, there could be always some bug, if you notice something let us know so we can report it.
Have a great weekend!
Petko A
-
November 16, 2018 at 22:40 #6877AnonymousInactive
Petko, if you have red hot news, do you pause the EAs when trading with Expert Advisors during the trading sessions?
It will become very small interval, and also it will be hard to generate EAs, right? They do not repeat daily…
-
December 2, 2018 at 23:29 #7292AnonymousInactive
I would not have in mind the news if I am using the trading session hours. As you said the interval will be too small.
-
December 2, 2018 at 23:33 #7293AnonymousInactive
Yes, you are right. We should not pause the EAs before the Red Hot news when we do trading session with Expert Advisors.
Actually the most important for me is that when we generate the EAs we put the whole trading session and we ignore the news. As Thetrader says they do not repeat daily, and we can not implement that in the Historical data.
-
December 8, 2018 at 10:04 #7529AnonymousInactive
I learned not to look at the news when I do algorithmic trading. For what?
When we generate EAs we use the whole Historical data, we do not eliminate the news. So you should not bother at all with this.
As well if the EAs are not created for trading session, we should just trade them 24 hours from Monday to Friday
-
December 9, 2018 at 9:23 #7545AnonymousInactive
Hey Pete,
this is what everyone is looking for – fully automated trading. Now many decide to interfere the EAs after they see some negative results when there are hot economic news.
I receive this question so many times: Should we pause the EAs on the news? And to be honest with you, so far I can not provide 100% answer to that.
On one side is the fact that we can limit a bit the risk(but in the same time we can miss profits)
On the other side is exactly what you say, we generate the EAs over all the data, so they should work during the news.
I keep on looking the right answer, but probably it won’t come.
-
-
AuthorPosts
- You must be logged in to reply to this topic.