You've discovered a dirty little secret of TA: virtually every indicator formula is posted wrong somewhere.
A widespread example is the MACD. When Gerald Appell first published it, he recommended two parameter sets: 8,17,9 and 12,25,9. Somewhere along the way 12,25,9 got typoed into 12,26,9...