What is the Correlation Analysis function in tradescript? How do we use it to find signals? I’ve tried the example mentioned in the Tradescript documentation but it is not detailed enough.
the example of correlation in tradescript is
CA(EMA(CLOSE,10), EMA(CLOSE, 14)) > 0.99
you can use any of two vectors and can check with the correlation condition,
In the above condition is true when the two EMA’s are highly correlated or closer.