hi,
Looking for an indicator to see the price difference ratio or say spread between two stocks with mean line in between along with 2 standard deviation lines
what I looking for is basically - a price ratio (blue curve) that appears to oscillate around a mean (purple line). And then 1-, 2-, standard deviation lines just to get a feel for how far away from the mean the oscillations might go.
can some one please please code this indicator, I am sure there might be so many other people who are doing pair trading and are trying to find the same kind of indicator but it is not there, so it will help thousands of other zerodha users also
REFERENCES:
http://luminouslogic.com/a-pairs-trading-example.htm
https://www.equityfriend.com/traders-tool/pair-trade-opportunity-and-analysis.html