Comment on page
Paths
Strategy builder paths: connections of tiles

Basic idea of paths in StalexBot: chaining conditions
Signal tiles (the grey tiles in the image) contain a simple 'yes' or 'no' question for the bot. If the condition is answered with yes, or in other words: true, the bot will continue to the next tile. If all signal tiles succeed with a true condition, it might end up at a buy tile.
The buy tile contains all your parameters for buying the asset that went through this path: amount to buy, order type and optionally a stoploss and take profit %.
Paths can stay relatively simple for simple logic, but can be used to create very complex strategies as well.
And example of a very simple but effective setup in StalexBot is the Trend Rider strategy.

Trend Rider buy & sell paths
As you can see, it is very easy to understand how this strategy works. The path always starts with a grey signal tile. Then it moves to the buy tile, and from the buy tiles, the sell paths start. In this case, the sell path is the opposite of the buy path.

In this strategy, we can see 3 different sell paths coming from the buy tile.
This strategy has 3 different paths that decide when to (partially) sell this position. It allows you to have not just one sell condition, but a lot of different ones if you like as well. The same goes for buy paths.
It is possible to build multiple strategies inside one strategy. This is only adviced if you are comfortable with the builder and know how the above examples work.

Multiple strategies inside one builder works too. It does require a good enough knowledge of the builder.

Even strategies with a huge amount of logic are possible to make in StalexBot
It goes without saying that these complex strategies are hard to understand for most people. But if you think your strategy requires a lot of logic, you can build and run it in StalexBot.
Last modified 2yr ago