Hello there!
I'm looking for a indicator that count the last X bars and returns on the screen the quantity of each them... and with a possible alert message/sound.
Example:
Bar Count: 100 (Bar counts can be a selecteable too)
Returns info on pair screen:
- 50 greens/buying bars
- 48 reds/sellers bars
- 2 dojis
- And an alert when a divergence of X bars occurs, example:
- 60 greens/buying bars
- 38 reds/sellers bars
- 2 dojis
*Here we have X=10 less red bars diverging from greens, so the alert will trigger. (dojis will not count for alarm input reasons)
The alert will trigger when X bars diverge more than another one. When 'x' will be a number that we can change at will.
Thanks in advance if someone can code something like this.
PS: If already exists an indicator that can do this, please i would be grateful to know.
See ya.
I'm looking for a indicator that count the last X bars and returns on the screen the quantity of each them... and with a possible alert message/sound.
Example:
Bar Count: 100 (Bar counts can be a selecteable too)
Returns info on pair screen:
- 50 greens/buying bars
- 48 reds/sellers bars
- 2 dojis
- And an alert when a divergence of X bars occurs, example:
- 60 greens/buying bars
- 38 reds/sellers bars
- 2 dojis
*Here we have X=10 less red bars diverging from greens, so the alert will trigger. (dojis will not count for alarm input reasons)
The alert will trigger when X bars diverge more than another one. When 'x' will be a number that we can change at will.
Thanks in advance if someone can code something like this.
PS: If already exists an indicator that can do this, please i would be grateful to know.
See ya.
