Reply To: Optuma Pivot Script Not Working Correctly

Optuma Forums Optuma Scripting Optuma Pivot Script Not Working Correctly Reply To: Optuma Pivot Script Not Working Correctly

  • Topics: 5
  • Replies: 609
  • Posts: 614


Hi guys,

Just wondering whether this problem was addressed in Optuma 2. If not, is it scheduled/planned for a future release?



In Optuma 2 the Pivot() function has an option to ignore unconfirmed pivots, so only those that won’t change when new data comes in are included in the criteria.

V1 > 0 or V1 < 0

In this example you can see the Show Bar tool ignores the last pivot label (light grey) as it is currently unconfirmed:


This is for current data only, historical data still has an issue that it knows a pivot is there, before it is actually confirmed.

Pivots still shouldn’t be used for backtesting because of this, not without adding in some extra code to not take a pivot into account until x bars after a pivot label (TimeSinceSignal() for example).

  • This reply was modified 2 months ago by Matthew.
1 user thanked author for this post.

Pin It on Pinterest