To know the open,close, highest, lowest of the previous hour
Forums › ProRealTime English forum › ProBuilder support › To know the open,close, highest, lowest of the previous hour
- This topic has 8 replies, 3 voices, and was last updated 4 years ago by
Nicolas.
Viewing 9 posts - 1 through 9 (of 9 total)
-
-
05/15/2021 at 11:37 AM #16973605/15/2021 at 12:46 PM #169741
Use OpenMinute as an index (not tested):
1234OpenH1 = open[OpenMinute+1]CloseH1 = close[OpenMinute+1]HighH1 = high[OpenMinute+1]LowH1 = low[OpenMinute+1]1 user thanked author for this post.
05/15/2021 at 9:16 PM #16976405/15/2021 at 9:33 PM #169765It’s impossible, the previous minute is [1], [OpenMinute+1] is the same minute of the previous hour.
05/15/2021 at 9:34 PM #16976605/15/2021 at 11:22 PM #169772That’s a pretty smart solution 😉
Now I understand what you meant.
Always use the ‘Insert PRT Code’ button when putting code in your posts to make it easier for others to read.
05/16/2021 at 7:23 PM #16983105/16/2021 at 8:37 PM #16983805/17/2021 at 7:18 AM #169859 -
AuthorPosts
Viewing 9 posts - 1 through 9 (of 9 total)