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
Darren
Darren
  • Topics: 38
  • Replies: 261
  • Posts: 299

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

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close