工作已完成
![](https://c.mql5.com/i/avatar/avatar_na2.png)
指定
"It is an indicator that analyzes all the currency pairs available with the broker (MT4), where the analysis is based on the spread. When you add the indicator to the chart, and select the “Analyze pair” option as in image 1, it will start analyzing all the pairs and will provide a table with the possible options we have for trading. Once this is done, it will show the currency pairs, lot size, and a shaded color in the column (yellow, orange, and red) to indicate trading opportunities. It would be best to wait for the indicator to find an opportunity where the spread is in a position of entry that will result in a signal indicating the currency pairs in which you will have to place a “buy” and a “sell”, but the lot size will be checked in the table provided first. Taking into account the size of the risk of the operation and that the indicator sends the entry opportunity signal, that is when the operation is executed and it takes about 20 seconds to complete, having all the conditions met. For closing the operation, one can rely on the chart in the part that says “Statistical Pair Trading Station” from image 2, which is the position where the spread is, if it is at the extremes of the red lines, it is assumed that we enter at those optimal points of the spread to operate, to wait for a movement in which the spread moves to its opposite side (from the red band to the center or green line), which is the moment where the operations and spreads are closed, even the indicator will be sending signals on when to close it. What if I never saw the “Potential Exit” signal as in image 3? One would wait to corroborate how the “Statistical Pair Trading” is like in image 2 in which position it is and if it is a convenient exit with profits or a break-even point. So we need a bot how analy and create operations when it search spread opportunities
imagen 1:
image 2:
image 3: