Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 05:20:38 +0000



Post From: Auto updating horizontal line

[2021-10-13 13:22:27]
Sawtooth - Posts: 3993
Your formula is incorrect. You edited the wrong ID#. Use this instead:
=IF(AND(ID20.SG1[-1]<=50,ID20.SG1>50),C,ID2.SG1[-1])
where the Spreadsheet Formula study is ID2.

You will need to edit ID2 to the ID# of the Spreadsheet Formula study you added.

This will plot an horizontal line at the price bar each time the RSI crosses 50 from below.
It will remain and continue at that price until the RSI crosses 50 from below again.

I suggest you use the DrawStyle of Dash.