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

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

Hi,

Hi guys,

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

Thanks

Kim

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 = PIVOT(IGNOREUNCONFIRMED=True, MIN=10) ;
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:

Ex2

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.
Kim

Pin It on Pinterest