Reply To: swing stops

Optuma Forums Optuma Scripting swing stops Reply To: swing stops

  • Topics: 62
  • Replies: 503
  • Posts: 565

Hi Tim,

The Optuma scripting language is not available in 7.5 but if you upgrade then these values can be calculated by the program. It may be possible to script like this:



CLOSE() < S1[3]

where S1[3] is the swing start value 3 swings ago (assuming the current swing is up). In the example below S1[3] is 884.49, which matches the watchlist column being calculated by the script.


However, when the next swing down develops this low will then be 4 swings ago – S1[4] – and S1[3] will have a value of 910.50, thereby incorrectly triggering the exit when the close is below that value.

As such, I don’t think we’ll be able to automate this swing stop strategy using the scripting language.

  • This reply was modified 3 years, 7 months ago by DarrenDarren.

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.