- Topics: 5
- Replies: 430
- Posts: 435
In the script setting the rules for colour you need to use a GETDATA() function to reference the breadth codes value, then set the rules around that.
Here’s an example using a custom breadth code on my own system:
GETDATA(CODE=ADRATIO:Market Breadth) > 10
If I were to use Close() the parent charts data is referenced, that’s why the GETDATA() is required.