Operation manual
Build a visual strategy
Understand left input ports, settings, data types and fixed values, with practical wiring examples.
Four kinds of building blocks
Data nodes provide prices or bars. Indicator nodes turn them into numeric outputs. Conditions compare values or detect crossings. Actions consume a Boolean condition and create an order, close a position or perform another supported action. Numeric outputs must not be wired directly to an action’s condition input.
- Close feeds the MACD Input Price. Use the same instrument and timeframe throughout.
- MACD Line and Signal Line feed both cross nodes. Their order matters: MACD Line is the left value.
- The upward cross triggers entry; the downward cross triggers exit. Blue ports carry numbers; green ports carry conditions.
- Entry reads a Boolean Trigger Condition. Quantity, ATR, Limit Price and Trigger Price are optional inputs used by the configured mode; unused ports are not necessarily errors.
Read a block: inputs, outputs and settings
Ports on the left are inputs: what the block reads. Ports on the right are outputs: what it produces. Select the block to configure settings such as length, side and order type in the inspector. You do not need to connect every port.
The component library at the far left adds blocks to the canvas. Data & Parameters is a library category, not the selected block’s property sheet. Add a block, then select it to inspect its inputs and settings.
| Block | What the left inputs read | What settings control | Result / action |
|---|---|---|---|
| MACD | Input Price ← bar Close | Fast 12, Slow 26, Signal 9 | MACD Line, Signal Line, Histogram |
| Cross Above | Left value A and right value B | Compatible numeric types | Whether satisfied: previous A ≤ B and current A > B |
| Entry / Add | Condition; quantity, ATR and prices when needed | Side, order type, sizing and protection | A trade action, rather than another price series |
Connect the blocks
- Add the required nodes from the component library. Select a node to edit its properties.
- Inputs are on the left and outputs on the right. Drag an output to a compatible input, or click the output and then the input. Read port tooltips for names, direction and type.
- Use Esc to cancel a connection. Select an existing line to reconnect or disconnect it. Replacing an occupied input requires confirmation.
- Use the condition rules view to read the same strategy as conditions and actions. It edits the same strategy, not a second copy. Save and check the strategy.
Choose a Data & Parameters block
These blocks supply values to other blocks. First decide whether you need market data, a fixed threshold, or the current state of an account or position; then choose the relevant output.
| Block | Outputs | When to use it |
|---|---|---|
| Bar Data | Open, High, Low, Close, Volume | Connect Close to RSI Input Price. The selected source determines instrument and timeframe; only bars already closed at the decision time are available. |
| Live Quotes | Latest, Ask, Bid, Mid | For quote-driven strategies. Indicator lengths count quote samples, not minutes. |
| Constant | A fixed value with a chosen type | For example, a ratio value of 30 as the RSI crossing threshold. Separate constants are edited independently. |
| Strategy Parameter | The current value of a defined parameter | Define rsi_entry_level and reference it in several places. Changing its definition affects every reference. |
| Backtest Account | Equity and available cash | Use in funding or risk calculations. Values belong to the simulated account at the current backtest progress. |
| Strategy Position | Quantity, average price, highest / lowest price since entry | Read the strategy’s selected instrument and side. An absent average price while flat is not a valid zero price. |
Left input port reference
Match these names to the canvas and inspector. Configure required inputs. Optional ports are used only by the relevant order or protection mode; do not fill them with zero just to connect every port.
| Left input | Expected value | Example and important details |
|---|---|---|
| Input Price (price) | A price-typed data source | Usually bar Close. The indicator’s Source selects the price field; indicators requiring High / Low still need traceable, complete market data. |
| Left / Right Value (a / b) | Two values with compatible types | Compare, Cross Above and Cross Below. MACD upward cross: A = MACD Line, B = Signal Line. RSI above 30: A = RSI, B = 30. Swapping A and B changes the test. |
| Trigger Condition / Condition | A Boolean result | Connect a comparison, crossing or AND / OR result. A price or raw RSI value cannot directly serve as an entry condition. |
| AND / OR condition inputs | Several Boolean results | AND requires all; OR requires at least one. Configure added inputs before checking the strategy. |
| Quantity (optional) | Order units; contracts use positive integers | 1 means one order unit, not 1 USD or 1% of capital. For entry, a connected dynamic quantity overrides fixed quantity; otherwise the configured sizing mode applies. For exit, also check full-close versus reduction mode. |
| ATR (optional) | The ATR indicator’s price-distance output | Supply this when protection uses ATR multiples. ATR 100 with multiplier 2 means a distance of 200; 2 is neither a price nor 2%. |
| Limit Price (optional) | An actual order price | Used for limit orders and other types requiring a limit. Market orders normally do not need it. Quantity and percentages are not prices. |
| Trigger Price (stopPrice, optional) | An actual trigger price for a triggered order | Controls when that order triggers. It is distinct from the protective stop-loss price of a position; configure stop-loss and take-profit under Trade Settings protection. |
What indicator settings actually control
Use this reference when reading indicator settings. Match chart parameters to the outputs used by the strategy. Colors do not change values; lengths, sources and calculation multipliers do. Legacy compatibility blocks may have different defaults, so check the selected block.
| Indicator | Common settings / defaults | What they control |
|---|---|---|
| RSI | Default length 14; output is RSI on a 0–100 scale | Set thresholds such as 30 / 70 and crossing behavior in condition blocks, not in RSI Length. |
| MACD | Fast 12, Slow 26, Signal 9; Close source; EMA for both smoothing types | Fast and Slow are average lengths; Signal is signal smoothing length. Fast must be less than Slow. The 1× / 2× Histogram multiplier changes only the histogram, not the two lines. |
| Moving Average | SMA / EMA / WMA type, Length and Source; a new MA block defaults to EMA 20 | Length sets the averaging window; Source selects the price field. The output is a price. Add a crossing condition to test price crossing the average. |
| Bollinger Bands | Length 20, Close source, SMA middle, standard deviation multiplier 2 | Length sets the window; the multiplier controls band distance. Choose upper, middle or lower explicitly. Colors do not affect trade conditions. |
| ATR | Length 14, RMA smoothing | Measures price-distance volatility, not a buy direction. Configure stop multiples separately in trade protection. |
| ADX / DMI | DI Length 14, ADX Smoothing 14 | The first controls directional movement calculation; the second controls ADX smoothing. ADX measures strength; +DI / −DI provide directional information. ADX > 25 does not place a trade automatically. |
| KDJ / WR / CCI | KDJ 9 / 3 / 3; WR 14; CCI 20, HLC3, 0.015 | Respectively: window and smoothing; lookback window; window, price source and deviation constant. WR is −100 to 0. KDJ J and CCI are not confined to 0–100. |
| VWAP | HLC3 source, session / week / month anchor, volume type | Anchor determines when accumulation resets; it is not an MA length. Tick and Real Volume have different meanings; match the data source. The current channel requires 24×7, UTC and complete anchor history; unsupported data can yield no valid output. |
The same number can have different units
Check the type as well as the number. Hover over a port or read the type beside the input name in the inspector. Constants also need the appropriate type; nodes with a selectable numeric type require compatible values on both sides.
Ratio does not mean every field uses the same percentage encoding. An RSI threshold of 70 is an indicator value; 2 in percentage-based protection means 2%; a multiplier of 2 means twice the value. Enter fees using the backtest percentage field’s own unit.
| Type | Meaning | Common examples |
|---|---|---|
| Price | A market price or price distance | Close, MACD Line, Signal Line and ATR. The three MACD outputs retain the source’s price unit. |
| Money | An amount in the account currency | Equity and available cash; neither is a contract quantity. |
| Quantity | The instrument’s order units | One contract unit. Contract orders in this product use positive integers. |
| Ratio | A dimensionless value with field-specific meaning | RSI 70, a risk percentage or a multiplier; check each field’s unit. |
| Boolean | Satisfied or not satisfied | RSI crossing above 30 → entry condition. |
Fixed value or strategy parameter?
Use a fixed input value when it is needed in one place and does not need central adjustment. Define and reference a strategy parameter when several blocks share it, when repeatedly tuning it, or when preparing parameter tests. A Constant is a separate fixed-value block; a Strategy Parameter block exposes an existing parameter to wires.
Inputs and settings provide different controls. An input can use a fixed value or a compatible block output. A setting such as indicator length can use a fixed value or a compatible parameter reference. Neither requires a separate block for every value.
- Start with RSI crossing above 30: connect bar Close to RSI Input Price and set the RSI length to a fixed 14.
- Add Cross Above and select a ratio type compatible with RSI. Connect RSI value to the left value A; set the right value B to a fixed 30.
- Connect Whether Satisfied to the entry condition. Configure long side, entry while flat, quantity and protection in Trade Settings. This defines entry only; design a separate exit condition.
- To centralize the threshold, define a ratio parameter named rsi_entry_level with value 30 in strategy settings. Add a Strategy Parameter block referencing it, then connect its output to B to replace the fixed input.
- To adjust RSI length, define a separate positive integer length parameter and reference it in the RSI length setting. Do not connect 14 to Input Price or use the threshold 30 as the indicator length.
- Save and check the strategy, then backtest market data with a known crossing. Inspect conditions, trades and logs. A successful structural check does not mean an order has filled.
Lengths, timeframes and missing data
Indicator length counts input samples. With 1m bars, RSI 14 uses fourteen one-minute samples; with 15m bars it uses fourteen fifteen-minute samples. It does not mean “wait fourteen bars before trading.” With live quotes, 14 counts quote samples instead of bars.
MACD Fast Length, Slow Length and Signal Length control the fast average, slow average and signal smoothing. They do not specify position size or a crossing threshold. A crossing also requires prior and current valid values.
Insufficient warmup, missing data and stale sources are not valid zero values. Do not treat an unavailable condition as false and arbitrarily invert it. Check the source, timeframe and warmup range, then inspect condition and order logs.
State is not a crossing event
“RSI > 30” can remain true for many bars. “RSI crosses above 30” is an event requiring a prior valid value and a transition. Likewise, a MACD golden cross compares MACD Line with Signal Line; it is not simply a positive histogram. Check action trigger mode and position guards to avoid repeated entries while a state remains true.
Combine conditions and actions
AND requires all connected conditions; OR requires at least one. Use the group’s plus control to add an input and connect it before executing. Removing a group input does not delete a shared upstream node. Configure order, position and protection in Trade Settings. A long-only strategy opens on its entry condition and closes on its exit condition; a close does not automatically open a short.
For the current Desktop workflow. Labels and available capabilities can vary by application version and connected provider.