Stochastics hidden divergence indicator

 

I need someone to add the following functions into the indicator:

  1. Only display alert and arrows when the the stoch is ob/os.
  2. follow the trend, if it is down trend only give down arrows alerts.

stochastics_divergence.mq4

 
sunny7day:
I need someone to add the following functions into the indicator:
  1. Only display alert and arrows when the the stoch is ob/os.
  2. follow the trend, if it is down trend only give down arrows alerts.
stochastics_divergence.mq4

sunny7day

Divergence is always lagging - that is its nature (it needs confirmed peaks or through to be able to find a divergence, and confirming a peak or a through is possible only when some time passes)

Better not to use it as alerting indicator

Reason: