TradingCharts

TradingCommunity

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

Trending Scripts

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

Donchian Trend Rider

This strategy follows trends with breakouts. It enters when price closes beyond the previous 20-bar high or low, and only in the direction of the EMA 100 trend. It exits when price closes beyond the 10-bar opposite channel, which acts like a trailing stop. A hard ATR stop is set at entry. The channel lengths, trend filter and shorts are all adjustable. It tends to take several small losses in sideways markets and make them back on the big trends.

Strategy
Protected

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