Reference
Reference
Complete reference documentation for indicators, expressions, code blocks, and custom data sources.
This section contains detailed reference documentation for all AlgoHive features.
Indicators
All available technical indicators organized by category:
- Trend — Moving averages, SAR, trend followers
- Momentum — RSI, MACD, Stochastic, ADX
- Volatility — ATR, Bollinger, Keltner, Donchian
- Volume — OBV, VWAP, MFI
- Math — Highest, Lowest, Sum, Change
- Comparison — Cross above/below, Rising, Falling
- Time — Hour, Day, Date functions
- Position — Entry price, P&L, bars since entry
Expression Syntax
How to write expressions in analysis blocks:
- Data access (
btc.close) - Function calls (
RSI(btc.close, 14)) - Operators (
+,-,*,/,>,<,AND,OR) - Lookback (
close[1]for previous bar) - Struct access (
MACD().line)
Code Blocks
Write custom logic in JavaScript or Python:
- Available context API
- Indicator utilities
- Return format
- Best practices
Custom Data Sources
Integrate external data into your strategies:
- Fetch from any HTTP API
- On-chain data and DeFi metrics
- Sentiment and social data
- Custom column definitions