Login Page - Create Account

Support Board


Date/Time: Thu, 16 Jan 2025 09:42:33 +0000



Post From: Problem with 'Horizontal Line at Time' study

[2017-02-08 22:49:49]
User727245 - Posts: 29
I use 'Horizontal Line at Time' studies to indicate hourly closes on a 15m chart.

For example, using the Input Values:

Input Data - Last
Start Time - 22:45:00
Use Stop Time - Yes
Stop Time - 23:45:00

gives me a horizontal line that starts at the last price of the bar that opens at 22:45 and stops four bars later.

All 23 of the 24 hourly closes draw correctly(4-bars-long horizontally) except this one using the Input Values:

Input Data - Last
Start Time - 23:45:00
Use Stop Time - Yes
Stop Time - 00:45:00

All the horizontal lines that start at the last price of the bar that opens at 23:45:00
extend full 24 hours(stops at the next occurrence of the Start Time), instead of honoring the Stop Time four bars later.

Changing the Input Values(Yes/No) for 'Limit Horizontal Line From Time To 1 Day'
does not affect the outcome, and I'm using version 1510.

How can I correct this?
Date Time Of Last Edit: 2017-02-09 00:47:20