Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

GetTimeUnit block - on the half hour
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=146&t=56982
Page 1 of 1

Author:  krisfx [ Fri 29 Mar, 2019, 00:31 ]
Post subject:  GetTimeUnit block - on the half hour

Hi, when using a GetTimeUnit block in visual Jforex, how can I input a value on the half hour for a trading time limit - such as only trading between 12:30GMT to 4:30GMT? - Thank you.

Author:  vadim_berezhnoj [ Fri 29 Mar, 2019, 16:02 ]
Post subject:  Re: GetTimeUnit block - on the half hour

Hello.

You will need two GetTimeUnit blocks to get Hours and Minutes, and then compare in two IF blocks.

  Page 1 of 1