Is it similar to a stop loss?

Optuma Forums Optuma Scripting Chart Elements Is it similar to a stop loss?

#55503
AvatarChad
  • Topics: 4
  • Replies: 13
  • Posts: 17

Heres my code I use for a stop loss.  Maybe you can use this as your starting point and instead of the stop price it’s your buy price.

I made a user defined script for the Stop Level and then use DATAFIELD to pull those numbers in.

 

Script Name: Price vs Stop

(LAST() – DATAFIELD(FEED=UD, FIELD=Stop_Level) )/ LAST()

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