isrising,isfalling

This commit is contained in:
David Brazda
2024-10-17 12:20:57 +02:00
parent 59d526b3e5
commit dab81f0ac1
4 changed files with 41 additions and 3 deletions

View File

@ -39,4 +39,6 @@ forced_exits_window = create_mask_from_window(exits, forced_exit_start, forced_e
exits = exits | forced_exits_window
exits.tail(20)
```
```
`isrising(series,n)`,`isfalling(series, n)` - returns mask where the condition is satisfied of consecutive rising or falling elements