Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 14:58:08 +0000



Post From: how to re-color every x bars?

[2020-11-26 17:04:10]
User459170 - Posts: 262
Thanks so much again!

Your solution on post no. 2 works perfectly by placing a point on high or low. I was wondering if there's anyway to mark the close of the nth bar. Using the Mround code that you have given, it marks the start of the next 15 minute bar, is there a way to mark the end of the 15 minute bar. e.g. if the first bar starts 9.30, then your code marks the next bar at 9.45 which is the start of the next 15 min bar . Is there a way to identify the end of the 15 min bar?

Edited: Thanks Tomglib adding a -1/1440 solved the problem. Thanks a ton!
Date Time Of Last Edit: 2020-11-26 18:40:19