Question
Forums › ProRealTime English forum › ProBuilder support › Question
- This topic has 3 replies, 2 voices, and was last updated 5 days ago by
robert123.
Viewing 4 posts - 1 through 4 (of 4 total)
-
-
10/28/2025 at 3:01 PM #253108
I am trying to find the US open price, the same code to be used on the 1m and the 30m chart. I find there is a difference in price. Could one of you geniuses guide me as to how I get them to be the same, please?
Below is the code I’m using.
if time=093000 then
US=open
endifMany thanks,
RR
10/28/2025 at 3:22 PM #253109Hi! I'll give you a few examples. It depends on whether you trade stocks or futures/forex.
12345678910111213if opentime>=093000 and day<>day[1] thenus1=openendifif intradaybarindex=0 thenus2=openendifif opentime>=093000 and opentime[1]<093000 thenus3=openendifreturn us1, us2, us310/28/2025 at 3:45 PM #25311310/28/2025 at 3:48 PM #253114 -
AuthorPosts
Viewing 4 posts - 1 through 4 (of 4 total)
