StratBase.aiStratBase.ai
DashboardCreate BacktestMy BacktestsCatalogBlogNewsToolsHelp

Products

  • Researcher Dashboard
  • Create Backtest
  • My Backtests
  • Catalog
  • Blog
  • News

Alerts

  • Calendar
  • OI Screener
  • Funding Rate
  • REKT
  • Pump/Dump

Company

  • About Us
  • Pricing
  • Affiliate
  • AI Widget
  • Contact

Legal

  • Privacy
  • Terms
  • Refund Policy

Support

  • Help Center
  • Reviews
StratBase.aiStratBase.ai

Think it. Test it.

StratBase.ai does not provide financial advice or trading recommendations. AI only formalizes user ideas into testable strategy configurations for research purposes. Past backtesting performance does not guarantee future results. All trading decisions and associated risks are the sole responsibility of the user. This platform is not a broker and does not facilitate real trading.

© 2026 StratBase.ai · AI-powered strategy research and backtesting platform

support@stratbase.ai
How to Configure Entry Conditions in StratBase.ai
How-ToENentry conditionsstrategy configuration

How to Configure Entry Conditions in StratBase.ai

David Ross2/28/2026(updated 5/3/2026)5 min read122 views

Entry conditions determine when your strategy opens a position. In StratBase.ai, conditions are built using indicators, comparison operators, and threshold values — combined with AND logic so all conditions must be true simultaneously. Getting this right is the foundation of every profitable strategy. This tutorial walks you through the condition builder, explains each operator, and shows how to avoid the most common setup mistakes.

The Condition Builder

Each condition has three parts: the indicator (what you're measuring), the operator (how you're comparing), and the target (what you're comparing against). For example: RSI(14) [crosses below] [30] — indicator is RSI with period 14, operator is “crosses below,” target is the value 30.

The target can be a fixed number or another indicator. When comparing two indicators — like EMA(20) crosses above EMA(50) — you're building a crossover condition that triggers when the fast indicator overtakes the slow one.

Understanding Operators

OperatorBehaviorBest For
Crosses AboveTrue only on the bar where value transitions from below to above targetCrossover entries, breakout signals
Crosses BelowTrue only on the transition bar from above to belowBreakdown signals, oversold entries
Is AboveTrue every bar while value stays above targetTrend filters (price above MA)
Is BelowTrue every bar while value stays below targetTrend filters (RSI below threshold)
Is BetweenTrue when value is within a rangeRange filters (RSI between 40–60)

Single vs Multi-Condition Strategies

Single condition: “RSI(14) crosses below 30” — simple, generates many signals, lower win rate but catches every oversold event. Good for starting out and understanding how individual indicators behave.

Two conditions (signal + filter): “RSI(14) crosses below 30 AND price is above EMA(200)” — the RSI is the signal, the EMA is the trend filter. Dramatically reduces false signals by only buying dips in uptrends. This is the most common professional setup.

Three+ conditions: Adding more filters (volume, ADX, additional indicator) further reduces trade count. Be cautious — every additional condition risks curve fitting. If a strategy needs 5 conditions to be profitable, it's probably overfitted to historical data.

AND vs OR Logic for Multiple Conditions

In StratBase.ai, all entry conditions combine with AND logic — every condition must be true simultaneously for a trade to open. This produces fewer but higher-quality signals because every filter must align at once.

If you want OR-like behavior — “enter when RSI crosses below 30 OR when MACD crosses above zero” — create two separate backtests, one per signal, and compare them independently. This keeps each strategy's performance isolated and measurable.

A practical middle ground: use one primary trigger condition (the signal) and make remaining conditions act as filters. For example, MACD histogram crosses above zero (trigger) AND price is above EMA(200) (trend filter) AND ADX is above 20 (strength filter).

Building a Complete Entry: Step by Step

  1. Choose your primary signal indicator (RSI, MACD, Stochastic, etc.)
  2. Set the operator — use “crosses above/below” for event-based entries
  3. Set the threshold — start with standard values (RSI: 30/70, MACD: 0)
  4. Add a trend filter — “price is above EMA(50)” or “ADX is above 25”
  5. Optionally add a volume or volatility filter for confirmation

Testing Individual Conditions Before Combining

Before stacking multiple conditions, test each one in isolation. Run a backtest with only your primary signal (e.g., RSI crosses below 30) and examine the raw results: how many trades? What's the baseline win rate?

Then add one filter at a time. Adding “price above EMA(200)” should reduce trade count while improving win rate. If a filter reduces trades but doesn't improve profit factor, it adds complexity without value — remove it.

This prevents a common trap: building a multi-condition strategy where one condition does all the work and the others are dead weight.

Common Condition Configuration Mistakes

Using only “is above/below” operators: If all conditions are continuous (“RSI is below 50 AND price is above EMA”), the strategy enters on every single bar that meets these conditions — potentially buying repeatedly. At least one condition should be an event trigger (“crosses above/below”) to create discrete entry signals.

Conflicting conditions: “RSI crosses above 70 AND RSI is below 30” can never be true simultaneously. The system won't prevent logical impossibilities — always review your conditions for conflicts.

Too many conditions: Each condition halves your trade count roughly. Five conditions might leave you with 2–3 trades over a year — not enough data for statistical significance. Keep it to 2–3 conditions maximum for most strategies.

Redundant indicators: Using both RSI(14) and Stochastic RSI(14) as separate conditions adds little value because both measure the same underlying momentum. Choose one oscillator for your signal and pair it with a structurally different filter — a trend indicator (EMA, ADX) or a volatility indicator (Bollinger Bands, ATR).

Ignoring indicator lag: Moving averages and smoothed oscillators inherently lag price action. A 200-period EMA filter won't shift from bearish to bullish until well after a trend change has occurred. Factor this lag into your expectations — the filter will miss the first portion of every new trend by design.

Pro tip: 236 indicators are available in StratBase.ai's engine, including 71 standard, 12 futures-specific, 61 candlestick patterns, 35 time filters, 34 price levels, and 23 pivot point variants. Start with the classics (RSI, MACD, EMA, Bollinger Bands) before exploring exotic indicators.

FAQ

How many entry conditions can I add?

Up to 5 per strategy, combined with AND logic. Start with 1–2, add filters carefully. More conditions = fewer but potentially higher-quality trades.

What comparison operators are available?

Crosses above/below (event-triggered), is above/below (continuous state), is between (range). Use “crosses” for entry signals and “is above/below” for trend filters.

Can I compare two indicators?

Yes. Compare indicator vs fixed value (RSI > 70) or indicator vs indicator (EMA 20 crosses above EMA 50) for crossover strategies.

Further Reading

  • RSI on Investopedia
  • MACD on Investopedia
  • Bollinger Bands on Investopedia

About the Author

D
David Ross

Financial data analyst focused on crypto derivatives and on-chain metrics. Expert in futures market microstructure and funding rate strategies.

FAQ

How many entry conditions can I add?▾

StratBase.AI supports up to 5 entry conditions per strategy, combined with AND logic — all conditions must be true simultaneously for a trade to trigger. Start with 1-2 conditions for simplicity, then add filters as needed. More conditions means fewer trades but potentially higher quality signals.

What comparison operators are available?▾

Available operators include: crosses above, crosses below, is above, is below, is between, equals. 'Crosses above/below' triggers only on the bar where the crossing occurs — it's a one-time event. 'Is above/below' is a continuous condition that's true every bar the condition holds. Choose based on whether you want event-triggered or state-based entries.

Can I compare two indicators to each other?▾

Yes. Each condition can compare an indicator against a fixed value (RSI > 70) or against another indicator (EMA 20 crosses above EMA 50). Indicator-vs-indicator conditions are how you build crossover strategies, and they're some of the most powerful setups available.

Further reading

Pivot Point

Related articles

multi condition strategy setupsetup backtest correctlyaccount slippage backtestingaccumulation distribution guideadx trend strength guide

Comments (0)

Loading comments...