Support Board
Date/Time: Mon, 03 Mar 2025 11:06:11 +0000
Post From: Market depth historical study: linear interpolation
[2021-10-23 16:26:33] |
user2837 - Posts: 76 |
In the documentation of block coloring logic https://www.sierrachart.com/index.php?page=doc/StudiesReference.php&ID=375#BlockColoringLogic, should item 4 in Example 2 have (60, 0, 40) instead of (40, 0, 40)? Similarly, in Example 3. If the color percentage is 0.40, I would expect the linear interpolant to be 0.60*range_min_color + 0.40*range_max_color. Now suppose the Minimum Volume Intensity Percentage in Example 2 is 70 instead of 0. I would then expect the interpolating color in Example 2 to be: 0.60*(0.30*range_min_color+0.70*range_max_color) + 0.40*range_max_color. Correct? |