Yet another reason to switch off NDBs and forget about all this drivel.
The ADF shows relative bearing. Relative to what I hear you ask, answer to the aircraft heading.
You are tracking 170 and facing 4 degrees of starboard drift so your heading needs to be 166
Your ADF will probably have 360 at the top. So lets suppose that you were heading due south in nil wind your heading would be 180 and as you passed the NDB the ADF would read 270. Then if you turn left onto 166, the ADF will move clockwise by the corresponding 14 degrees and read 284. Therefore as you pass at right angles on a heading of 166 you'll see 284 on the ADF.
Easy isn't it