Indicators
Reference for all supported indicators: parameters, output types, and how to use them in strategy conditions.
Navigation: Indicators (direct URL or strategy builder) — Indicators · Custom Indicators · Create Custom Indicator · OOB Indicators
About indicators in ATPAlgo
Indicators are the signals and values you compare in Strategy Builder entry and exit conditions. Each indicator returns a number, price, time, or status you combine with operators (Greater Than, Equal, etc.) against another indicator, a fixed value, or a strategy variable.
ATPAlgo ships three indicator kinds:
| Kind | What it is | Examples |
|---|---|---|
| OOB (out-of-the-box) | Curated technical indicators with parameters | RSI, EMA, MACD, BollingerBands |
| Inbuilt | Price, time, candle, and leg-runtime values | Close, DayHigh, Candle, LegPnL |
| Custom | Your own named wrapper around an OOB base + fixed parameters | MyRSI_21 (you create these) |
Browse and test values on the Indicators pages in the app (OOB library, custom indicators). In Strategy Builder, pick indicators from the condition operand dropdown and tune parameters in the Indicator parameters panel.
Using indicators in Strategy Builder
When you add an indicator to a condition:
- Select the indicator on the left or right operand.
- Open the Indicator parameters panel (
strategy-builder-indicator-params-panel). - Toggle Override defaults to change period, band type, candle number, etc.
- For options/futures legs, set Tracking instrument:
- Base — calculate on the underlying (e.g. NIFTY index)
- Trade — calculate on the traded contract (e.g. NIFTY CE option)
- Save the strategy — parameters are stored per condition.
Indicator values are evaluated on the strategy timeframe (Basic Strategy Details) unless the indicator defines its own interval (e.g. Candle interval parameter, Day* daily fields).
Quick reference — all supported indicators
| Indicator | Category | Type | Parameters |
|---|---|---|---|
| EMA | Trend | OOB (built-in) | period |
| SMA | Trend | OOB (built-in) | period |
| Supertrend | Trend | OOB (built-in) | period, multiplier |
| RSI | Momentum | OOB (built-in) | period |
| MACD | Momentum | OOB (built-in) | fastPeriod, slowPeriod, signalPeriod, outputType |
| BollingerBands | Volatility | OOB (built-in) | period, stdDev, bandType |
| ATR | Volatility | OOB (built-in) | period |
| SMA_VOLUME | Volume | OOB (built-in) | period |
| VWAP | Volume | OOB (built-in) | bandType, stdDevMultiplier |
| Support | Price | OOB (built-in) | lookbackPeriod, touchBufferPercent, minTouches, outputType |
| Resistance | Price | OOB (built-in) | lookbackPeriod, touchBufferPercent, minTouches, outputType |
| CurrentTime | Time | OOB (built-in) | None |
| DaysToExpiry | Time | Inbuilt | expiryType |
| DaysAfterExpiry | Time | Inbuilt | expiryType |
| DayOfWeek | Time | Inbuilt | None |
| DayOfMonth | Time | Inbuilt | None |
| GapPercentage | Time | Inbuilt | direction |
| Open | Price | Inbuilt | None |
| High | Price | Inbuilt | None |
| Low | Price | Inbuilt | None |
| Close | Price | Inbuilt | None |
| Volume | Volume | Inbuilt | None |
| PreviousOpen | Price | Inbuilt | None |
| PreviousHigh | Price | Inbuilt | None |
| PreviousLow | Price | Inbuilt | None |
| PreviousClose | Price | Inbuilt | None |
| PreviousVolume | Volume | Inbuilt | None |
| DayOpen | Price | Inbuilt | None |
| DayHigh | Price | Inbuilt | None |
| DayLow | Price | Inbuilt | None |
| DayClose | Price | Inbuilt | None |
| PreviousDayOpen | Price | Inbuilt | None |
| PreviousDayHigh | Price | Inbuilt | None |
| PreviousDayLow | Price | Inbuilt | None |
| PreviousDayClose | Price | Inbuilt | None |
| Candle | Price | Inbuilt | interval, number, outputParam |
| CurrentPrice | Price | Inbuilt | None |
| EntryCount | Leg status | Inbuilt | None |
| LegStatus | Leg status | Inbuilt | None |
| LegPnL | Leg status | Inbuilt | None |
| FirstEntryPrice | Leg status | Inbuilt | None |
| MinutesAfterEntry | Leg status | Inbuilt | None |
Trend indicators
EMA
| Property | Value |
|---|---|
| Category | Trend |
| Type | OOB (built-in) |
| Output value | Decimal (price level) |
Exponential Moving Average — a trend line that gives more weight to recent candles than older ones. Rising EMA suggests upward momentum; price above EMA is often read as bullish context (and vice versa).
Common in crossover strategies: compare Close or EMA(9) vs EMA(21), or require price Greater Than EMA before entry.
Example: EMA period 20 on a 5-minute chart = average of the last 20 five-minute closes, exponentially weighted.
Parameters
| Parameter | Type | Default | Min | Options | Meaning |
|---|---|---|---|---|---|
| period | Integer | 14 | 1 | — | Number of candles used to calculate the average (e.g. 9, 20, 50). |
SMA
| Property | Value |
|---|---|
| Category | Trend |
| Type | OOB (built-in) |
| Output value | Decimal (price level) |
Simple Moving Average — arithmetic mean of the last N closing prices. Smoother than raw price; often used for trend direction and support/resistance zones.
Example: SMA 50 on 15-minute NIFTY futures — medium-term trend filter.
Parameters
| Parameter | Type | Default | Min | Options | Meaning |
|---|---|---|---|---|---|
| period | Integer | 14 | 1 | — | Lookback period in candles. |
Supertrend
| Property | Value |
|---|---|
| Category | Trend |
| Type | OOB (built-in) |
| Output value | Decimal (price level) |
Supertrend — a trend-following line based on ATR (volatility). When price is above the line, trend is often treated as up; below the line, down. Popular for trailing-style entries and exits.
Example: Supertrend 10, 3.0 — classic default; tighten multiplier for more signals.
Parameters
| Parameter | Type | Default | Min | Options | Meaning |
|---|---|---|---|---|---|
| period | Integer | 10 | 1 | — | ATR lookback used inside the Supertrend formula. |
| multiplier | Decimal | 3 | 0.1 | — | Distance multiplier — higher values = wider band, fewer flip signals. |
Momentum indicators
RSI
| Property | Value |
|---|---|
| Category | Momentum |
| Type | OOB (built-in) |
| Output value | Decimal (0–100) |
Relative Strength Index — measures speed and magnitude of recent price changes. Typically read as overbought above 70, oversold below 30 (levels are strategy-dependent, not rules).
Example: Entry when RSI Greater Than 50 for momentum continuation; RSI Less Than 30 for mean-reversion setups.
Parameters
| Parameter | Type | Default | Min | Options | Meaning |
|---|---|---|---|---|---|
| period | Integer | 14 | 1 | — | RSI calculation period in candles. |
MACD
| Property | Value |
|---|---|
| Category | Momentum |
| Type | OOB (built-in) |
| Output value | Decimal |
Moving Average Convergence Divergence — trend/momentum combo from fast and slow EMAs plus a signal line. Use outputType to read the MACD line, signal line, or histogram value in conditions.
Example: Bullish cross: MACD (outputType MACD) Greater Than MACD (outputType SIGNAL) with matching fast/slow/signal periods.
Parameters
| Parameter | Type | Default | Min | Options | Meaning |
|---|---|---|---|---|---|
| fastPeriod | Integer | 12 | 1 | — | Fast EMA period. |
| slowPeriod | Integer | 26 | 1 | — | Slow EMA period. |
| signalPeriod | Integer | 9 | 1 | — | Signal line EMA period. |
| outputType | Text (dropdown) | MACD | — | MACD, SIGNAL, HISTOGRAM | MACD = main line; SIGNAL = signal line; HISTOGRAM = MACD minus signal. For crossovers, compare MACD output on left vs SIGNAL on right (two MACD operands with different outputType). |
Volatility indicators
BollingerBands
| Property | Value |
|---|---|
| Category | Volatility |
| Type | OOB (built-in) |
| Output value | Decimal (price level) |
Bollinger Bands — a middle band (SMA) plus upper/lower bands at N standard deviations. Used for volatility expansion/contraction and mean-reversion at band extremes.
Example: Buy when Close Less Than BollingerBands (bandType LOWER, period 20, stdDev 2).
Parameters
| Parameter | Type | Default | Min | Options | Meaning |
|---|---|---|---|---|---|
| period | Integer | 20 | 1 | — | SMA period for the middle band. |
| stdDev | Decimal | 2 | 0.1 | — | Standard deviation multiplier for upper/lower band distance. |
| bandType | Text (dropdown) | MIDDLE | — | UPPER, MIDDLE, LOWER | Which band value this condition reads. |
ATR
| Property | Value |
|---|---|
| Category | Volatility |
| Type | OOB (built-in) |
| Output value | Decimal (points) |
Average True Range — average true candle range over N periods. Measures volatility in points, not direction. Useful for dynamic stop distances or filtering quiet markets.
Example: Only enter when ATR Greater Than 15 on a 5-minute chart (sufficient movement).
Parameters
| Parameter | Type | Default | Min | Options | Meaning |
|---|---|---|---|---|---|
| period | Integer | 14 | 1 | — | ATR smoothing period. |
Volume indicators
SMA_VOLUME
| Property | Value |
|---|---|
| Category | Volume |
| Type | OOB (built-in) |
| Output value | Decimal |
Simple Moving Average of Volume — smoothed volume over N candles. Compare to current Volume to detect participation spikes.
Example: Breakout filter: Volume Greater Than SMA_VOLUME (period 20).
Parameters
| Parameter | Type | Default | Min | Options | Meaning |
|---|---|---|---|---|---|
| period | Integer | 20 | 1 | — | Volume averaging period. |
VWAP
| Property | Value |
|---|---|
| Category | Volume |
| Type | OOB (built-in) |
| Output value | Decimal (price level) |
Volume Weighted Average Price — session VWAP (resets each trading day). Institutional benchmark; price above VWAP often read as bullish intraday bias.
Example: Intraday long bias: Close Greater Than VWAP (bandType VWAP).
Parameters
| Parameter | Type | Default | Min | Options | Meaning |
|---|---|---|---|---|---|
| bandType | Text (dropdown) | VWAP | — | VWAP, UPPER, LOWER | VWAP = main line; UPPER/LOWER = deviation bands around VWAP. |
| stdDevMultiplier | Decimal | 2 | 0.1 | — | Band width for UPPER/LOWER outputs. |
Volume
| Property | Value |
|---|---|
| Category | Volume |
| Type | Inbuilt |
| Output value | Integer |
Volume of the current candle (share/contracts traded in that bar).
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
PreviousVolume
| Property | Value |
|---|---|
| Category | Volume |
| Type | Inbuilt |
| Output value | Integer |
Volume of the previous candle.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
Price indicators
Support
| Property | Value |
|---|---|
| Category | Price |
| Type | OOB (built-in) |
| Output value | Decimal (price level) |
Dynamic support — horizontal zones where price has bounced upward multiple times within a lookback window. Levels can flip to resistance when broken.
Example: Buy near support: Close Less Than Support (outputType NEAREST_SUPPORT) with minTouches 2.
Parameters
| Parameter | Type | Default | Min | Options | Meaning |
|---|---|---|---|---|---|
| lookbackPeriod | Integer | 50 | 5 | — | How many candles to scan for touch points. |
| touchBufferPercent | Decimal | 0.5 | 0.01 | — | Price tolerance (%) for counting a "touch" at a level. |
| minTouches | Integer | 2 | 2 | — | Minimum touches required to qualify as support. |
| outputType | Text (dropdown) | NEAREST_SUPPORT | — | NEAREST_SUPPORT, SUPPORT_1, SUPPORT_2, SUPPORT_3, SUPPORT_COUNT | NEAREST_SUPPORT = closest level below price; SUPPORT_1/2/3 = ranked levels; SUPPORT_COUNT = number of valid levels found. |
Resistance
| Property | Value |
|---|---|
| Category | Price |
| Type | OOB (built-in) |
| Output value | Decimal (price level) |
Dynamic resistance — horizontal zones where price has reversed down multiple times. Broken resistance may act as support.
Parameters
| Parameter | Type | Default | Min | Options | Meaning |
|---|---|---|---|---|---|
| lookbackPeriod | Integer | 50 | 5 | — | Lookback candles for level detection. |
| touchBufferPercent | Decimal | 0.5 | 0.01 | — | Touch tolerance as % of price. |
| minTouches | Integer | 2 | 2 | — | Minimum touches to confirm a level. |
| outputType | Text (dropdown) | NEAREST_RESISTANCE | — | NEAREST_RESISTANCE, RESISTANCE_1, RESISTANCE_2, RESISTANCE_3, RESISTANCE_COUNT | Same pattern as Support — nearest, ranked levels, or count. |
Open
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal |
Open price of the current candle on the strategy timeframe.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
High
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal |
High of the current candle.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
Low
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal |
Low of the current candle.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
Close
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal |
Close of the current candle — most common price reference for indicator comparisons.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
PreviousOpen
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal |
Open of the previous completed candle.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
PreviousHigh
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal |
High of the previous candle — often used for breakout conditions.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
PreviousLow
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal |
Low of the previous candle.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
PreviousClose
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal |
Close of the previous candle.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
DayOpen
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal |
Opening price of the current trading day (from daily candle logic).
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
DayHigh
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal |
Highest price so far today.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
DayLow
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal |
Lowest price so far today.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
DayClose
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal |
Current day close (updates through the session; at EOD equals official close).
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
PreviousDayOpen
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal |
Prior session open.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
PreviousDayHigh
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal |
Prior session high.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
PreviousDayLow
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal |
Prior session low.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
PreviousDayClose
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal |
Prior session close — common anchor for gap and overnight strategies.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
Candle
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal or Integer (Volume) |
Reference any candle from the start of the trading day by interval and candle number. More flexible than fixed PreviousHigh/DayOpen shortcuts — use for "first 5-minute candle high", "third 15-minute candle close", etc.
Example: First 5-minute candle high → interval 5, number 1, outputParam High. Breakout above that level → Close Greater Than Candle (5, 1, High).
Parameters
| Parameter | Type | Default | Min | Options | Meaning |
|---|---|---|---|---|---|
| interval | Integer | 1 | 1 | — | Candle size in minutes (e.g. 5 = 5-minute bars counted from market open). |
| number | Integer | 1 | 1 | — | 1-based candle index from day start (1 = first bar of that interval today). |
| outputParam | Text (dropdown) | Close | — | Open, High, Low, Close, Volume | Which field to read from that candle. |
For options/futures legs, set Tracking instrument to Base (underlying) or Trade (leg contract) in the indicator parameters panel.
CurrentPrice
| Property | Value |
|---|---|
| Category | Price |
| Type | Inbuilt |
| Output value | Decimal (live quote) |
Live market price — when used in entry or exit conditions, the engine enables real-time price monitoring (default check interval ~2 seconds, configurable by administrators).
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
Use for tick-sensitive rules; backtests use historical bar prices unless live simulation mode applies.
Time indicators
CurrentTime
| Property | Value |
|---|---|
| Category | Time |
| Type | OOB (built-in) |
| Output value | Time (HH:MM) |
Current trading clock time — useful for time-window entries and exits (e.g. enter after 9:20 AM, square off before 3:15 PM). Compare against a fixed Time value on the other side of a condition.
Example: CurrentTime Greater or Equal 09:30 and CurrentTime Less Than 15:00 — trade only in session window.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
When one side of a condition uses CurrentTime, the other operand should use value type Time.
DaysToExpiry
| Property | Value |
|---|---|
| Category | Time |
| Type | Inbuilt |
| Output value | Integer (calendar days) |
Number of calendar days until the selected contract expiry. The expiry date itself is 0; weekends and exchange holidays still count as calendar days.
Example: Enter an options strategy only on expiry day: DaysToExpiry Equal 0.
Parameters
| Parameter | Type | Default | Min | Options | Meaning |
|---|---|---|---|---|---|
| expiryType | Text (dropdown) | WEEKLY | — | WEEKLY, MONTHLY | For Options, choose WEEKLY (default) or MONTHLY. Futures always use MONTHLY, regardless of this setting. |
Available only for F&O legs. Options use WEEKLY expiry by default and can be changed to MONTHLY; Futures support MONTHLY only.
DaysAfterExpiry
| Property | Value |
|---|---|
| Category | Time |
| Type | Inbuilt |
| Output value | Integer (calendar days) |
Number of calendar days since the selected contract expiry. The expiry date itself is 0; weekends and exchange holidays still count as calendar days.
Example: Allow a rule one calendar day after expiry: DaysAfterExpiry Equal 1.
Parameters
| Parameter | Type | Default | Min | Options | Meaning |
|---|---|---|---|---|---|
| expiryType | Text (dropdown) | WEEKLY | — | WEEKLY, MONTHLY | For Options, choose WEEKLY (default) or MONTHLY. Futures always use MONTHLY, regardless of this setting. |
Available only for F&O legs. Options use WEEKLY expiry by default and can be changed to MONTHLY; Futures support MONTHLY only.
DayOfWeek
| Property | Value |
|---|---|
| Category | Time |
| Type | Inbuilt |
| Output value | Integer (0–6) |
Calendar weekday of the current evaluation: 0 = Monday, 1 = Tuesday, 2 = Wednesday, 3 = Thursday, 4 = Friday, 5 = Saturday, 6 = Sunday.
Example: Restrict a condition to Monday: DayOfWeek Equal 0.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
Available for Cash, Futures, and Options legs.
DayOfMonth
| Property | Value |
|---|---|
| Category | Time |
| Type | Inbuilt |
| Output value | Integer (1–31) |
Calendar day number of the current evaluation, from 1 through 31.
Example: Run a condition on the first calendar day of a month: DayOfMonth Equal 1.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
Available for Cash, Futures, and Options legs.
GapPercentage
| Property | Value |
|---|---|
| Category | Time |
| Type | Inbuilt |
| Output value | Decimal (signed percentage) |
Signed opening gap versus the previous actual trading session close: ((current session open - previous actual trading session close) / previous actual trading session close) * 100. Weekends, holidays, and other non-trading dates are skipped when locating that previous close.
Example: A previous actual trading session close of 100 and current session open of 102 produces +2%; an open of 98 produces -2%.
Parameters
| Parameter | Type | Default | Min | Options | Meaning |
|---|---|---|---|---|---|
| direction | Text (dropdown) | BOTH | — | BOTH, UP, DOWN | BOTH returns the signed value (default); UP returns positive gaps only; DOWN returns negative gaps only. |
Available for Cash, Futures, and Options legs. BOTH is the default. UP does not turn down gaps positive, and DOWN does not turn up gaps negative; each direction keeps only values with its matching sign.
Leg status indicators
EntryCount
| Property | Value |
|---|---|
| Category | Leg status |
| Type | Inbuilt |
| Output value | Integer |
How many times this leg has entered a position (includes re-entries).
Example: Only allow first entry: EntryCount Equal 0 before entry condition.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
LegStatus
| Property | Value |
|---|---|
| Category | Leg status |
| Type | Inbuilt |
| Output value | Integer (code) |
Numeric code for the leg state machine:
| Code | Meaning |
|---|---|
| 0 | AWAITING_ENTRY |
| 1 | ENTRY_FOUND (in position) |
| 2 | AWAITING_RE_ENTRY |
| 3 | COMPLETED |
| 4 | ERROR |
| 5 | PAUSED |
Example: Exit helper: enter only when LegStatus Equal 0.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
LegPnL
| Property | Value |
|---|---|
| Category | Leg status |
| Type | Inbuilt |
| Output value | Decimal (₹) |
Unrealized or realized P&L for this leg in the current run.
Example: Scale-out rule: LegPnL Greater Than 5000 (combine with exit condition).
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
FirstEntryPrice
| Property | Value |
|---|---|
| Category | Leg status |
| Type | Inbuilt |
| Output value | Decimal |
Price at which the first entry of this leg was executed (useful for breakeven or trail logic in conditions).
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
Defaults Tracking instrument to Trade (the leg contract).
MinutesAfterEntry
| Property | Value |
|---|---|
| Category | Leg status |
| Type | Inbuilt |
| Output value | Integer (minutes) |
Minutes elapsed since the last entry on this leg.
Example: Time stop in condition form: MinutesAfterEntry Greater Than 30.
Parameters
No configurable parameters — the indicator uses the strategy instrument and candle timeframe.
Custom indicators
Custom indicators let you save a reusable preset of an OOB indicator with fixed parameters (e.g. RSI with period 21 always named MyRSI_21).
| Step | Action |
|---|---|
| 1 | Open Indicators → Custom → New custom indicator |
| 2 | Choose a base OOB indicator (EMA, RSI, MACD, etc.) |
| 3 | Set name, description, and parameter values |
| 4 | Save — the custom name appears in Strategy Builder condition pickers |
Custom indicators inherit the base indicator’s meaning and value type; only the defaults differ.
Calculate indicator values (Indicators page)
On Indicators → OOB, you can sanity-check an indicator outside a strategy:
| Field | Purpose |
|---|---|
| Indicator | Which signal to compute |
| Instrument | Symbol to run on |
| Date/time range | Historical window |
| Parameters | Same fields as Strategy Builder |
| Calculate | Table of historical values |
| Get Latest Value | Most recent reading |
Use this to verify periods, bands, and support/resistance settings before wiring them into a strategy.
Tips for condition design
- Match units — Compare RSI (0–100) to numbers 0–100, not to price. Compare Close to EMA, not to RSI.
- MACD crossovers — Use two MACD operands with different outputType (MACD vs SIGNAL).
- Bollinger / VWAP bands — Set bandType to the band you intend to test against price.
- Time rules — Pair CurrentTime with a fixed Time literal on the other side.
- First candle patterns — Prefer Candle with interval + number; use DayOpen / PreviousDayClose shortcuts when they fit.
- Leg-aware logic — LegPnL, MinutesAfterEntry, and EntryCount reference only the current leg, not whole-strategy P&L (see Risk Management for strategy-level limits).
Suggested workflow
- Pick indicators from the quick reference for your idea (trend + momentum + time filter).
- Prototype values on Indicators → OOB with your instrument and dates.
- Add conditions in Strategy Builder and override parameters per leg.
- Backtest — confirm entries fire when you expect on historical data.
Indicator readings describe past and current market data mathematically. They do not guarantee future results. Algo Trading Platform provides tools to implement your rules — not trading recommendations.
Workflow
Step-by-Step
- Open Indicators → OOB to browse built-in indicators, or use the indicator reference below.
- For each indicator, note category, parameters (period, bandType, etc.), and output value type.
- In Strategy Builder, add indicators to entry/exit conditions and override parameters in the Indicator parameters panel.
- Create custom indicators to save reusable parameter presets (Indicators → Custom).
- Use Calculate on the Indicators page to verify values on historical data before backtesting.
Use the ? help icon in the app toolbar on any page to jump directly to its documentation section.
Screenshots
Add PNG files under atp-docs/static/img/ and map them in scripts/generate-docs.js (PAGE_SCREENSHOTS).
Example: 