Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 00:42:48 +0000



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

[2017-09-01 12:24:24]
User771280 - Posts: 4
Sorry...mistake in the prior post! Please use this one.

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 = main 5 minute ES chart using the Last option
Input study #2 = main daily 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.
Thanks