def williams_percent_r(close_data):
highest_high = np.max(close_data)<EOL>lowest_low = np.min(close_data)<EOL>wr = [((highest_high - close) / (highest_high - lowest_low)) * -<NUM_LIT:100> for close in close_data]<EOL>return wr<EOL>
Williams %R.

Formula:
wr = (HighestHigh - close / HighestHigh - LowestLow) * -100