{"id":3,"date":"2006-03-04T20:34:17","date_gmt":"2006-03-05T01:34:17","guid":{"rendered":"http:\/\/www.amibroker.com\/kb\/2006\/03\/04\/how-to-change-the-title-line-in-my-custom-indicator\/"},"modified":"2014-12-04T08:31:31","modified_gmt":"2014-12-04T13:31:31","slug":"how-to-change-the-title-line-in-my-custom-indicator","status":"publish","type":"post","link":"https:\/\/www.amibroker.com\/wordpress\/kb\/2006\/03\/04\/how-to-change-the-title-line-in-my-custom-indicator\/","title":{"rendered":"How to change the title line in my custom indicator ?"},"content":{"rendered":"

To have custom title in the indicator window, you can define Title variable within the indicator’s code, e.g:

Title <\/span>= <\/span>"This is my title: " <\/span>+ <\/span>Name<\/span>() + <\/span>" - Close: " <\/span>+ <\/span>WriteVal<\/span>( <\/span>Close <\/span>)<\/code>

AmiBroker versions 4.60.2 and higher allow you also to you use special tokens in Title variable that are replaced by appropriate values at run-time. <\/p>

  • if you use {{VALUES}} inside Title string it will be replaced by automatic-values generated by Plot function calls. <\/li>
  • if you use {{NAME}} it will be replaced by ticker symbol. <\/li>
  • if you use {{DATE}} it will be replaced by selected date <\/li>
  • if you use {{INTERVAL}} it will be replaced by name of the interval<\/li>Title <\/span>= <\/span>"{{NAME}} - {{INTERVAL}} {{DATE}} - MyChart : {{VALUES}}"<\/span><\/code>","protected":false},"excerpt":{"rendered":"

    To have custom title in the indicator window, you can define Title variable within the indicator’s code, e.g:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[53,55],"_links":{"self":[{"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/posts\/3"}],"collection":[{"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/comments?post=3"}],"version-history":[{"count":1,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/posts\/3\/revisions"}],"predecessor-version":[{"id":801,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/posts\/3\/revisions\/801"}],"wp:attachment":[{"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/media?parent=3"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/categories?post=3"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.amibroker.com\/wordpress\/kb\/wp-json\/wp\/v2\/tags?post=3"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}