Reply To: Trailing Stop using Last Down Bar

Optuma Forums Optuma Scripting Trailing Stop using Last Down Bar Reply To: Trailing Stop using Last Down Bar

#54193
DarrenDarren
  • Topics: 66
  • Replies: 594
  • Posts: 660

Hi Lester,

LAST() plots the latest value of the tool or price. See here for examples:

https://help.optuma.com/kb/faq.php?id=1091

To get the value of the last low of a lower bar (including an outside bar) use the VALUEWHEN() function:

So the stop formula would be when the low value of the lower/outside bar is lower than the previous:

The blue line is the low value and the red Show Bars are when they are lower:

Capture

Pin It on Pinterest