Support Board
Date/Time: Thu, 30 Oct 2025 13:39:45 +0000
Post From: cumulative sum need help
| [2025-01-13 06:54:22] |
| User411647 - Posts: 22 |
|
thanks for advice cmet but valuesbid and valuesask are specific volume values I tried reset cumulative_sum before iteration if (OutputArrayIndex == 0)
and it looks like this : red bars -> positive askvol and negative bidvol, green line cumulative sum { cumulative_sum = 0; } cumulative calculation looks fine but now last index value is 0 Important for me is last cumulative value but i dont know how to do it I think that persist var is initialized incorrectly what do you think ? |
| |
