Dukascopy
 
 
Wiki JStore Search Login

GetTimeUnit block - on the half hour
 Post subject: GetTimeUnit block - on the half hour Post rating: 0   New post Posted: Fri 29 Mar, 2019, 00:31 
User avatar

User rating: 0
Joined: Mon 28 Dec, 2015, 03:05
Posts: 1
Location: AustraliaAustralia
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.


 
 Post subject: Re: GetTimeUnit block - on the half hour Post rating: 0   New post Posted: Fri 29 Mar, 2019, 16:02 
Visual JForex expert at Dukascopy
User avatar

User rating:
Joined: Mon 22 Apr, 2013, 11:30
Posts: 535
Location: Ukraine, Kiev
Hello.

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


 

Jump to:  

cron
  © 1998-2011 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com