Login Page - Create Account

Support Board


Date/Time: Sat, 23 Nov 2024 08:51:17 +0000



Post From: Interquartile Range Bands

[2019-03-07 18:27:44]
jakesans - Posts: 50
I'm trying to replicate this IRQ Bands study (see attached for details) but can't find any comparable function to Pine Script's simple "percentile_nearest_rank" function. Any ideas as to a SC ACSIL function or C++ stats library that has something similar? Or will this be more complicated with SC's ACSIL? I did look at the code for SC's Stochastic Percentile study, but it isn't want I need. It only provides the percentile rank of the last value, not the price value that falls into specific percentile rank.

This IRQ Bands study is somewhat comparable to STD bands in terms of how to trade them.
imagepercentile_nearest_rank.jpg / V - Attached On 2019-03-07 18:21:56 UTC - Size: 58.96 KB - 738 views
imageIQR Bands Screenshot.jpg / V - Attached On 2019-03-07 18:22:03 UTC - Size: 72.51 KB - 922 views
imageIQR Bands Code.jpg / V - Attached On 2019-03-07 18:22:08 UTC - Size: 49.35 KB - 601 views