I think this could probably be a bug, I used this statement:
BarsSinceEntry(1, "Up", 0)
And it allways returns a zero
By the way when I use:
BarsSinceEntry(1, "Up", 1)
it returns the numbers of bars of the last position, but It doesn't returns the number of bars of the last opened and not closed position, what I was expecting since there is another statement BarsSinceExit... it's a bit confusing.
Ok if this is the way this works, then please:
do you know how can I get the number of bars since I have an order in market and not closed?
Thanks

Comment