Login Page - Create Account

Support Board


Date/Time: Mon, 10 Mar 2025 20:23:21 +0000



Post From: Reference previous study values when a condition was true

[2022-04-05 20:32:53]
User411641 - Posts: 3
In my ACSIL code, I am able to refer the study values using the current index. I am trying to get the values when a certain condition is true. What is the best way to do this?
I do this in tradingview pinescript using "valuewhen(condition, source, index)". Is there something similar to valuewhen util function in ACSIL?