{"action":"created","issue":{"url":"https://api.github.com/repos/anandanand84/technicalindicators/issues/127","repository_url":"https://api.github.com/repos/anandanand84/technicalindicators","labels_url":"https://api.github.com/repos/anandanand84/technicalindicators/issues/127/labels{/name}","comments_url":"https://api.github.com/repos/anandanand84/technicalindicators/issues/127/comments","events_url":"https://api.github.com/repos/anandanand84/technicalindicators/issues/127/events","html_url":"https://github.com/anandanand84/technicalindicators/issues/127","id":319609527,"number":127,"title":"MFI calculation wrong?","user":{"login":"andyperisho","id":34944098,"avatar_url":"https://avatars3.githubusercontent.com/u/34944098?v=4","gravatar_id":"","url":"https://api.github.com/users/andyperisho","html_url":"https://github.com/andyperisho","followers_url":"https://api.github.com/users/andyperisho/followers","following_url":"https://api.github.com/users/andyperisho/following{/other_user}","gists_url":"https://api.github.com/users/andyperisho/gists{/gist_id}","starred_url":"https://api.github.com/users/andyperisho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyperisho/subscriptions","organizations_url":"https://api.github.com/users/andyperisho/orgs","repos_url":"https://api.github.com/users/andyperisho/repos","events_url":"https://api.github.com/users/andyperisho/events{/privacy}","received_events_url":"https://api.github.com/users/andyperisho/received_events","type":"User","site_admin":false},"labels":[{"id":369962015,"url":"https://api.github.com/repos/anandanand84/technicalindicators/labels/bug","name":"bug","color":"ee0701","default":true},{"id":369962020,"url":"https://api.github.com/repos/anandanand84/technicalindicators/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2018-05-02T15:48:22Z","updated_at":"2018-05-04T14:25:39Z","closed_at":"2018-05-03T15:23:26Z","author_association":"NONE","body":"I was testing MFI on BTCUSD daily, and noticed that investing.com, tradingview, and cryptowat.ch all return similar values, but they are different from what this library is generating.\r\n\r\nI digged in the code, and I have a feeling there's a mistake in calculating the Typical price.\r\nBased on [this](http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:money_flow_index_mfi):\r\n```\r\nTypical Price = (High + Low + Close)/3\r\n```\r\n\r\nBut the library seems to NOT divide by 3.\r\nI tried to divide this number by 3 manually, but this did not seem to affect the results.\r\nAny idea what might be causing the disprecancy in what this library returns, and what the other websites return?\r\n\r\nThx!"},"comment":{"url":"https://api.github.com/repos/anandanand84/technicalindicators/issues/comments/386618106","html_url":"https://github.com/anandanand84/technicalindicators/issues/127#issuecomment-386618106","issue_url":"https://api.github.com/repos/anandanand84/technicalindicators/issues/127","id":386618106,"user":{"login":"anandanand84","id":5538452,"avatar_url":"https://avatars1.githubusercontent.com/u/5538452?v=4","gravatar_id":"","url":"https://api.github.com/users/anandanand84","html_url":"https://github.com/anandanand84","followers_url":"https://api.github.com/users/anandanand84/followers","following_url":"https://api.github.com/users/anandanand84/following{/other_user}","gists_url":"https://api.github.com/users/anandanand84/gists{/gist_id}","starred_url":"https://api.github.com/users/anandanand84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anandanand84/subscriptions","organizations_url":"https://api.github.com/users/anandanand84/orgs","repos_url":"https://api.github.com/users/anandanand84/repos","events_url":"https://api.github.com/users/anandanand84/events{/privacy}","received_events_url":"https://api.github.com/users/anandanand84/received_events","type":"User","site_admin":false},"created_at":"2018-05-04T14:25:39Z","updated_at":"2018-05-04T14:25:39Z","author_association":"OWNER","body":"Sorry my bad I thought I published it. Published now."}}
{"actor":{"display_login":"anandanand84"}}