{"id":602,"date":"2022-10-10T23:59:39","date_gmt":"2022-10-10T15:59:39","guid":{"rendered":"https:\/\/help.tradinghook.com\/?p=602"},"modified":"2022-10-10T23:59:39","modified_gmt":"2022-10-10T15:59:39","slug":"what-is-pine-script","status":"publish","type":"post","link":"https:\/\/help.tradinghook.com\/en\/what-is-pine-script\/","title":{"rendered":"What is Pine Script?"},"content":{"rendered":"\n<p>Pine Script is a powerful scripting language developed by Trading View to create custom indicators, backtesting, or create trading strategies where it let users use built-in functions and technical analysis easily without hassle. <\/p>\n\n\n\n<p>Pine Script is not based on any language but if you are a coder and know how to code on time series data, you will pick it up fairly quickly and the scripting has the same similarities with Python. <\/p>\n\n\n\n<p>It does not have any desktop IDE as it can be created within Pine Editor in Trading View and it will be embedded in Trading View charts. <\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to get started with Pine Script? <\/h2>\n\n\n\n<p>It is very simple to code in Pine Script, you simply need an account in <a href=\"https:\/\/www.tradingview.com\/gopro\/?share_your_love=nikizwan\">Trading View<\/a>, simply head over to the chart section and you will see a Pine Editor on the bottom of the page <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-1024x555.png\" alt=\"\" class=\"wp-image-603\" width=\"840\" height=\"455\" srcset=\"https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-1024x555.png 1024w, https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-300x163.png 300w, https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-768x416.png 768w, https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-1536x832.png 1536w, https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-18x10.png 18w, https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-1200x650.png 1200w, https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-600x325.png 600w, https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905.png 1920w\" sizes=\"(max-width: 840px) 100vw, 840px\" \/><figcaption><em>Pine Editor for you to code and compile Pine Script at <a href=\"https:\/\/www.tradingview.com\/gopro\/?share_your_love=nikizwan\">TradingView.com<\/a><\/em><\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Why Pine Script is so powerful?<\/h2>\n\n\n\n<p>If you code in TradingView, you will not need to worry about Data, live streaming data from worldwide exchanges is provided to you at a very minimal cost per month. They have a very comprehensive database of data feeds regardless of any asset class you want to trade. <\/p>\n\n\n\n<p>The best part of Pine Script is the platform able to handle Multi Time Frame easily with security() function. You can specify which time frame and what is the calculation that you wanted to do, poof! , it work out easily. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Can Pine Script create custom alert?<\/h2>\n\n\n\n<p>With Pine Script, you are able to create alerts with either alert() function or alertcondition() function, alerts are limited based on your account plan. The maximum number of alertcondition() you can set is 400 with a Premium Account. <\/p>\n\n\n\n<p>Can I send TradingView alerts to other platforms such as Telegram?<\/p>\n\n\n\n<p>That is why we created TradingHook, with our platform you can send alerts to our webhook and set the messages to be sent to Telegram. We are also developing algo trading function which you may create orders with your broker with <a href=\"https:\/\/www.tradingview.com\/gopro\/?share_your_love=nikizwan\">TradingView<\/a> alerts. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pine Script is a powerful scripting language developed by Trading View to create custom indicators, backtesting, or create trading strategies where it let users use built-in functions and technical analysis easily without hassle. Pine Script is not based on any language but if you are a coder and know how to code on time series [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-602","post","type-post","status-publish","format-standard","hentry","category-uncategorized","missing-thumbnail"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is Pine Script? - TradingHook HelpCenter<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/help.tradinghook.com\/en\/what-is-pine-script\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is Pine Script? - TradingHook HelpCenter\" \/>\n<meta property=\"og:description\" content=\"Pine Script is a powerful scripting language developed by Trading View to create custom indicators, backtesting, or create trading strategies where it let users use built-in functions and technical analysis easily without hassle. Pine Script is not based on any language but if you are a coder and know how to code on time series [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/help.tradinghook.com\/en\/what-is-pine-script\/\" \/>\n<meta property=\"og:site_name\" content=\"TradingHook HelpCenter\" \/>\n<meta property=\"article:published_time\" content=\"2022-10-10T15:59:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-1024x555.png\" \/>\n<meta name=\"author\" content=\"Admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/\"},\"author\":{\"name\":\"Admin\",\"@id\":\"https:\/\/help.tradinghook.com\/ms\/#\/schema\/person\/d71f546d08cbcfd11492a0c0e896868b\"},\"headline\":\"What is Pine Script?\",\"datePublished\":\"2022-10-10T15:59:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/\"},\"wordCount\":351,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-1024x555.png\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/\",\"url\":\"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/\",\"name\":\"What is Pine Script? - TradingHook HelpCenter\",\"isPartOf\":{\"@id\":\"https:\/\/help.tradinghook.com\/ms\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-1024x555.png\",\"datePublished\":\"2022-10-10T15:59:39+00:00\",\"author\":{\"@id\":\"https:\/\/help.tradinghook.com\/ms\/#\/schema\/person\/d71f546d08cbcfd11492a0c0e896868b\"},\"breadcrumb\":{\"@id\":\"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/#primaryimage\",\"url\":\"https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-1024x555.png\",\"contentUrl\":\"https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-1024x555.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/help.tradinghook.com\/ms\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is Pine Script?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/help.tradinghook.com\/ms\/#website\",\"url\":\"https:\/\/help.tradinghook.com\/ms\/\",\"name\":\"TradingHook HelpCenter\",\"description\":\"Blazingly fast Trading View to Telegram Alerts for Traders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/help.tradinghook.com\/ms\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/help.tradinghook.com\/ms\/#\/schema\/person\/d71f546d08cbcfd11492a0c0e896868b\",\"name\":\"Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/help.tradinghook.com\/ms\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/23d9d24508a46b646bad41f58fe2f1c1cba792481ad1e205e05137e79bd7f8dd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/23d9d24508a46b646bad41f58fe2f1c1cba792481ad1e205e05137e79bd7f8dd?s=96&d=mm&r=g\",\"caption\":\"Admin\"},\"url\":\"https:\/\/help.tradinghook.com\/en\/author\/ifcon\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is Pine Script? - TradingHook HelpCenter","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/help.tradinghook.com\/en\/what-is-pine-script\/","og_locale":"en_US","og_type":"article","og_title":"What is Pine Script? - TradingHook HelpCenter","og_description":"Pine Script is a powerful scripting language developed by Trading View to create custom indicators, backtesting, or create trading strategies where it let users use built-in functions and technical analysis easily without hassle. Pine Script is not based on any language but if you are a coder and know how to code on time series [&hellip;]","og_url":"https:\/\/help.tradinghook.com\/en\/what-is-pine-script\/","og_site_name":"TradingHook HelpCenter","article_published_time":"2022-10-10T15:59:39+00:00","og_image":[{"url":"https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-1024x555.png","type":"","width":"","height":""}],"author":"Admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/#article","isPartOf":{"@id":"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/"},"author":{"name":"Admin","@id":"https:\/\/help.tradinghook.com\/ms\/#\/schema\/person\/d71f546d08cbcfd11492a0c0e896868b"},"headline":"What is Pine Script?","datePublished":"2022-10-10T15:59:39+00:00","mainEntityOfPage":{"@id":"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/"},"wordCount":351,"commentCount":0,"image":{"@id":"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/#primaryimage"},"thumbnailUrl":"https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-1024x555.png","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/","url":"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/","name":"What is Pine Script? - TradingHook HelpCenter","isPartOf":{"@id":"https:\/\/help.tradinghook.com\/ms\/#website"},"primaryImageOfPage":{"@id":"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/#primaryimage"},"image":{"@id":"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/#primaryimage"},"thumbnailUrl":"https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-1024x555.png","datePublished":"2022-10-10T15:59:39+00:00","author":{"@id":"https:\/\/help.tradinghook.com\/ms\/#\/schema\/person\/d71f546d08cbcfd11492a0c0e896868b"},"breadcrumb":{"@id":"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/#primaryimage","url":"https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-1024x555.png","contentUrl":"https:\/\/help.tradinghook.com\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-10-234905-1024x555.png"},{"@type":"BreadcrumbList","@id":"https:\/\/help.tradinghook.com\/ms\/what-is-pine-script\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/help.tradinghook.com\/ms\/"},{"@type":"ListItem","position":2,"name":"What is Pine Script?"}]},{"@type":"WebSite","@id":"https:\/\/help.tradinghook.com\/ms\/#website","url":"https:\/\/help.tradinghook.com\/ms\/","name":"TradingHook HelpCenter","description":"Blazingly fast Trading View to Telegram Alerts for Traders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/help.tradinghook.com\/ms\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/help.tradinghook.com\/ms\/#\/schema\/person\/d71f546d08cbcfd11492a0c0e896868b","name":"Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/help.tradinghook.com\/ms\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/23d9d24508a46b646bad41f58fe2f1c1cba792481ad1e205e05137e79bd7f8dd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/23d9d24508a46b646bad41f58fe2f1c1cba792481ad1e205e05137e79bd7f8dd?s=96&d=mm&r=g","caption":"Admin"},"url":"https:\/\/help.tradinghook.com\/en\/author\/ifcon\/"}]}},"_links":{"self":[{"href":"https:\/\/help.tradinghook.com\/en\/wp-json\/wp\/v2\/posts\/602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.tradinghook.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/help.tradinghook.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/help.tradinghook.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/help.tradinghook.com\/en\/wp-json\/wp\/v2\/comments?post=602"}],"version-history":[{"count":1,"href":"https:\/\/help.tradinghook.com\/en\/wp-json\/wp\/v2\/posts\/602\/revisions"}],"predecessor-version":[{"id":604,"href":"https:\/\/help.tradinghook.com\/en\/wp-json\/wp\/v2\/posts\/602\/revisions\/604"}],"wp:attachment":[{"href":"https:\/\/help.tradinghook.com\/en\/wp-json\/wp\/v2\/media?parent=602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/help.tradinghook.com\/en\/wp-json\/wp\/v2\/categories?post=602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/help.tradinghook.com\/en\/wp-json\/wp\/v2\/tags?post=602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}