Let's see an example of how to work in the Constructor.
First, let's create a simple robot based on MACD and Bollinger Bands and the Volatility Filter that works with 10-second candlesticks.
Thus, the internal logic of the robot should be as follows: The robot retrieves data from the latest 10-second candlestick, then checks whether the signal based on MACD or Bollinger was formed under heavy market volatility. If yes, it opens a position; if not, it waits for the next candlestick and checks for the same conditions again.
To begin, we'll examine the final appearance of our robot built in the Constructor, and then we'll see how it works step by step (see Fig. 1).