Login Page - Create Account

Support Board


Date/Time: Tue, 07 May 2024 20:06:22 +0000



Referencing Chart Drawing Values in spreadsheet

View Count: 696

[2019-07-17 14:35:51]
brenanstewart - Posts: 28
I've written some code in a spreadsheet study to generate buy a sell signals on my chart. I also have support and resistance levels that I've drawn on my chart using the extending rectangle tool. I don't want the buy and sell signals to fire unless price is close to one of these support/resistance levels.

I know I can reference the values on the extending rectangle tool using UDID[#].A#, which I found on this page:
Study/Chart Alerts And Scanning: Referencing Chart Drawings

However, my support/resistance levels are constantly changing which means I would have to continually go into my code to change the drawing ID numbers. Is there a way for me to reference the values on the extending rectangle drawings in a more generic way so that I don't have to be changing the drawing ID numbers in the code?

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account