# Chartink scan converter

> Convert a Chartink scan to this screener in one paste. Offsets, crossovers, moving averages and the F&O segment translate; anything that cannot is named rather than dropped.

Canonical: https://dev.patternsradar.com/tools/chartink-converter

Paste a Chartink `scan_clause` and get the same scan in Sift, ready to run — and then the thing Chartink cannot tell you, which is what its matches did next.

## Using it

- `https://dev.patternsradar.com/tools/chartink-converter`: the empty form.
- `https://dev.patternsradar.com/tools/chartink-converter?clause=<scan_clause>`: converts on load. Not indexed, because one scan has as many URLs as it has spellings.
- `POST https://api-dev.patternsradar.com/v1/chartink/convert` with `{"clause": "..."}` answers `{sift, ok, diagnostics}`. No key needed.

## An example

```
( {cash} ( latest volume > 2 * latest sma( latest volume , 20 ) and latest close > 1 day ago close ) )
```

becomes

```sift
where volume > 2 * avg(volume, 20) and close > close[-1]
```

## What translates

- Moving averages, RSI, MACD, Bollinger Bands, Stochastic, ADX and the rest of the daily indicator set.
- Offsets: `1 day ago close` becomes `close[-1]`.
- Crossovers, as their own operator rather than a pair of comparisons.
- `and`, `or`, sub-groups, and the F&O segment.

## What does not

Anything intraday. This dataset holds one bar per trading day, published after the close, so a 15-minute crossover has no data underneath it rather than a slower version of itself. VWAP and the trade-book fields go the same way, and a saved Chartink watchlist is a list of symbols on somebody's account that nothing here can stand in for.

A clause that cannot be carried across fails the whole conversion and names the fragment responsible. There is no partial mode: a screener that quietly dropped one condition would return a different list of stocks under the same name, and the reader would have no way to notice.

[How the two languages compare, side by side](https://dev.patternsradar.com/blog/chartink-formulas-to-sift.md). [The full language reference](https://dev.patternsradar.com/docs/sift.md). [How the two screeners compare](https://dev.patternsradar.com/compare/chartink-alternative.md).

The rendered page converts, runs the result against the latest session and reports what it matched: https://dev.patternsradar.com/tools/chartink-converter.

---

Price and delivery data from the [eod2](https://github.com/BennyThadikaran/eod2) dataset: National Stock Exchange of India end-of-day files, split- and bonus-adjusted, updated after each close. Not affiliated with or endorsed by NSE. PatternsRadar is a research tool. Nothing here is investment advice or a recommendation to buy or sell anything.
