Reply To: Composite Modeling

Optuma Forums Optuma Scripting Composite Modeling Reply To: Composite Modeling

#67032
Matthew
  • Topics: 5
  • Replies: 521
  • Posts: 526

Hi,

In the original post you stated:

If RSI(10)>= 70 then the indicator score would be +1. It would stay +1 until the indicator fell to <= 30 in which case the score would flip to -1.

This rule is why the Switch() function is needed, there were only 2 outcomes and one always needed to be true.

What you are describing now is a different set of rules with 3 outcomes.  For the CCI that looks to be:

  • CCI > 200
  • CCI < -200
  • CCI >-200 and < 200

Nested IFs would be the way to do this, SWITCH() is no longer required.

See article here: https://help.optuma.com/kb/faq.php?id=1085

CCI Example:

Chart Example…

Ex1

1 user thanked author for this post.

Pin It on Pinterest