Login Page - Create Account

Support Board


Date/Time: Sun, 24 Nov 2024 13:59:51 +0000



Post From: Formula help - color bar based on alert condition

[2024-06-02 17:42:23]
User21243 - Posts: 48
Trying to set up an alert with the color bar based on alert condition study.

Using two instances of the study, one for a down bar and one for an up bar.

First instance of study ---
I want an alert if a down bars volume is 2x the previous 10 bar average.
Using this formula ---- =AND(C < O, V >= 2 * AVERAGE(V, 10))

Second instance of study ---
I want an alert if an up bars volume is 2x the previous 10 bar average.
Using this formula ---- =AND(C > O, V >= 2 * AVERAGE(V, 10))

Not getting any results and not sure what the issue is.

Also need to have it reset once it triggers, so once it triggers then it starts averaging again from that next bar.

Can I do this with this study, or do i need to write a custom indicator?