A signal tile can check if a simple condition between two different indicators is true or false.
Using signal tiles, you can build a chain of true/false conditions which the strategy checks one-by-one.
This example will be shown using a signal tile that checks if RSI has crossed above a value of 30. In a strategy, that looks like this:
RSI 14 crossover 30
The top part of the signal tile has two inputs:
- 2.Check signal (in real-time or on candle close)
Top part of a signal editor
The name of a signal tile is completely up to you: this is purely so you can recognize is when you see your strategy without editing the tiles.
The check signal input is important. If you choose candle close, the strategy will only check this tile one time at the start of a new candle (it gets checked as soon as the first trade of the new candle is in). If you choose to check in real-time, the strategy checks to see if this signal is true on almost every trade that happens on the asset.
Real-time signals are harder to backtest, since the backtester will have to make estimations to simulate what happened in real-time.
The condition part is always a condition between two sources: Source A and Source B. These refer to the two indicators you're defining below it.
The condition defined between Source A and Source B counts for the indicators below it.
Source A in this example is RSI14 on the 30m timeframe and Source B is the number 30. This signal tile checks if the RSI14 on the 30 minute timeframe was below 30 in the previous candle and above 30 in the current candle.
Advanced inputs for indicators
Some indicators will also show more advanced inputs. Here's what they mean:
- Offset (%) - Add or remove a % of the value that the indicator returns. For example, if the RSI14 return a value of 30 and I use an offset % of 10%, the strategy will interpret it as 33.
- Candles back - Sometimes you want to check a condition in 'the past'. If you want the RSI to be below 30 5 candles before you buy, this is an input you can use.
- Highest/lowest/average of the last candles - Strategy will find the highest, lowest or average value for this indicator in the last <x> candles. Can for example be used to detect breakouts.