Hi all, this is my first post, so if I say something stupid, please let me know.
I am trying to count the number of UP arrows that is on a certain chart. The only thing that I can find to count arrows, counts all arrows(up and down), but I just want to count only the Up arrows. I am certain that there is a way to do this that I just cannot find.
Please help!
This is how I can count the total arrows:
The code above will return all the arrows on the chart. You probably have to use ObjectType() function as well.
The code above will return all the arrows on the chart. You probably have to use ObjectType() function as well.
Correct, the above code that I added is not what I want to use. I only want it to count the UP arrows only. Thanks for the reply, I'll look into using ObjectType() also.
*edit* ObjectType() is another thing I've tried already, but that only allows me to use the same "OBJ_ARROW". I'm thinking I need to be able to use "SYMBOL_ARROWUP", but ObjectType() and ObjectsTotal() will not count the "SYMBOL_ARROWUP" so I need a way to count the SYMBOL_ARROWUP maybe? *end edit*
I still haven't figured out how to do this. Is it maybe not possible? I was thinking it might be something simple, but I guess it might not be after all.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hi all, this is my first post, so if I say something stupid, please let me know.
I am trying to count the number of UP arrows that is on a certain chart. The only thing that I can find to count arrows, counts all arrows(up and down), but I just want to count only the Up arrows. I am certain that there is a way to do this that I just cannot find.
Please help!
This is how I can count the total arrows: