Login Page - Create Account

Support Board


Date/Time: Mon, 24 Feb 2025 21:39:48 +0000



current price to the close price 5 trading days ago

View Count: 440

[2021-03-24 11:17:52]
User999647 - Posts: 38
Hi just wondering do we have a study that shows the ratio (or percentage change) between the current price and the close price say 5 or 10 trading days ago?

Thanks
[2021-03-24 14:12:19]
John - SC Support - Posts: 38146
The only one that comes close is the Percent Change Since Open, which will allow you to set the number of days back to reference, but it does not allow you to select the previous day's Close. You would have to modify the code to make that happen. Refer to the following for the study:
Percent Change Since Open

And refer to the following regarding building a custom study:
How to Build an Advanced Custom Study from Source Code
For the most reliable, advanced, and zero cost futures order routing, use the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account