Buy Signal¶
EA · Entries
When true, open a long position. Wire into EAOutput.entry_long.
Buy Signal marks a condition as your long entry for an exported / live strategy. It's a labelling block: whatever boolean you wire in, when it's true, the strategy opens a long. Its real job is semantic clarity — it names the role of a signal in the graph so the EA Output knows "this is the buy trigger," and so anyone reading the strategy sees exactly which condition opens longs.
How it works¶
The block is a pass-through: it takes one signal In and emits the same signal Out, unchanged. You wire your entry logic (a crossover, a confluence And, a structure trigger) into it, and wire its output into the EA Output's long-entry socket. It adds no logic of its own — it tags the signal's purpose. (When backtesting on the chart, you wire entry logic straight into the Tester's Buy socket instead; Buy Signal is the EA-side equivalent.)
When to use it¶
Use Buy Signal when building a strategy for EA Output (export / automation) and you want the long-entry condition clearly named and routed. It's the EA counterpart of wiring into the Tester's Buy socket. Functionally it's transparent, so its value is organisational — keeping a multi-signal graph readable about which condition does what.
Example¶
Label a long entry: wire a Crosses Above (fast MA over slow) into Buy Signal, then route Buy Signal into the EA Output's long-entry input. The strategy now opens a long whenever that crossover fires.
Tips & gotchas¶
- Pass-through, not logic — it labels a signal's role; it doesn't change it.
- EA-side counterpart of the Tester's Buy socket — use it when wiring into EA Output.
- Keeps graphs readable — name your entry, exit, and short conditions explicitly.
- Mirror is Sell Signal for shorts.
Related blocks¶
Inputs¶
| Socket | Type | What to wire in |
|---|---|---|
| In | signal |
Entry/exit trigger |
Outputs¶
| Output | Type | Plots as | Description |
|---|---|---|---|
| Out | signal |
— | Pass-through signal |
Reference auto-generated from the block catalog · category EA.