TradingCharts

TradingCommunity

Community scripts built for Indian markets. Add any of them to your chart in one click.

Trending Scripts

CandleTools

Candle anatomy and simple two-bar pattern helpers for your own scripts. Each function works on every bar and returns a number or true/false. bodyPct(): candle body as a percentage of the full high-low range. upperWickPct() and lowerWickPct(): wick size as a percentage of the range. bullEngulf() and bearEngulf(): true when the candle fully engulfs the previous one in that direction. insideBar(): true when the bar's range sits inside the previous bar's range. How to use: import g_T9PHE3Z1/CandleTools/1 as ct body = ct.bodyPct() bull = ct.bullEngulf() inside = ct.insideBar() Call each function once per bar at the top level of your script (not inside if or for). Check the candle rules against your own definition before trading on them.

Library
Open source

TAPlusCore

Extra building blocks for your own scripts: Double EMA, Triple EMA, Stochastic RSI, Donchian Channel and Z-score. Each function works on every bar and returns plain values (or a small list of values), so you can plot them or use them in a strategy. How to use: import g_T9PHE3Z1/TAPlus/1 as tp fast = tp.dema(close, 20) slow = tp.tema(close, 50) [k, d] = tp.stochRsi(close, 14, 14, 3, 3) [upper, lower, mid] = tp.donchian(20) z = tp.zscore(close, 20) Call each function once per bar at the top level of your script (not inside if or for). Values were checked against hand-written versions of the same formulas.

Library
Open source

PriceStats

Simple price-statistics helpers for trend, volatility and position in range. Each function works on every bar and returns one number. normalize(src, len): where src sits in its len-bar low-high range, scaled 0 to 100. atrPct(len): ATR as a percentage of close, so volatility can be compared across stocks. trendEfficiency(src, len): net move divided by total path travelled, from 0 (choppy) to 1 (clean trend). rangePos(len): where the close sits inside the len-bar high-low range, 0 to 100. How to use: import g_T9PHE3Z1/PriceStats/2 as ps eff = ps.trendEfficiency(close, 20) vol = ps.atrPct(14) pos = ps.rangePos(50) Call each function once per bar at the top level of your script (not inside if or for). Values were checked against hand-written versions of the same formulas.

Library
Open source

Built an edge?Publish it.

Share your indicator or strategy free and open, or offer it as premium to India’s trading community.

Publishing guide