peerchemist / finta

Common financial technical indicators implemented in Pandas.
GNU Lesser General Public License v3.0
2.13k stars 688 forks source link

Fix cci #89

Closed saturn99 closed 4 years ago

saturn99 commented 4 years ago

finta CCI output is wrong,

image we must calculate MAD (Mean absolute deviation)

MAD calculating with this formula: image

finta use .std() function instead of use MAD


before change:

image

after change :

image