Indicators
Augy includes 21 built-in technical indicators and supports custom indicator functions.
Using indicators in agents
Import indicators at the top of your agent code:
from augy_indicators import sma, ema, rsi, macd
All functions take a list of price values and return the current indicator value. Append prices on each bar, then call the indicator function with your price history.
Trend indicators
SMA -- Simple Moving Average
Average of the last N closing prices.
EMA -- Exponential Moving Average
Weighted average giving more importance to recent prices.
WMA -- Weighted Moving Average
Linearly weighted average. More recent prices have higher weight.
DEMA -- Double Exponential Moving Average
Faster reaction than EMA by reducing lag.
TEMA -- Triple Exponential Moving Average
Fastest reaction of the EMA family. Minimal lag.
Momentum indicators
RSI -- Relative Strength Index
Oscillator from 0-100. Above 70 = overbought, below 30 = oversold.
Stochastic Oscillator
Returns (%K, %D). Compares closing price to the high-low range.
Williams %R
Range -100 to 0. Similar to Stochastic, inverted scale.
ROC -- Rate of Change
Percentage change over N periods.
CCI -- Commodity Channel Index
Measures deviation from the statistical mean. Values above +100 or below -100 indicate extreme conditions.
MFI -- Money Flow Index
Volume-weighted RSI. Range 0-100.
Volatility indicators
Bollinger Bands
Returns (upper, middle, lower). Bands expand/contract with volatility.
ATR -- Average True Range
Measures market volatility. Useful for setting stop losses.
Keltner Channel
Returns (upper, middle, lower). EMA-based channel using ATR for bandwidth.
Volume indicators
OBV -- On-Balance Volume
Cumulative volume indicator. Rising OBV suggests buying pressure.
VWAP -- Volume-Weighted Average Price
Average price weighted by volume. Common intraday benchmark.
Overlap indicators
MACD -- Moving Average Convergence Divergence
Returns (macd_line, signal_line, histogram). Classic trend-following momentum indicator.
ADX -- Average Directional Index
Measures trend strength from 0-100. Above 25 indicates a strong trend.
Ichimoku Cloud
Returns dict with tenkan_sen, kijun_sen, senkou_a, senkou_b. Comprehensive trend system.
Custom indicators
Create your own indicator functions from the Indicators page in the app. Write a Python function, give it a name and description, and it becomes available to all your agents.
Importing custom indicators
from custom_indicators.my_indicator import *
Replace my_indicator with the name you gave your custom indicator.
Chart overlay
You can overlay up to 5 indicators on the candlestick chart in both the agent editor preview and backtest results. Select indicators from the dropdown above the chart to visualize how they relate to price action.