Logic Nodes
The brain of your strategy. Combine signals to create complex decision rules.
Crossover / Crossunder
Detects when one data series crosses another. Essential for trend reversals.
Inputs:
- Fast/Signal: The line that does the crossing.
- Slow/Ref: The line being crossed (or set a fixed Threshold).
Outputs:
- Cross Up: True when Fast crosses above Slow.
- Cross Down: True when Fast crosses below Slow.
- Any Cross: True on any intersection.
Logic Gates (AND / OR / NOT)
Standard boolean logic to combine multiple conditions.
AND Gate
Output is True only if ALL inputs are True. Useful for requiring multiple confirmations (e.g., RSI < 30 AND Price > SMA).
OR Gate
Output is True if ANY input is True. Useful for alternative entry conditions.
NOT Gate
Inverts the signal (True becomes False, False becomes True).
Comparator
Checks if Value A is greater than, less than, or equal to Value B.
Modes:
- Greater Than: True if A > B.
- Less Than: True if A < B.
- Generic Compare: Select operator (>, <, >=, <=, ==).
Usage Example:
Connect RSI Value to Input A and set Input B (Threshold) to 50. Output will be True whenever RSI is above 50.
Latch (Set/Reset)
Maintains state based on Set and Reset signals. Useful for building state machines or remembering events until reset.
Inputs:
- Set: Activates the latch (Output becomes True).
- Reset: Deactivates the latch (Output becomes False).
Behavior:
The output stays True after a "Set" signal, even if "Set" goes back to False. It only returns to False when a "Reset" signal is received. If both are True, "Set" usually takes priority.