Hi all,
what is the equivalent function to count the bar in the indicator?
The barssinceentry is valid only for signal.
Thanks
barssinceentry equivalent
-
- Posts: 283
- Joined: 05 Dec 2014
- Location: Italy
- Has thanked: 53 times
- Been thanked: 3 times
- JoshM
- Posts: 2195
- Joined: 20 May 2011
- Location: The Netherlands
- Has thanked: 1544 times
- Been thanked: 1565 times
- Contact:
Re: barssinceentry equivalent
You can also use the standard `MRO()` function if you're looking to count the number of bars since some condition (which, in a way, is also what `BarsSinceEntry()` does).