Horizontal Line Candle Open and Time
Forums › ProRealTime English forum › ProBuilder support › Horizontal Line Candle Open and Time
- This topic has 7 replies, 3 voices, and was last updated 7 years ago by
JTulley.
Viewing 8 posts - 1 through 8 (of 8 total)
-
-
02/20/2018 at 5:37 PM #63308
Hello Forum Members,
I would like to draw a horizontal line at the open of the 08:00 candle from the previous day, using an M5 timeframe.
I can see that this might be done by counting back bars from the current time, but I suspect that there’s probably a more elegant solution.
Can anyone suggest how this can be done?
Thank You
02/20/2018 at 6:02 PM #6331002/20/2018 at 6:16 PM #6331102/20/2018 at 6:24 PM #63312Change line 7 as follows
1if intradaybarindex>=0 then02/20/2018 at 6:27 PM #63314Actually you can remove both line 7 and 9.
02/20/2018 at 6:29 PM #6331602/20/2018 at 6:44 PM #63318Write line 4 as
1value=close[288]because there are 24 * 12 5-minute bars in a day your are going to get yesterday’s value.
02/20/2018 at 6:47 PM #63319 -
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)
Find exclusive trading pro-tools on
Similar topics: