Login Page - Create Account

Support Board


Date/Time: Fri, 24 Jan 2025 06:43:09 +0000



Post From: Sierra Support: Renko Bar Close not working

[2019-01-04 16:36:23]
rahul - Posts: 167
Hello, suppose there are 4 renko bars at:

Bar 1: 6:00:15
Bar 2: 6:00:30
Bar 3: 6:00:45
Bar 4: 6:01:05

If I use the code: (sc.GetBarHasClosedStatus(cB) == BHCS_BAR_HAS_CLOSED), then the trade happens at Bar 4. But if I don't use this code the trade happens at Bar 2.

I would like the trade to enter at Bar 2, but only after Bar has closed. If I omit the Bar Close code, then I get false entry signals as the renko bar can move between up / down till the bar is actually closed.

Please help.