Counting buy and sell arrow objects on chart
-
Hello guys please i want to be able to count buy and sell arrow objects that are created on chart when buys and sells are executed. i want to count these objects as orders are being created and store the number in a variable.

in the example above i want the variable to store the value 4 because there are 4 buy/sell arrow objects. Any help please?
the buys and sells can be counted separately.
-
I replied to your previous post. Please don't duplicate threads.