{"action":"created","comment":{"url":"https://api.github.com/repos/highcharts/highcharts/pulls/comments/235914927","pull_request_review_id":177893160,"id":235914927,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTkxNDkyNw==","diff_hunk":"@@ -31,30 +31,56 @@ H.seriesType('tema', 'ema',\n      * @optionparent plotOptions.tema\n      */\n     {}, {\n+        getEMA: function (\n+            yVal,\n+            prevEMA,\n+            SMA,\n+            index,\n+            i,\n+            xVal\n+          ) {\n+            index = index === undefined ? -1 : index;\n+            i = i === undefined ? 1 : i;\n+            xVal = xVal || [];\n+\n+            return EMAindicator.prototype.calculateEma(\n+                xVal,\n+                yVal,\n+                i,\n+                this.chart.series[0].EMApercent,\n+                prevEMA,\n+                index,\n+                SMA\n+            );","path":"js/indicators/tema.src.js","position":51,"original_position":33,"commit_id":"b167d89fdeab1cc0017a8df79360b4f1f845b821","original_commit_id":"2ed7f8f79407ff384b1acffa328fd7cdaefc6c2e","user":{"login":"raf18seb","id":23310742,"node_id":"MDQ6VXNlcjIzMzEwNzQy","avatar_url":"https://avatars2.githubusercontent.com/u/23310742?v=4","gravatar_id":"","url":"https://api.github.com/users/raf18seb","html_url":"https://github.com/raf18seb","followers_url":"https://api.github.com/users/raf18seb/followers","following_url":"https://api.github.com/users/raf18seb/following{/other_user}","gists_url":"https://api.github.com/users/raf18seb/gists{/gist_id}","starred_url":"https://api.github.com/users/raf18seb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raf18seb/subscriptions","organizations_url":"https://api.github.com/users/raf18seb/orgs","repos_url":"https://api.github.com/users/raf18seb/repos","events_url":"https://api.github.com/users/raf18seb/events{/privacy}","received_events_url":"https://api.github.com/users/raf18seb/received_events","type":"User","site_admin":false},"body":"All changes have been made.","created_at":"2018-11-23T11:33:28Z","updated_at":"2018-11-23T11:33:29Z","html_url":"https://github.com/highcharts/highcharts/pull/9459#discussion_r235914927","pull_request_url":"https://api.github.com/repos/highcharts/highcharts/pulls/9459","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/highcharts/highcharts/pulls/comments/235914927"},"html":{"href":"https://github.com/highcharts/highcharts/pull/9459#discussion_r235914927"},"pull_request":{"href":"https://api.github.com/repos/highcharts/highcharts/pulls/9459"}},"in_reply_to_id":235893538},"pull_request":{"url":"https://api.github.com/repos/highcharts/highcharts/pulls/9459","id":231996220,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxOTk2MjIw","html_url":"https://github.com/highcharts/highcharts/pull/9459","diff_url":"https://github.com/highcharts/highcharts/pull/9459.diff","patch_url":"https://github.com/highcharts/highcharts/pull/9459.patch","issue_url":"https://api.github.com/repos/highcharts/highcharts/issues/9459","number":9459,"state":"open","locked":false,"title":"hs7/indicator-tema","user":{"login":"raf18seb","id":23310742,"node_id":"MDQ6VXNlcjIzMzEwNzQy","avatar_url":"https://avatars2.githubusercontent.com/u/23310742?v=4","gravatar_id":"","url":"https://api.github.com/users/raf18seb","html_url":"https://github.com/raf18seb","followers_url":"https://api.github.com/users/raf18seb/followers","following_url":"https://api.github.com/users/raf18seb/following{/other_user}","gists_url":"https://api.github.com/users/raf18seb/gists{/gist_id}","starred_url":"https://api.github.com/users/raf18seb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raf18seb/subscriptions","organizations_url":"https://api.github.com/users/raf18seb/orgs","repos_url":"https://api.github.com/users/raf18seb/repos","events_url":"https://api.github.com/users/raf18seb/events{/privacy}","received_events_url":"https://api.github.com/users/raf18seb/received_events","type":"User","site_admin":false},"body":"Added Tema Indicator.","created_at":"2018-11-19T14:40:10Z","updated_at":"2018-11-23T11:33:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75751af527be17117f9b448ed519a45c72cafb30","assignee":{"login":"raf18seb","id":23310742,"node_id":"MDQ6VXNlcjIzMzEwNzQy","avatar_url":"https://avatars2.githubusercontent.com/u/23310742?v=4","gravatar_id":"","url":"https://api.github.com/users/raf18seb","html_url":"https://github.com/raf18seb","followers_url":"https://api.github.com/users/raf18seb/followers","following_url":"https://api.github.com/users/raf18seb/following{/other_user}","gists_url":"https://api.github.com/users/raf18seb/gists{/gist_id}","starred_url":"https://api.github.com/users/raf18seb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raf18seb/subscriptions","organizations_url":"https://api.github.com/users/raf18seb/orgs","repos_url":"https://api.github.com/users/raf18seb/repos","events_url":"https://api.github.com/users/raf18seb/events{/privacy}","received_events_url":"https://api.github.com/users/raf18seb/received_events","type":"User","site_admin":false},"assignees":[{"login":"raf18seb","id":23310742,"node_id":"MDQ6VXNlcjIzMzEwNzQy","avatar_url":"https://avatars2.githubusercontent.com/u/23310742?v=4","gravatar_id":"","url":"https://api.github.com/users/raf18seb","html_url":"https://github.com/raf18seb","followers_url":"https://api.github.com/users/raf18seb/followers","following_url":"https://api.github.com/users/raf18seb/following{/other_user}","gists_url":"https://api.github.com/users/raf18seb/gists{/gist_id}","starred_url":"https://api.github.com/users/raf18seb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raf18seb/subscriptions","organizations_url":"https://api.github.com/users/raf18seb/orgs","repos_url":"https://api.github.com/users/raf18seb/repos","events_url":"https://api.github.com/users/raf18seb/events{/privacy}","received_events_url":"https://api.github.com/users/raf18seb/received_events","type":"User","site_admin":false}],"requested_reviewers":[{"login":"pawelfus","id":1453926,"node_id":"MDQ6VXNlcjE0NTM5MjY=","avatar_url":"https://avatars1.githubusercontent.com/u/1453926?v=4","gravatar_id":"","url":"https://api.github.com/users/pawelfus","html_url":"https://github.com/pawelfus","followers_url":"https://api.github.com/users/pawelfus/followers","following_url":"https://api.github.com/users/pawelfus/following{/other_user}","gists_url":"https://api.github.com/users/pawelfus/gists{/gist_id}","starred_url":"https://api.github.com/users/pawelfus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pawelfus/subscriptions","organizations_url":"https://api.github.com/users/pawelfus/orgs","repos_url":"https://api.github.com/users/pawelfus/repos","events_url":"https://api.github.com/users/pawelfus/events{/privacy}","received_events_url":"https://api.github.com/users/pawelfus/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1062427549,"node_id":"MDU6TGFiZWwxMDYyNDI3NTQ5","url":"https://api.github.com/repos/highcharts/highcharts/labels/Review","name":"Review","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/highcharts/highcharts/pulls/9459/commits","review_comments_url":"https://api.github.com/repos/highcharts/highcharts/pulls/9459/comments","review_comment_url":"https://api.github.com/repos/highcharts/highcharts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/highcharts/highcharts/issues/9459/comments","statuses_url":"https://api.github.com/repos/highcharts/highcharts/statuses/b167d89fdeab1cc0017a8df79360b4f1f845b821","head":{"label":"highcharts:hs7/indicator-tema","ref":"hs7/indicator-tema","sha":"b167d89fdeab1cc0017a8df79360b4f1f845b821","user":{"login":"highcharts","id":15981345,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1OTgxMzQ1","avatar_url":"https://avatars2.githubusercontent.com/u/15981345?v=4","gravatar_id":"","url":"https://api.github.com/users/highcharts","html_url":"https://github.com/highcharts","followers_url":"https://api.github.com/users/highcharts/followers","following_url":"https://api.github.com/users/highcharts/following{/other_user}","gists_url":"https://api.github.com/users/highcharts/gists{/gist_id}","starred_url":"https://api.github.com/users/highcharts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highcharts/subscriptions","organizations_url":"https://api.github.com/users/highcharts/orgs","repos_url":"https://api.github.com/users/highcharts/repos","events_url":"https://api.github.com/users/highcharts/events{/privacy}","received_events_url":"https://api.github.com/users/highcharts/received_events","type":"Organization","site_admin":false},"repo":{"id":715547,"node_id":"MDEwOlJlcG9zaXRvcnk3MTU1NDc=","name":"highcharts","full_name":"highcharts/highcharts","private":false,"owner":{"login":"highcharts","id":15981345,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1OTgxMzQ1","avatar_url":"https://avatars2.githubusercontent.com/u/15981345?v=4","gravatar_id":"","url":"https://api.github.com/users/highcharts","html_url":"https://github.com/highcharts","followers_url":"https://api.github.com/users/highcharts/followers","following_url":"https://api.github.com/users/highcharts/following{/other_user}","gists_url":"https://api.github.com/users/highcharts/gists{/gist_id}","starred_url":"https://api.github.com/users/highcharts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highcharts/subscriptions","organizations_url":"https://api.github.com/users/highcharts/orgs","repos_url":"https://api.github.com/users/highcharts/repos","events_url":"https://api.github.com/users/highcharts/events{/privacy}","received_events_url":"https://api.github.com/users/highcharts/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/highcharts/highcharts","description":"Highcharts JS, the JavaScript charting framework","fork":false,"url":"https://api.github.com/repos/highcharts/highcharts","forks_url":"https://api.github.com/repos/highcharts/highcharts/forks","keys_url":"https://api.github.com/repos/highcharts/highcharts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/highcharts/highcharts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/highcharts/highcharts/teams","hooks_url":"https://api.github.com/repos/highcharts/highcharts/hooks","issue_events_url":"https://api.github.com/repos/highcharts/highcharts/issues/events{/number}","events_url":"https://api.github.com/repos/highcharts/highcharts/events","assignees_url":"https://api.github.com/repos/highcharts/highcharts/assignees{/user}","branches_url":"https://api.github.com/repos/highcharts/highcharts/branches{/branch}","tags_url":"https://api.github.com/repos/highcharts/highcharts/tags","blobs_url":"https://api.github.com/repos/highcharts/highcharts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/highcharts/highcharts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/highcharts/highcharts/git/refs{/sha}","trees_url":"https://api.github.com/repos/highcharts/highcharts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/highcharts/highcharts/statuses/{sha}","languages_url":"https://api.github.com/repos/highcharts/highcharts/languages","stargazers_url":"https://api.github.com/repos/highcharts/highcharts/stargazers","contributors_url":"https://api.github.com/repos/highcharts/highcharts/contributors","subscribers_url":"https://api.github.com/repos/highcharts/highcharts/subscribers","subscription_url":"https://api.github.com/repos/highcharts/highcharts/subscription","commits_url":"https://api.github.com/repos/highcharts/highcharts/commits{/sha}","git_commits_url":"https://api.github.com/repos/highcharts/highcharts/git/commits{/sha}","comments_url":"https://api.github.com/repos/highcharts/highcharts/comments{/number}","issue_comment_url":"https://api.github.com/repos/highcharts/highcharts/issues/comments{/number}","contents_url":"https://api.github.com/repos/highcharts/highcharts/contents/{+path}","compare_url":"https://api.github.com/repos/highcharts/highcharts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/highcharts/highcharts/merges","archive_url":"https://api.github.com/repos/highcharts/highcharts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/highcharts/highcharts/downloads","issues_url":"https://api.github.com/repos/highcharts/highcharts/issues{/number}","pulls_url":"https://api.github.com/repos/highcharts/highcharts/pulls{/number}","milestones_url":"https://api.github.com/repos/highcharts/highcharts/milestones{/number}","notifications_url":"https://api.github.com/repos/highcharts/highcharts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/highcharts/highcharts/labels{/name}","releases_url":"https://api.github.com/repos/highcharts/highcharts/releases{/id}","deployments_url":"https://api.github.com/repos/highcharts/highcharts/deployments","created_at":"2010-06-11T12:23:53Z","updated_at":"2018-11-23T11:13:50Z","pushed_at":"2018-11-23T11:31:48Z","git_url":"git://github.com/highcharts/highcharts.git","ssh_url":"git@github.com:highcharts/highcharts.git","clone_url":"https://github.com/highcharts/highcharts.git","svn_url":"https://github.com/highcharts/highcharts","homepage":"https://www.highcharts.com","size":194997,"stargazers_count":8192,"watchers_count":8192,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2247,"mirror_url":null,"archived":false,"open_issues_count":1425,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2247,"open_issues":1425,"watchers":8192,"default_branch":"master"}},"base":{"label":"highcharts:hc7/master","ref":"hc7/master","sha":"ed176c81107b4b8ddb5eb428555d4da9cd6b9306","user":{"login":"highcharts","id":15981345,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1OTgxMzQ1","avatar_url":"https://avatars2.githubusercontent.com/u/15981345?v=4","gravatar_id":"","url":"https://api.github.com/users/highcharts","html_url":"https://github.com/highcharts","followers_url":"https://api.github.com/users/highcharts/followers","following_url":"https://api.github.com/users/highcharts/following{/other_user}","gists_url":"https://api.github.com/users/highcharts/gists{/gist_id}","starred_url":"https://api.github.com/users/highcharts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highcharts/subscriptions","organizations_url":"https://api.github.com/users/highcharts/orgs","repos_url":"https://api.github.com/users/highcharts/repos","events_url":"https://api.github.com/users/highcharts/events{/privacy}","received_events_url":"https://api.github.com/users/highcharts/received_events","type":"Organization","site_admin":false},"repo":{"id":715547,"node_id":"MDEwOlJlcG9zaXRvcnk3MTU1NDc=","name":"highcharts","full_name":"highcharts/highcharts","private":false,"owner":{"login":"highcharts","id":15981345,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1OTgxMzQ1","avatar_url":"https://avatars2.githubusercontent.com/u/15981345?v=4","gravatar_id":"","url":"https://api.github.com/users/highcharts","html_url":"https://github.com/highcharts","followers_url":"https://api.github.com/users/highcharts/followers","following_url":"https://api.github.com/users/highcharts/following{/other_user}","gists_url":"https://api.github.com/users/highcharts/gists{/gist_id}","starred_url":"https://api.github.com/users/highcharts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/highcharts/subscriptions","organizations_url":"https://api.github.com/users/highcharts/orgs","repos_url":"https://api.github.com/users/highcharts/repos","events_url":"https://api.github.com/users/highcharts/events{/privacy}","received_events_url":"https://api.github.com/users/highcharts/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/highcharts/highcharts","description":"Highcharts JS, the JavaScript charting framework","fork":false,"url":"https://api.github.com/repos/highcharts/highcharts","forks_url":"https://api.github.com/repos/highcharts/highcharts/forks","keys_url":"https://api.github.com/repos/highcharts/highcharts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/highcharts/highcharts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/highcharts/highcharts/teams","hooks_url":"https://api.github.com/repos/highcharts/highcharts/hooks","issue_events_url":"https://api.github.com/repos/highcharts/highcharts/issues/events{/number}","events_url":"https://api.github.com/repos/highcharts/highcharts/events","assignees_url":"https://api.github.com/repos/highcharts/highcharts/assignees{/user}","branches_url":"https://api.github.com/repos/highcharts/highcharts/branches{/branch}","tags_url":"https://api.github.com/repos/highcharts/highcharts/tags","blobs_url":"https://api.github.com/repos/highcharts/highcharts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/highcharts/highcharts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/highcharts/highcharts/git/refs{/sha}","trees_url":"https://api.github.com/repos/highcharts/highcharts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/highcharts/highcharts/statuses/{sha}","languages_url":"https://api.github.com/repos/highcharts/highcharts/languages","stargazers_url":"https://api.github.com/repos/highcharts/highcharts/stargazers","contributors_url":"https://api.github.com/repos/highcharts/highcharts/contributors","subscribers_url":"https://api.github.com/repos/highcharts/highcharts/subscribers","subscription_url":"https://api.github.com/repos/highcharts/highcharts/subscription","commits_url":"https://api.github.com/repos/highcharts/highcharts/commits{/sha}","git_commits_url":"https://api.github.com/repos/highcharts/highcharts/git/commits{/sha}","comments_url":"https://api.github.com/repos/highcharts/highcharts/comments{/number}","issue_comment_url":"https://api.github.com/repos/highcharts/highcharts/issues/comments{/number}","contents_url":"https://api.github.com/repos/highcharts/highcharts/contents/{+path}","compare_url":"https://api.github.com/repos/highcharts/highcharts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/highcharts/highcharts/merges","archive_url":"https://api.github.com/repos/highcharts/highcharts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/highcharts/highcharts/downloads","issues_url":"https://api.github.com/repos/highcharts/highcharts/issues{/number}","pulls_url":"https://api.github.com/repos/highcharts/highcharts/pulls{/number}","milestones_url":"https://api.github.com/repos/highcharts/highcharts/milestones{/number}","notifications_url":"https://api.github.com/repos/highcharts/highcharts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/highcharts/highcharts/labels{/name}","releases_url":"https://api.github.com/repos/highcharts/highcharts/releases{/id}","deployments_url":"https://api.github.com/repos/highcharts/highcharts/deployments","created_at":"2010-06-11T12:23:53Z","updated_at":"2018-11-23T11:13:50Z","pushed_at":"2018-11-23T11:31:48Z","git_url":"git://github.com/highcharts/highcharts.git","ssh_url":"git@github.com:highcharts/highcharts.git","clone_url":"https://github.com/highcharts/highcharts.git","svn_url":"https://github.com/highcharts/highcharts","homepage":"https://www.highcharts.com","size":194997,"stargazers_count":8192,"watchers_count":8192,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2247,"mirror_url":null,"archived":false,"open_issues_count":1425,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2247,"open_issues":1425,"watchers":8192,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/highcharts/highcharts/pulls/9459"},"html":{"href":"https://github.com/highcharts/highcharts/pull/9459"},"issue":{"href":"https://api.github.com/repos/highcharts/highcharts/issues/9459"},"comments":{"href":"https://api.github.com/repos/highcharts/highcharts/issues/9459/comments"},"review_comments":{"href":"https://api.github.com/repos/highcharts/highcharts/pulls/9459/comments"},"review_comment":{"href":"https://api.github.com/repos/highcharts/highcharts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/highcharts/highcharts/pulls/9459/commits"},"statuses":{"href":"https://api.github.com/repos/highcharts/highcharts/statuses/b167d89fdeab1cc0017a8df79360b4f1f845b821"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"raf18seb"}}