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

  • Topics: 43
  • Replies: 312
  • Posts: 355

Hi Lester,

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

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:


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.