Support Board
Date/Time: Wed, 05 Feb 2025 09:00:37 +0000
percentile rank
View Count: 166
[2024-12-06 15:04:18] |
User411320 - Posts: 295 |
is there a study or function for percentilerank?
|
[2024-12-06 15:27:16] |
John - SC Support - Posts: 37728 |
Percentile Rank of what?
For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
[2024-12-11 14:01:43] |
Nkrastins - Posts: 35 |
Hello SC Support, I have the same question. By percentile I mean say value X is greater than % of X values of the last X bars. for me would be BarRange(high-low) is greater than 80% of the last 100 bars. |
[2024-12-11 16:57:42] |
John - SC Support - Posts: 37728 |
There is not a direct study that does this, but it is easy enough to put together a couple of studies to get it. Start with the item you are wanting (True Range, for instance) and then add one of the "Moving Average" studies to get the average of the last X bars of that study. You would set the "Length" for the Moving Average to be X. Then, to see the current value bar as a percentage of that average, use the "Study Subgraphs Divide/Ratio" and divide the subgraph of the item you want by the Moving Average study. This will give you the decimal percentage. If you want to view it as an actual percentage then you would use the "Study Subgraph Multiply" to multiply the value by 100 to get a whole number percentage. You can then display this using the "Text Display for Study". Refer to the following: Using the Basic Arithmetic Studies Text Display For Study 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: