Help get this topic noticed by sharing it on Twitter, Facebook, or email.

# Would it be possible to code this in pine ? Edit Subject

before I tackle this I wanted to make sure it was even possible for pine to automatically plot the above mentioned divergences if so some possible pointers on how to effectively do so would be great.

Thanks,
1 person has
this question
• I've already programmed signal dots here something similar to what i'm trying to achieve http://www.the-lazy-trader.com/2012/0...
How does this make you feel?
I'm
• Try this
```
study(title="Fisher Dots", shorttitle="FD", overlay = true)
len = input(9, minval=1, title="Length")
high_ = highest(hl2, len)
low_ = lowest(hl2, len)
round(val) => val > .99 ? .999 : val < -.99 ? -.999 : val
value = round(.66 * ((hl2 - low_) / max(high_ - low_, .001) - .5) + .67 * nz(value[1]))
fish1 = .5 * log((1 + value) / max(1 - value, .001)) + .5 * nz(fish1[1])
plot(cross(fish1, 6) ? close : na, color=blue, title="Fisher", style=cross, linewidth=4)
plot(cross(fish1, -2.9) ? close : na, color=orange, title="Trigger")```

It will draw a cross when fisher crosses 6 and -2.9 level.
How does this make you feel?