Reply To: Help with scripting language for temporal filtering

Optuma Forums Optuma Scripting Help with scripting language for temporal filtering Reply To: Help with scripting language for temporal filtering

#48215
Peter
Peter
  • Topics: 1
  • Replies: 45
  • Posts: 46

Hi Colin

The non repeat function will return true when its source returns true, but once set to true it will ignore any other signals from source for up to the number or bars specified. e.g.

x = CLOSE() > OPEN();

NOREPEAT(x, BARS=10)

If you put this in a showview you will see that once it is triggered it will not trigger again for at least 10 bars.

This is function is covered in the advanced scripting course

https://learn.optuma.com/course/advanced-scripting/?course_type=content&course_page=1&lecture=5

 

The current list of non tool functions is here

https://help.optuma.com/kb/faq.php?cid=51

This list is continually being updated, and will be updated in the near future with new functions.

The tool programming functionality has much more options to creating custom tools or functions. However it does require basic programming knowledge.

There have been a few issues found with self referencing variables and the fixes are currently being tested in beta.

Can you please send through an example of your script using [] notation and we will see if it is fixed by the recent changes.

see here for info on self referencing variables

https://help.optuma.com/kb/faq.php?id=957

 

I attempted to meet your criteria without self referencing, does this script meet your conditions ?

Regards
Peter

Pin It on Pinterest

Share This

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