> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trinigence.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Indicators & Logic Overview

> How indicators are used, combined, and interpreted inside Trinigence strategies.

## What indicators represent

Indicators are **tools for transforming raw price and volume data into signals**.

In Trinigence, indicators:

* never act on their own
* are always part of explicit logic
* are evaluated deterministically

Indicators help answer questions like:

* Is the market trending or ranging?
* Is momentum increasing or weakening?
* Is price overbought or oversold?

***

## Indicators vs logic

It’s important to separate **indicators** from **logic**.

* **Indicators** produce values or states
* **Logic** decides what to do with those values

Example:

```text theme={null}
RSI(14) > 50
```

* RSI(14) → indicator
* > 50 → logic

***

## Common indicator categories

Trinigence supports a wide range of indicator types.

<Columns cols={2}>
  <Card title="Trend indicators" icon="arrow-trend-up">
    EMA, SMA, Supertrend, Moving Averages.
  </Card>

  <Card title="Momentum indicators" icon="gauge-high">
    RSI, MACD, Stochastic.
  </Card>

  <Card title="Volatility indicators" icon="chart-area">
    ATR, Bollinger Bands.
  </Card>

  <Card title="Volume indicators" icon="chart-column">
    Volume, VWAP, OBV.
  </Card>
</Columns>

***

## Indicator outputs

Indicators typically output one of the following:

* numeric values (e.g. RSI = 62)
* directional states (trend up/down)
* crossover events
* relative comparisons

These outputs are then used inside conditions.

***

## Common logic patterns

Indicators are combined using logic patterns.

Examples:

```text theme={null}
EMA(20) > EMA(50)
RSI(14) crosses above 50
MACD line crosses above signal
```

Logic patterns include:

* comparisons
* crossovers
* threshold checks
* state changes

***

## Multiple indicators together

Strategies often combine indicators.

Example:

```text theme={null}
Go long when:
- EMA(20) > EMA(50)
- RSI(14) > 50
- MACD > signal
```

<Info>
  More indicators do not automatically mean better strategies.
</Info>

***

## Indicator parameters

Indicator parameters control sensitivity.

Examples:

* RSI length
* EMA period
* ATR window

Changing parameters can drastically alter behavior, especially across timeframes.

***

## Evaluation timing

Indicators are evaluated:

* on candle close
* on the strategy timeframe
* in the order defined by logic

<Warning>
  Indicator values are not evaluated intrabar by default.
</Warning>

***

## Defaults and assumptions

If indicator parameters are:

* explicitly defined → used as-is
* omitted but standard → ATI applies defaults
* ambiguous → ATI asks for clarification

<Card title="What Trinigence fills automatically" icon="robot" href="/writing-ideas/what-trinigence-fills-automatically" horizontal>
  See how indicator defaults are inferred.
</Card>

***

## Common mistakes

<AccordionGroup>
  <Accordion title="Using too many indicators">
    Redundant indicators often measure the same thing.
  </Accordion>

  <Accordion title="Ignoring timeframe effects">
    Indicator behavior changes dramatically with timeframe.
  </Accordion>

  <Accordion title="Over-optimizing parameters">
    Tight parameter tuning often fails out of sample.
  </Accordion>
</AccordionGroup>

***

## Best practices

* Start with one indicator
* Understand what it measures
* Combine indicators intentionally
* Validate behavior visually

<Card title="Indicator conditions" icon="code-branch" href="/indicators-logic/conditions" horizontal>
  Learn how indicators are used inside logic.
</Card>

***

## What to read next

<CardGroup cols={2}>
  <Card title="Indicator conditions" icon="code-branch" href="/indicators-logic/conditions">
    How indicator outputs become rules.
  </Card>

  <Card title="Indicator categories" icon="layer-group" href="/indicators-logic/categories">
    Explore indicator types in detail.
  </Card>

  <Card title="Strategy entry logic" icon="arrow-right-to-bracket" href="/strategy-structure/entry-logic">
    How indicators trigger trades.
  </Card>

  <Card title="Writing trading ideas" icon="pen-fancy" href="/writing-ideas/how-to-write-a-trading-idea">
    Express indicator logic clearly.
  </Card>
</CardGroup>

<Note>
  Indicators describe the market.\
  Logic defines the decision.
</Note>
