Creating Custom Indicators
Gilito comes with a library of built-in technical indicators, but you can also create your own custom indicators using the no-code indicator builder. Custom indicators let you define unique calculations and conditions that match your specific trading approach.
The No-Code Indicator Builder
The indicator builder provides a visual interface for constructing indicators without writing any code. You combine building blocks — price data, mathematical operations, and existing indicators — into custom formulas using a drag-and-drop workflow.
Step 1: Open the Indicator Builder
Navigate to Strategies > Custom Indicators > Create New.
Step 2: Name Your Indicator
Give your indicator a descriptive name (e.g., "Volume-Weighted Momentum" or "Custom RSI Divergence"). This name will appear when selecting indicators for strategies.
Step 3: Build the Formula
Use the visual formula editor to construct your indicator. You can combine data sources and operations to build the calculation.
Formula Types
The builder supports three categories of formula components:
Compare two values and produce a boolean (true/false) result. Examples include: price crosses above a moving average, RSI exceeds a threshold, or volume is greater than its 20-day average. Comparison formulas are commonly used as entry and exit conditions in strategies.
Perform mathematical operations on price data or other indicators. Examples include: the difference between two moving averages, a ratio of current price to its 52-week high, or a weighted sum of multiple indicators. Arithmetic formulas produce a numeric value that can be used in further calculations or comparisons.
Combine multiple conditions using AND, OR, and NOT operators. Examples include: RSI is oversold AND price is above the 200-day moving average, or MACD histogram is positive OR volume spike detected. Logical formulas are used to create complex multi-condition triggers.
Using Custom Indicators in Strategies
Once saved, your custom indicator becomes available for use in strategy configurations just like any built-in indicator:
- Select it as an entry or exit condition when building a strategy
- Combine it with other indicators (both built-in and custom) for multi-indicator strategies
- Use it as a filter to narrow down which assets a strategy applies to
- Reference it in agent conditions for custom monitoring rules
Evaluating Custom Indicators
After creating an indicator, you should evaluate its effectiveness before relying on it in live strategies:
Preview on Historical Data
The builder includes a preview chart that overlays your custom indicator on historical price data for any asset. This lets you visually inspect whether the indicator captures the patterns you intended.
Backtest with the Indicator
Create a strategy that uses your custom indicator and run a backtest to see how it would have performed historically. Compare results against strategies using built-in indicators to assess whether your custom indicator adds value.
Check Across Multiple Assets
An indicator that works well on one asset may not generalize to others. Test your indicator across multiple assets and market conditions to ensure it is robust.
Was this article helpful?
Still need help?
Browse these resources or use the chat widget in the bottom-right corner.