How Execute Market Order at starting European market session?
Created at 21 Mar 2018, 19:06
AN
How Execute Market Order at starting European market session?
21 Mar 2018, 19:06
Hi All.
How to add verification at the current time. Trend cBot works all time but should execute a market order during the European market session.
Thanks
Replies
anton.kovalchuk
26 Mar 2018, 18:22
RE:
Panagiotis Charalampous said:
Hi Anton,
You could try to use a condition like the sample below
if(DateTime.UtcNow.Hour >= 8 && DateTime.UtcNow.Hour < 4) { // Do something... }Let me know if this helps,
Best Regards,
Panagiotis
Thank you a lot Panagiotis Charalampous.
@anton.kovalchuk
PanagiotisCharalampous
22 Mar 2018, 09:26
Hi Anton,
You could try to use a condition like the sample below
Let me know if this helps,
Best Regards,
Panagiotis
@PanagiotisCharalampous