barssinceentry equivalent

Questions about MultiCharts and user contributed studies.
tradingest
Posts: 283
Joined: 05 Dec 2014
Location: Italy
Has thanked: 53 times
Been thanked: 3 times

barssinceentry equivalent

Postby tradingest » 16 Jan 2017

Hi all,

what is the equivalent function to count the bar in the indicator?
The barssinceentry is valid only for signal.

Thanks

sptrader
Posts: 742
Joined: 09 Apr 2010
Location: Texas
Has thanked: 483 times
Been thanked: 274 times
Contact:

Re: barssinceentry equivalent

Postby sptrader » 16 Jan 2017

I believe it is "barnumber" ... (without the quotes.)

User avatar
JoshM
Posts: 2195
Joined: 20 May 2011
Location: The Netherlands
Has thanked: 1544 times
Been thanked: 1565 times
Contact:

Re: barssinceentry equivalent

Postby JoshM » 20 Jan 2017

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).


Return to “MultiCharts”