Reply To: Using Signal After In A Custom Color Script

Optuma Forums Optuma Scripting Using Signal After In A Custom Color Script Reply To: Using Signal After In A Custom Color Script

#67620
Matthew
  • Topics: 5
  • Replies: 609
  • Posts: 614

Hi,

You’d need two scripts, using the same setup as my original reply with the SWITCH() function.

  • One for the Green colour rules (Trigger 1 crossing above 70, Trigger 2 crossing below 40).
  • One for the Red colour rules (Trigger 1 crossing below 30, Trigger 2 crossing above 60).

The end result would be an RSI with 3 colour states.  Green, Red (using the rules above), and black for when neither rule is met.

Ex8

Green Script:

Red Script

1 user thanked author for this post.

Pin It on Pinterest