Description:
Indicator input parameters:
- Symbol1 and Symbol2 – symbols for calculation of prices difference and displaying it as a chart. AUDUSD and NZDUSD by default.
- mass_of_symbol1 and mass_of_symbol2 – quantitative ratio of trading symbols. Both parameters are equal to 1 by default. If you want to calculate the sum of symbols, put -1 to mass_of_symbol2 parameter. Sum calculation is used to evaluate the possibility of applying negative correlation symbols in pairs trading.
Β Image:
Β The image displays:
Β AUDUSD chart above, NZDUSD chart in the middle and Spread Of Symbols indicator below.
Β