How can I create and use custom indicators in DEXT T3?

Hi everyone,

I’m exploring custom indicators in DEXT T3, particularly on Order Flow charts. I noticed the “My scripts” option in the indicator menu, but couldn’t find where to create, edit or publish a script.

Could someone clarify:

  1. Is custom scripting currently available? If yes, how do I access the editor?

  2. Which scripting language is supported, and is there any documentation or sample code?

  3. Can custom scripts access order-flow data, such as per-price buy/sell volume and delta, or only standard OHLCV data?

  4. Can these indicators run directly on the Order Flow chart?

Would appreciate guidance from anyone who has tried this or from the Dhan team. Thanks!

Hello sir,

Yes it is available for scripting. You can login via https://login.dhan.co/?location=TC_CHARTS and once you login, there is a chartscript editor on the right side bottom corner. Once you click on it, on top there is a dropdown to create custom indicator.

It will support all languages. Here is the guide for scripting https://tradingcharts.co/scripting

Currently it will not access order flow data but soon we will roll out.

Yes you can run these indicators on any type of chart. Do give a try and share your feedback.

image

2 Likes

Hi @Riken_Mehta

Do you have any plans to bring this feature to DEXT?

Hi,

Feedback noted. We will let you know. Thank you.

where we can access complete documentation of dhanscripts v1 @Riken_Mehta and try to fix the option chain prices and respective parameters are not updating in live need to manually press refresh to update as its new feature i think this is a bug.

image

Hello,

Here is the complete documentation. https://tradingcharts.co/scripting

Will fix the option chain prices update issue today. Thank you for highlighting it.

2 Likes

@Riken_Mehta one more bug i am trying to load sensex option into dext charts but getting blank with buffering i tried layout remove reapplied and relogin not worked as you seen in image even option chain window also going blank. Another issue is i build a custome script but seeing indicator values unable to extend next candle in live market may be today launch several things looking busy for you so check scripts functioning also once, thank you

image

Is it possible to get options OI/Change in DhanScript? I want to plot ATM±2 strikes OI Change.

Hi @Rem_555 ,

Please refresh and try loading the SENSEX option chain again. As for the custom script query, we are working on this and it will be updated.

1 Like

@Mrunmayi_Vaity madam can u add trade button to see dedicated market depth and possible bring dedicated floating order window like in tradingview. In present style dext chart buy and sell generate both order window and dom cluster together each time unlock and resetting to cluster window together back or repressing buy or sell so please if possible separate both dom and order , try to fix make them work individually .

image

image

Hey @Ram_Ashish_Pal,

Great to have you back on the community after a while! Hope things have been good.

Following our conversation done on call, we understand your requirement for OI data in the ChartScript Editor on charts.dhan.co. We’ll be rolling out this enhancement in a phased manner.

Can you share documentation in pdf or something? I mean instructions to make code for indicator.

Hi, @Vaibhav_Lad @Riken_Mehta @Mrunmayi_Vaity @Dhan

I have ported Custom indicators from Trading view and have them on my Chart currently, but ever time I do any change on my chart like changing symbols, changing timeframes, I am getting this error popup on my chart.. what does it mean, what am i suppose to do with this.. Do let me know..

image

Hey @Achchha_Bachcha,

You can refer details for scripting https://tradingcharts.co/scripting .

1 Like

Is it pinescript from trading view?
I have copy and pasted same code from pinescript and it is working as it should.
Need confirmation from your side. please reply.

image

image

Can you add button to hide or show indicator name and value, also ltp’s horizontal line.

Hi @Achchha_Bachcha,

You can hide the indicator name and value by right-clicking on the indicator. To hide the horizontal LTP line, tap on Lines and untick Price Line.

image

image

hello sir,

Sensex option chain issue has been fixed. please try it out

Sir,

You are talking about tv.dhan.co
I am asking for https://charts.dhan.co/
It’s not there in chart.dhan.co or i don’t find it. Please help me find that.

Hi @Achchha_Bachcha ,

To hide indicator names and values on charts.dhan.co, go to Chart Settings → Status Line → Indicators and untick Title and Values.

image

To hide the price line, click on Scales and lines → Symbol →untick Line.

image

1 Like