Now create your own Custom Indicators !

We’ve recently added the ability to create your own custom/derived indicators using existing indicators.

For example, you may have your logic of HLC3 as is “high  + low + close / 3” & would want to use this across multiple filters in different/same scans/widgets. Until now, you’d need to copy/write the logic whereever it would required.

With “custom indicators”, you can simply define its logic as:

HLC = ( current candle high + current candle low + current candle close ) / 3

Here’s the custom indicator for the above logic: https://chartink.com/indicator/hlc3

The above created indicator can then be used to create new scans/widgets: https://chartink.com/screener/close-above-hlc3 (notice the HLC indicator selection)

These are similar to having a value saved in a variable/temp working space and then using it across in multiple scans. Note, while using it across scans, you can select the timeframe for its calcuation, eg: Daily/Weekly/Monthly or Intraday candles giving you further flexibility.

To access a previous candle for a given timeframe, you can select “1/2.. candles ago”.

Below is another example from one of our users:

EOM – CUSTOM INDICATOR LOGIC
Scan using SMA on EOM(custom indicator)https://chartink.com/screener/eom-greater-than-20

 

156 thoughts on “Now create your own Custom Indicators !”

    1. Free version data is delayed by 5 minutes. In premium subscription, charts and scans are updated every minute. Our premium members get realtime data with updates every minute for our Charts & Scans. So if you run a scan at 9:20am for example, it would be based on the latest data until 9:19:59am and so on..

    2. Layout feature should be added to view chart with multiple time frame in one goo, i am premium subscriber have already raised query still no reply

          1. Dear Team , I have paid to a premium membership just now, I dont know how to work on this website for Intraday Buy/Sell alerts. Please help urgently .Thank you.

    3. Can we add previous day high/Low, CPR (central pivot range) & Demand/supply zone for Nifty/Bank nifty/Nifty stocks to identify & configure in your chart

  1. Sir I am using your chartink regularly and also take ur subscription every month. Your website is simple and easy.
    But will like to add one comment ” can you give the OPEN INTEREST (OI) from NSE option chain i.e if your chartink will provide us first two highest OI on CALL and first two highest OI on PUT side then we can able to get the particular stocks which are trading near support or resistance and it will really helpful for us.

    I tried to contact you for the same but unfortunately you have not provided contact number.
    If you have queries regarding my demand please feel free to call me : 9764685618 / 9370835723.

        1. Currently we support only NSE cash stocks. We have only created a segment group called ‘futures’ to scan stocks that are traded in the F&O group. If you select futures, scanning will be done on basis of cash stock prices/ values. 

  2. Hi Akash ,Nice developement, please make some videos or some more example. This will help us to get it’s maximum benefit.

  3. open to 2% high – need alert in 5 min
    previous day below open and today open breakout – need alert 5 min
    bollinger band bottom below breakout and bollinger band bottom above cross 1% – need alert 5 min

  4. Dear Chartink Team,

    Although you are doing excellent work but one will not know whether his code works best or how best it works i.e. the back testing does not give the output based on entry and exit points determined through codes. You can refer to Streak by Zerodha where they give not only code writing but also backtesting. For first 7 days its free for Zerodha account holders and then they charge Rs. 350 per month for backtesting of your codes. In brief unless you bring out proper backtesting tool, all these coding will not work and people may not even subscribe to real time alerts.

      1. Your Support Team Keep saying the same thing, we plan to do this feature, but don’t see any new feature, it’s better to have free instead of buying it.

  5. what is your top copied screener..? (NOT your top loved ones)
    Also my ADX screeners and the results when I get are far different. I had to delete stuff that i had created.
    Also tried (copied) few tweezer bottom and tried my modifications i have failed could you please suggest
    Need some genuine screeners to work on i am trying but still finding difficult to crack the right one. can you suggest???

    If you still cant help im ok. I like your stuff like screeners etc. but i was hoping to get more better. anyways i would thank you in advance.

    1. You may share your scan requirements and we shall help create the scan for you. Currently we do not have the feature to get the top copied scans. I shall get with the team on the same.

  6. You are doing commendable work and this platform may set a high benchmark for the industry. Please provide the option to view multiple timeframe graphs at one go.

  7. How can I create indicate for PVT (Price volume trend) or can we have it in indicator list?

    The formula is :
    Current PVT = ((Current Candle) % Change * (Current Candle) Volume) + (Previous Candle) PVT

    I am not sure about (Previous Candle PVT) in the above scenario. Please guide

    1. Currently we support only NSE cash stocks and indices. We do plan on adding others in the future. Shall keep you posted. 
      ​​​​​​​
      As a premium member you would be able to:
      Access realtime data for Charts & Scans every minute
      Create Alerts and receive updates of stock breakouts over sms/email/mobile/desktop/webhooks
      View charts in 1/2/3 minute timeframes with auto-refresh
      Run screeners in 1/2/3 minute timeframes with auto-refresh
      Scan any watchlist via the segment dropdown of a scan
      Customized Atlas dashboards for market overview
      Get Dedicated support for your scanner requirements

      You can get details/signup our premium service here: https://chartink.com/subscription

  8. Very Nice. Would it be possible to provide user flexibility write instead of selecting it from dropdown ?? AND one more request.. please provide functions of TAN() SIN() ATAN() function.

  9. Chartink is better than the best in the business… no coding required…so easy to modify scans…. Flexibility to add AND /OR to the conditions will be really helpful

  10. Hello,
    Thanks for providing so much useful tools.
    I am a fan of it.
    Please plan to add a very useful indicator i.e. ‘Gann Hilo’ indicator in your indicator list.
    Also add Commodity and Currency segments as earliest as possible.

    Thanks once again!

  11. Please help to create scanner in which after 10:15 hour latest stock price crossed first 15 minutes candle high or low.

  12. BIG FAN OF CHARTINK…joined less than a month and blown away by the uniqueness of the site…I am planning to buy a subscription for me…just want to request one indicator..please do it if possible…I want a 15 min indicator…latest pivot point is 1% lesser than R1 and 1% greater than s1

  13. Dear ChartInk, Thanks a lot for such valuable tools.

    1) I´ve an query regarding checking a stock performance against a sector, which it belongs.
    I saw in something similar in Dashboard to compare sector wise performance =>
    groupcount ( {cash} 1 where [0] 15 minute close > 1 day ago close ) / groupcount ( {cash} 1 ) * 100 as ‘Advances percentage’
    2) Also it would be nice if we can measure the relative strength of stocks against its sectors(stock price /sector average) , then sectors against indices (sector average / indices value)

    Please let me know if you need still more details.

  14. Hello Chart link, Thanks for whatever you are doing. I have a question of how to get know the relative strength of the stock with respect to the indices and its sector indices .Do we have the method or code on chart link , Please if you could help me out.
    Thank you

  15. Hiii…you must consider this must-have indicator of Auto-trend lines…and also there shoukd be 2 more indicators…like Low n medium float stocks and Average volume indicator.

  16. hi
    in stock next month expiry call openintest (far itm) and same strike put (otm)
    put openintest(far otm)and sam strike call (otm)

    scanner for highest add open interst in both side

    can make this

  17. Hi Chartink team,
    I am a big fan of your site. Kudos for your effort!!!

    Can you please make the chart dynamic like tradingview.com or investing.com where one can move the chart to any territory by dragging the chart using mouse.

    Thanks in advance,

  18. Dear Sir, I want make a scanner for Bullish Regular Divergence. If you have, So Please send me link.

  19. I wants to learn chartink for trading of stock option, banknifty and nifty option , how setting of indicators on chartink apply ,of how many days ,I wants to learn chartink , please help me

    1. Currently we support only NSE cash stocks and indices. We do plan on adding others in the future. Shall keep you posted. 

      You may view tutorials on scans and alerts here: 
      https://chartink.com/articles/scanner/scanner-user-guide/

      To set alerts for a scan, you need to click on “create alert” after opening the scan page and set your alert preferences accordingly.
      https://chartink.com/articles/alerts/alerts-guide/
      https://chartink.com/articles/alerts/desktop-mobile-a-k-a-web-notifications/
      https://chartink.com/articles/alerts/webhook-support-for-alerts/

      You can also start by reviewing out top scans here: https://chartink.com/screeners/top-loved-screeners

      They contain the top 10 scans used for Intraday/Swing & short term trading

      If you need help in creating a scan, please share your requirements, we shall create the same for you. 

  20. I tried creating keltner upper band but didn’t work in custom indicator . However I tried in ordinary screener it works.
    Pls help me in this

  21. in order to create alert for a single stock we need to create a separate watchlist for that which is cumbersome Can we have a feature to directly add it from scan page ?

  22. Hello,

    Custom Indicator is useful but doesn’t support comparison operator and Crossover.
    Because of this it is not possible to write advance custom indicator.
    can you please confirm when this will be implemented or please suggest if there workaround for same?

    Thanks
    Hemanshu

  23. Hi,

    I am using chartink from UAE currently i am using free version tried to update to premium version I can’t pay from my debit card. Can you check..

    1. You may view tutorials on scans and alerts here: 
      https://chartink.com/articles/scanner/scanner-user-guide/

      To set alerts for a scan, you need to click on “create alert” after opening the scan page and set your alert preferences accordingly.
      https://chartink.com/articles/alerts/alerts-guide/
      https://chartink.com/articles/alerts/desktop-mobile-a-k-a-web-notifications/
      https://chartink.com/articles/alerts/webhook-support-for-alerts/

      You can also start by reviewing out top scans here: https://chartink.com/screeners/top-loved-screeners

      They contain the top 10 scans used for Intraday/Swing & short term trading

      If you need help in creating a scan, please share your requirements, we shall create the same for you. 

  24. I m raj bhatt..
    09925045330
    I want pivot R3..S3 releted sceaner like
    Latest R3 LESS THEN EQUVAL to
    Previous day R3
    I WANT THIS CONDITION
    If possible plz hel me

    1. (1)..Latest pivot R3 Less than Equval to 1 day ago Pivot R3
      (2)..Latest pivot S3 LESS THEN EQUVAL TO 1 Day ago pivot S3
      I want this

  25. Please link this system to forex and commodities. Forex is traded on NSE but this is absent on your scanner. Also can you add Renko to your software.

  26. I want top Volume and Deliver Volumes
    Current volume greater than 10 Day avg volume
    and
    Current delivery volume greater than 10 Day avg delivery volume

    1. We do have Webhooks for API that you can use to trigger events in your own system, https://chartink.com/articles/alerts/webhook-support-for-alerts/

      Note on automating trades with webhooks, requires some programming logic so that you can incoporate our webhooks within your application which is alreadying using API’s from the stockbrokers to place orders. Your system/application must be deployed on the internet and reachable by a domain or a IP address, this requires your application to support the ability to receive incoming POST request’s so that we can send our JSON data for the alert

  27. Can it possible to create scanner with this condition.
    1) stocks belongs to N_cpr.
    2)stock crossover supertrend and pivot in 5 min tf
    3)stock trading above 20 sma in 5 min tf

  28. Very good scanner ,helps a lot

    Please add perfect time with searched stock in backtest results

    So that we can analyse it perfectly

    1. Hello,
      Hope this helps on back-testing:
      https://chartink.com/articles/?s=back

      It will show the previous days/ minutes results for your scan without the need for you to modify the scan. Back-testing will not give alerts. It is only to analyze/ view stocks previously triggered by your scans.  If you click on any of the bars on the graph, it will show the list of stocks that triggered as per the scan previously. 

      Back-test data will show data for the lowest candle time frame in your scan. If lowest time frame is 1 minute, it will show results for last 1 minutes. If its on daily candle it will show data for past 6 months. We show results for the past 150 bars  in our backtest section, these 150 candles could be of any timeframe, depending on the lowest timeframe in your scan, so for 5 minutes for example, you would get 2 days, for 1 minute, half a day and so on. 
       
      If you have the alert frequency of 5 minutes on a 1 hour candle scan, the alert results will update every 5 minutes and so will the backtest results(if you open the site and view the graph every 5 minutes), the difference is that the alert keeps a history of all your stocks triggered every 5 minutes i.e at 9:20am, 9:25am and so on via the alert history page,, whereas the backtest graph doesn’t keep any history as such, it will show the results only as of the candle completion time i.e 10:15am. so its not necessary that the backtest will show all the stocks that were triggered every 5 minutes as your alert show’s.

      Alerts is a premium feature that would allow you to do this, it keeps a track of all your stocks that met the condition every 5 minutes so that you don’t need to keep a track of them manually in the scanner page or the backtesting graph. The backtest is a dynamic graph that would update/change as your 1 hour candle is changing.

  29. Sir,

    I have Paid Subscription of Chart Link..

    Kindly Guid eme on

    How to add FUTURE stock in Watchlist .. I tried but it reflect Equity stocks only.

    Regards,

  30. How to create a new variable ..
    .
    For example say I have to meet 2 conditions to enter say A and B.
    .
    Once A condition is fulfiled I have to pass the 5 min Close value to the ” THE CUSTOM VAriable” .
    Then in next say 50mins i.e ten “5-min ” Candles if it cross a Predefined line I will enter, otherwise not.
    .
    .
    How to implement such kinds of logic..

  31. Dear team, I have paid premium membership day before Yesterday. I do not know how to create data/ work on this website for Intraday/ Swing Trading. Please guide me. Regards Hari Prakash

    1. You may view tutorials on scans and alerts here: 
      https://chartink.com/articles/scanner/scanner-user-guide/

      To set alerts for a scan, you need to click on “create alert” after opening the scan page and set your alert preferences accordingly.
      https://chartink.com/articles/alerts/alerts-guide/
      https://chartink.com/articles/alerts/desktop-mobile-a-k-a-web-notifications/
      https://chartink.com/articles/alerts/webhook-support-for-alerts/

      You can also start by reviewing out top scans here: https://chartink.com/screeners/top-loved-screeners

      They contain the top 10 scans used for Intraday/Swing & short term trading

      If you need help in creating a scan, please share your requirements, we shall create the same for you. 

  32. Hi,
    I can create custom indicator and can use in scanner as well but not able to add it in chart. Is there any way to show custom indicator in a stock chart?

  33. Hi,
    In the field of scanning you have done a lot. Lot of indicators are available in your scanning tool. My request is if possible could you pls. include TRIX () in your indicator list so that we can scan the stock based on the same.

    Thanks in advance.

  34. Can you offer output of any filter in the segment list
    for e.g. something like
    Stock passes all of the below filters in “Golden cross” segment:
    where
    “Golden cross” is name of my custom screener

  35. Sir Kindly please make some scanner on option data which will help us everything on this platform. We dont have to go anywhere. Like Option interest long Built up in Percentage and Short builtup in percantage. And for premium members make some custom indicators detail avialble.

  36. Hi Team,
    I’m a paid member, every month I’m subscribing it since the visualization is very simple and clear. However I find there are lot of drawbacks in this websites.

    1) I noticed Charts are not getting updated every 1 min until unless we update it manually like a offline charts. It should have near real time charts like sec by sec. Very very bad. Biggest drawback I feel.

    2) Just having basic indicators, all these indicators we can get in any free chart software. No additional indicators even for paid members. I’m using this more than 10 years, nothing changed (except dashboards) since long back, same indicators, no advanced indicators are added. Another biggest drawback.

    3) Indicators can’t be customizable as per user interest. For example I want to change parameters for RSI like overbought and oversold, changing color etc, there is no such option.

    4) Dashboards should be more visualize and can be useful to new joiners in the market. All can’t write their own code. Pre-defined dashboards can’t be understand by all. Needed more pre-defined and high visualize and frequently updating dashboards for screeners like RSI > 70, EMA cross over, MACD crossover etc which can be very simple and can be understandable to all new joiners. Should have dashboards for Open interest as well.

    If these are modifications can be implemented, this website will be on top.

      1. I want an indicator that earns at least 5% daily in intraday. You can make such an indicator and give you how much money you will have to work for 1 indicator.
        Accuracy percentage minimum 99%

        Thanks
        Sunil panwar
        yeshipanwar@gmail.com
        9414450889 mobile

  37. I want an indicator that earns at least 5% daily in intraday. You can make such an indicator and give you how much money you will have to work for 1 indicator.
    Accuracy percentage minimum 99%

    Thanks
    Sunil panwar
    yeshipanwar@gmail.com
    9414450889 mobile

  38. सर सीधी सी बात है आपकी वेबसाइट बहुत अच्छी है इसमें कोई किंतु परंतु नहीं है मैं आपकी मैं आपकी इस वेबसाइट का लगभग 4 साल से भी ज्यादा समय से ग्राहक हूं हर महीने हर महीने रिचार्ज करवाता हूं कोई भी स्ट्रेटजी को बनाने के लिए एक किताब की आवश्यकता होती है मैं बहुत सारी किताबें खरीद चुका हूं लेकिन सभी किताब में आपके जो इंडिकेटर दिए हुए हैं उनको लेकर के कोई इंडिकेटर बनाना बहुत दिक्कत है इसलिए या तो आप मुझे कोई अच्छी सी किताब का नाम बता दो या फिर मुझे आप कोई इंट्राडे काम करके रुपए कमाने का इंडिकेटर दे दो बनाकर के मैं परेशान हो चुका हूं और मेरी तरह और भी कई लोग हैं जो आपकी कंपनी के ग्राहक हैं सब यही चाहते हैं रुपए कमाना अगर आप कोई किताब सजेस्ट करते हैं तो हम सभी का भला होगा इसमें कोई बुराई तो है नहीं मैंने पहले भी यही प्रश्न किया था तब आपकी कंपनी की तरफ से जवाब आया था कि गूगल पर बहुत सारी पड़ी है समस्या यही है कि कौन सी किताब खरीदने कौन सी नई खरीदें कुल मिलाकर के हम सभी ग्राहक रुपए कमाना चाहते हैं हम कमाएंगे तो हर महीने आपकी कंपनी का भी रिचार्ज करेंगे नहीं तो वह भी बंद हो जाएगा और हम इस रिचार्ज को बंद करना नहीं चाहते हम भी कमाना चाहते हैं और आपको भी कमाई देना चाहते हैं

    1. There are quite a few videos on youtube for scans and indicators. You can try searching there. Also, if you need help in creating a scan, please share your requirement and we shall create the same for you.

  39. Dear Sir/ Madam,

    Thank you for providing the scanner service. I am a paid subscriber since more than an year now.
    I have a request to pls provide for the following features too-

    1. pivot lines in charts
    2. mcx commodities in scans

    Also could you pls help with how to get the highest/lowest 5min close on the previous day.

    Thank you.

  40. I Purchased 1month Subscription just to check the software is good but i wrote many time on their mail id to just help me i have few query of how to use few things but no one is replying..

Leave a Reply to Chartink Support Cancel reply

Your email address will not be published. Required fields are marked *