Login Page - Create Account

Support Board


Date/Time: Fri, 07 Feb 2025 14:48:32 +0000



Post From: Get Alert Values per Bar from ACSIL

[2025-01-14 14:45:15]
skalaydzhiyski - Posts: 68
Hello,

I have an alert condition with the Color Background Based on Alert Condition study and I can see a number of vertical shaded areas showing up exactly as intended.

Now what I would like to do is to retrieve all basic bar data using ACSIL (open, high, low, close, datetime) of the bars for which the condition is evaluated as TRUE.
I was imagining something like ->
1. I have a study with an alert condition (study1).
2. I have another study (study2) that points to study1 and retrieves it's alert formula so that I can use
sc.EvaluateGivenAlertConditionFormulaAsBoolean() with the formula from study1.

This doesn't seem to be currently supported, but any workarounds are welcome...

All the best,
Date Time Of Last Edit: 2025-01-14 16:03:25