Login Page - Create Account

Support Board


Date/Time: Fri, 29 Mar 2024 15:46:44 +0000



Post From: Charting the difference between yesterdays close and the current price

[2017-09-01 12:22:04]
User771280 - Posts: 4
I'm plotting the difference between yesterdays close and the current price of the ES.
I'm using:
1. One main 5 minute ES chart that is set to start: 15:30 stop 15:14:59
2. Added Study/Price Overlay for another daily ES chart that is set to start: 8:30 stop 15:14:59
3. Added study subgraph subtract/difference:
Input study #1 = main5 minute ES chart using the Last option
Input study #2 = main5 minute ES chart using the Last option
Study 2 subgraph offset = 1
Draw zeros = yes
Perform subtract with zero value = yes

Problem:
The study subgraph subtract/difference doesn't look at the current last daily bar (item #2) correctly throughout the trading session.
Normal output currently:
During the regular trading of 8:30 - 15:14:59 the plot has the correct value, looks at the last daily bar which is 1 day.
During the after hours trading of 15:30 - 8:29:59 the plot has the incorrect value...it still uses 2 days prior instead of 1 day. I can change the "Study 2 subgraph offset = 1" to "Study 2 subgraph offset = 0" and I get the correct value.