Williams %R

I would like to find an indicator that gives a signal on the price chart when %R crosses the 20 and the 80…crossing above and crossing below on each area…four signal..can any one help me code this please…thanks so much!