Overview
An auto-trader assistant bot to help with entering trades where one wishes to enter on a breakout from a range. Often this involves waiting for price to breakout from one of the range (either from the top or the bottom).
How Does it Work
User sets reference to signal
User sets reference to long entry price
User sets reference to short entry price
User sets the entry quantity
When signal is fired the following happens:
- Buy Stop entry order is placed above at the long entry price
- Sell Stop entry order is placed below at the short entry price
These entry orders are placed as OCO's. When one gets filled, the other will get canceled.
SC Trade Window definitions are used for setting attached orders for the exits.
Once a trade triggers, no more trades are taken till flat. All further signals are ignored.
Inputs
Entry Signal Reference - reference to a subgraph - when this subgraph has non-zero value, entry orders are placed
Long Entry Price Reference - Reference to subgraph - Buy Stop order will be placed at this price level
Short Entry Price Reference - Reference to subgraph - Sell Stop order will be placed at this price level
When Are Signals Ignored
Signals are ignored in the following situations:
- If price is outside the range (i.e., above the long entry price or below the short entry price)
- If there is an open position signals will be ignored