Reply To: hard stop assistance pls

Optuma Forums Optuma Scripting hard stop assistance pls Reply To: hard stop assistance pls

  • Topics: 32
  • Replies: 1,593
  • Posts: 1,625

Hi Tim,

We have no stop for that, but you can add it as an exit condition.

You can use the ValueWhen() function – see

So if your entry condition was close crossing above a moving average

Then the exit script could be what you already have OR this

With the script in ATR Stop being

One thing I would like to do is add some script functions for “EnterPrice()” which would return the enter price. Also DaysSinceEnter() etc so you don’t need to repeat the script. That will be in a future update.

Hope that helps


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.