Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 01:37:53 +0000



Post From: Auto updating horizontal line

[2021-10-12 15:05:48]
VolTrader73 - Posts: 133
Hello.
Thank you for the support.

Am I supposed to use the SS formula study? and in its inputs add the following formula referencing the cell with my value (example) N3:

=if N3 > 0, true, false
in the subgraph I configure it as a horizontal line.

But this would not capture the instance of the first zero crossing (from negative to positive) during the bar. It would result in the horizontal line just continuously updating to the last price so long the value is > 0.

I need it to check that my value is >0 but its previous tick was < 0. Following this instance it can trigger again only after first, drooping down to negative value to capture the next time it crosses up.
Date Time Of Last Edit: 2021-10-12 15:08:00