Let's see an example of how to create a complex block. The logic is as follows: the block must process candlesticks of a specified period and, after having them processed, based on MACD indicator they must give a buying or selling signal if the slow indicator line crossed the zero line from below or above, respectively.
So, let's try to build a block step-by-step.
1. Open the Constructor at: https://robots.iqoption.com/kit
Then press "Add a New Block"
You will see an input window in which you should specify a name. Let's call it "My MACD Signal" and push "OK".
11) Now, when all the links are established, according to our strategy, we should save the robot using the "Save Scheme" button. A green pop-up confirmation window will appear in the upper right corner of the screen in case the scheme is saved correctly. A red window will appear if there is a logic error in the robot. (see Fig. 10).