TradingCharts

TradingCommunity

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

Trending Scripts

OTT Trend Strategy

A trend-following strategy built on an OTT-style trend line: a CMO-weighted moving average with a percent trailing line around it. It goes long when the moving average crosses above the trend line and short when it crosses below, and each flip closes the opposite trade. How to use: add it to a chart and open Backtest. Inputs are the moving average length (2), the trailing percent (1.4), a switch to allow or block shorts, and an optional intraday square-off time for intraday testing. A smaller percent reacts faster but flips more often, and a larger one filters noise but enters later. This is an OTT-style build from the published formula, so check it on your own symbols and timeframes before relying on it. Past results do not guarantee future returns.

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