Gilito AIHelp

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:

Comparison Formulas
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.
Arithmetic Formulas
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.
Logical Formulas
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.
Available data sources: Open, High, Low, Close, Volume, any built-in indicator (RSI, MACD, Bollinger Bands, moving averages, etc.), and any previously created custom indicators.

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.

Warning: Be cautious of overfitting. An indicator built to perfectly match historical patterns on a single asset may perform poorly going forward. Simpler indicators that capture broad market dynamics tend to be more robust than complex, highly-tuned ones.
Tip: Start by modifying a built-in indicator rather than building from scratch. For example, create a custom RSI with a non-standard period, or a moving average crossover with specific timeframes that match your trading style.

Was this article helpful?

Still need help?

Browse these resources or use the chat widget in the bottom-right corner.