Andrew Beckett
Senior Fellow
![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif) ![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif) ![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif) ![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif) ![* *](https://designers-guide.org/forum/Templates/Forum/default/starsilver.gif)
Offline
![](https://designers-guide.org/forum/avatars/elmerfudd.gif)
Life, don't talk to me about Life...
Posts: 1742
Bracknell, UK
|
In OCEAN, you can do:
selectResult('tran) crosses=cross(v("/out") 0.0 0 'either)
The 0.0 is the threshold level, 0 tells it to output all crossings, and 'either specifies both rising and falling.
The result will be a list.
See the OCEAN documentation for more details on what to do with the result!
Regards,
Andrew.
|