Entry Conditions — Logic Builder
Entry Conditions — Logic Builder
Entry conditions define when your strategy opens a position. The Logic Builder lets you combine multiple indicators with AND/OR logic to create precise entry signals.
Adding a Condition
- Click Add Condition in the Entry section
- Choose the indicator from 245+ available
- Set indicator parameters (period, source, etc.)
- Select a comparison operator (>, <, cross_over, etc.)
- Choose the comparison target — a fixed value, another indicator, or a price field
Example: RSI Oversold
| Field | Value | |-------|-------| | Indicator | RSI | | Period | 14 | | Operator | Less than | | Value | 30 |
This condition triggers when RSI(14) drops below 30.
AND Logic (Default)
By default, ALL conditions must be true simultaneously for an entry signal. This is AND logic.
Example: RSI < 30 AND Price > EMA(200)
- Both conditions must be true on the same candle
- More conditions = fewer but more precise signals
OR Groups
Create alternative entry signals using OR groups:
- Click Add OR Group
- Add conditions inside the new group
- The strategy enters when any one group is fully satisfied
Example:
- Group A: RSI < 30 AND MACD cross_over Signal
- Group B: Stochastic %K < 20 AND ADX > 25
The strategy enters if ALL conditions in Group A are true OR ALL conditions in Group B are true.
NOT Operator
Invert any condition with the NOT toggle:
- NOT (RSI > 70) = Enter when RSI is NOT above 70
- Useful for exclusion filters
Long and Short Conditions
For Both direction strategies:
- Long Entry — conditions for opening long positions
- Short Entry — conditions for opening short positions
Each direction has its own set of conditions with independent AND/OR logic.
Indicator Sources
When adding a condition, the indicator value can be compared to:
- Fixed value — a number (e.g., RSI < 30)
- Another indicator — e.g., SMA(50) > SMA(200)
- Price fields — Open, High, Low, Close
- Other indicator outputs — e.g., MACD Line vs Signal Line
Condition Limits
There is no hard limit on the number of conditions, but:
- More conditions = fewer signals = fewer trades
- Very complex strategies may overfit to historical data
- Start simple and add conditions incrementally
Tip: Start with 1-2 entry conditions. Run the backtest, analyze results, then add more conditions to filter out bad trades. Over-optimizing with too many conditions often leads to curve-fitting.
FAQ
Q: What's the difference between AND and OR? A: AND requires ALL conditions to be true simultaneously. OR means any ONE group being fully satisfied triggers the entry.
Q: Can I mix AND and OR? A: Yes. Within each OR group, conditions are connected by AND. Between groups, the logic is OR. This gives you full flexibility.
Q: How many conditions should I use? A: Typically 2-4 conditions work well. More than 6-7 conditions often leads to overfitting.

