ASX trading hours
Forums › ProRealTime English forum › ProOrder support › ASX trading hours
- This topic has 9 replies, 3 voices, and was last updated 3 years ago by nonetheless.
-
-
04/05/2020 at 4:10 PM #124720
What is the correct way to enter Aussie trading hours? In GMT it should be 230000 to 050000 but that gives no trades as it appears to close before it opens.
000000 to 050000 works, but then I lose an hour at the start. 🤔
04/05/2020 at 4:16 PM #12472304/05/2020 at 4:34 PM #124726That’s what I started with. The optimization returns 0 trades. Changing 230000 to 000000 works.
123Defparam flatbefore = 230000Defparam flatafter = 050000CTime = Time >= 230000 and Time < 05000004/05/2020 at 5:11 PM #124727You are using AND where my code uses OR.
2 users thanked author for this post.
04/05/2020 at 5:24 PM #124728Alright alright alright, got it. Thanks!
03/24/2021 at 12:52 PM #165155Can I ask what timezone does pro real code time function use?
I am in Australia – and want to restrict orders during pre-market and post market in US Stocks. What code can I use to trade between 12.30 AM to 7 AM Australian time only.
thanks
03/24/2021 at 3:51 PM #165185Go Settings>Platform>Time Zones and Trading Hours and you’ll find all the various options.
I keep it on my local time then use time restrictions as an entry condition, eg
12345Tradetime = time >=143000 and time <210000If Tradetime and (your conditions) thenbuy 1 contract at marketendifJust alter the times for whatever the Wall St hours are down under.
03/24/2021 at 3:56 PM #165187time >=143000 and time <210000
You’ve forgot the OR again Nonetheless … alright, alright, alright … I know you know really! 🙂
03/24/2021 at 4:12 PM #165191Yeah, but those are the GMT times for Wall St, just as an example, so it has to be AND … not sure which you’d have to use if you want NY hours in Oz ???
1 user thanked author for this post.
03/24/2021 at 4:27 PM #165194Actually, if it’s 12.30 AM to 7 AM then it will def be AND
1Tradetime = time >=003000 and time <070000 -
AuthorPosts
Find exclusive trading pro-tools on