How to use highest, lowest and average values in the signal editor?

How to use highest, lowest and average values in the strategy builder's signal editor

Stan

Last Update 6 years ago

Signals consist of two sources and an operator, to check if a certain condition is true. A source usually has a value like the RSI14's current value. But in StalexBot, there are new options, like: highest value of RSI14 in the last 100 candles, or lowest value in the last 20 candles. You can use this value to compare the current value, to be able to catch breakouts on indicators.

Highest value of the last ... candles

You can use the highest value of an indicator as a source, to catch breakouts on momentum and volatility indicators like RSI, CCI or ADX. Here's an example condition that is able to catch the moment the ADX indicator is making a new high.

We're basically comparing the current highest value, with the highest value of 1 candle back (source B has candles back = 1). This means we catch the exact moment the current highest value crosses the previous highest value. This can be used on a lot of indicators that are similar to ADX.


Not only momentum/volatility indicators are the option here, you can also use candle close as the indicator and apply the same method, to catch candle breakouts on any chart.

Lowest value of the last ... candles

Similar to the example with the ADX above, you can set it up for the downside too. The only thing that will need to change is the operator, from cross above to cross below:

Average value of the last ... candles

The last option is taking the average value of the last [x] candles. This average is basically a simple moving average, so it can be used as such on indicators that normally are hard to use for trend following strategies: RSI.

RSI can be hard to track, but when you add a moving average to it (15 period in this image), it can totally change the way you trade with it. You can for example even use a moving average cross on RSI to buy:

To make this example in StalexBot, this is what you're looking at in a signal tile:

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us