Triggers

Triggers

Triggers allow your agent to react automatically to live market conditions. They act as event-based activators for goals; firing whenever predefined technical conditions are met.

Each trigger monitors a specific market, timeframe, and indicator, and fires when that indicator crosses a threshold, reaches a limit, or meets a condition.

You can use triggers to automate analysis, signal detection, or execution logic — all without writing a single line of code.


How Triggers Work

  • Standalone Triggers fire independently (OR logic). Any standalone trigger becoming true will activate the goal.

  • Grouped Triggers fire only when all conditions in the group are met (AND logic). Use grouped triggers to chain multiple signals together.

  • OR Relationship Between Groups and Standalones: Multiple groups and standalones can coexist; any of them can fire the goal when conditions are met.

This system gives you full flexibility to design simple or complex trading conditions with intuitive visual logic.


Creating a Trigger

Each trigger follows a guided creation flow.

1. Select Market

Choose the cryptocurrency pair you want to monitor, such as BTC/USD, SOL/USD, or AAVE/USD. Each market represents a live price feed supported by Cod3x’s data infrastructure.


2. Select Timeframe

Pick the candle interval used to evaluate your condition:

  • 15 Minutes – Fast-paced, short-term signals

  • 1 Hour – Intraday setups

  • 4 Hours – Swing signals

  • 1 Day – Long-term trend filters

Timeframe directly affects signal sensitivity and trigger frequency.


3. Select Indicator

Choose from a wide range of supported indicators, grouped by category:

Price & Volume

  • Price

  • VWAP

  • On-Balance Volume

Moving Averages

  • SMA (20, 50, 200)

  • EMA (12, 26)

Momentum

  • RSI

  • MACD (Line, Signal, Histogram)

  • Stochastic

  • and more....

Cod3x continuously expands indicator support to cover more technical setups.


4. Select Condition

Define when the trigger should fire. Conditions vary by indicator type:

Crossing

  • Crosses Above

  • Crosses Below

Comparison

  • Greater Than

  • Less Than

  • Equals

Specialized Signals

  • RSI Oversold / Overbought

  • Bollinger Upper / Lower Band Touch

  • Price Crossing VWAP

  • and more...

Each condition describes the exact market event your agent will wait for.


5. Enter Value (If you didn't select specialized signals)

For comparison or crossing conditions, specify a numeric threshold — e.g. RSI < 30 or Price crosses above 4200. This determines the exact value at which your trigger activates.


6. Configure Mode

Control how often a trigger can fire:

  • Event Only – Fires once per crossover or state change.

  • First Entry – Fires once per condition becoming true, resets when false.

  • Cooldown Based – Repeats after a defined cooldown period (e.g., 6 hours).

  • Daily Maximum – Limits to one activation per 24 hours.

  • One-Shot – Fires once and disables itself until manually re-enabled.

Check the "Auto-scale cooldown by timeframe for it to adjust based on timeframe (e.g., 6 hours for 1h candles).


7. Review

Finally, review your configuration summary:

  • Market

  • Timeframe

  • Indicator

  • Condition

  • Trigger Mode

  • Cooldown

Once confirmed, click Add Trigger to attach it to the goal.


Combining Triggers

Cod3x supports both independent and grouped triggers:

  • Standalone triggers (OR logic) — fire individually. Example: “RSI Oversold on BTC OR AAVE OR SOL.”

  • Grouped triggers (AND logic) — require all conditions to be true. Example: “Price crosses above VWAP AND Bollinger Upper Band touches.”

This allows you to build sophisticated multi-signal systems without code, fully managed through Cod3x’s visual interface.


Time Triggers (Scheduler)

Time triggers let your agent run goals on a fixed schedule — ideal for consistent routines such as daily analysis, weekly reports, or periodic rebalancing. They operate independently of technical triggers, ensuring execution even when market conditions are idle.

How It Works

  • Schedule Type – Choose between Recurring, Daily, Weekly, or Manual.

  • Days of Week – Pick specific days for execution.

  • Execution Times – Add one or more times for each selected day (e.g., 09:00).

  • Timezone – Set the timezone to align scheduling across your agents.

Once saved, your agent will automatically execute the goal at the defined time(s), regardless of indicator or market state.

Tip: Combine time triggers with technical triggers to maintain continuous monitoring — for example, run “Market Scan” every morning at 09:00, and execute trades only when RSI or VWAP conditions are met.


Task Triggers

Task triggers let one goal activate another — creating sequential workflows between agents or between analysis and execution stages. They connect goals together, so results from one process can automatically kick off the next.

How It Works

  • Select Goal to Trigger From – Choose any existing goal as the source event.

  • Trigger Event – Define when this goal should fire:

    • On Start – When the source goal begins.

    • On Success – When the source goal completes successfully.

    • On Failure – When the source goal fails or errors out.

With task triggers, Cod3x can execute multi-stage routines — from scanning markets to entering, managing, and exiting positions — entirely on autopilot.

Last updated