I am looking to graph Variance between two correlated assets (for exemple : usoil/ukoil, or any other).
Thank You for your help, I am a total newbie at Quantshare ...
Yes, exactly ! it would look somewhat like an RSI indicator but would plot values (difference between the two assets) instead of % (altough % should also do the job ;)
I'm Wondering if this can be done easily...? (I guess instutitional plateforms must have those capabilities integrated)
Chelios
Just for information, I actually do it manually, with my broker. I take , let's say, 1 long USOIL and 1 Short UKOIL (on my demo account) and graph the results of my running total profit. This gives me a sinusoïdal pattern to witch I can apply technical analysis and risk management. Hope this extra info helps ;)
it would sure help me to find a cleaner solution...
Actually, it is very easy:
- Create a new pane then click on the "Add Indicator" button (First icon on the top of the chart pane)
- Select "Operation" tab
- Select the minus operator (-)
- In the first input box, click on "Add", select "External Symbol" tab, select/type your asset symbol then click on "OK"
- Perform the same operation for the second input box (select a different asset symbol)
- Click on "OK".
This results in the creation of the following formula:
op1 = GetSeries('SPY', Close) - GetSeries('DIA', Close);
Plot(op1, 'Operation', colorBlack, ChartLine, StyleSymbolNone);
Regarding the Covariance function: (It works)
- You should download the indicator first (Covariance)
- Then apply the following formula (example):
pfff, I was missing ";" at the end of last string, thanxs. everything OK.
Where can I find the value for Brent ? is there a list I can consult with assets description ?
In order to play covariance I need both assets to be in the same category (ETF, CFD or futures). Correct me if i'm wrong but i don't think the numbers will mean much if I play Brent on futures and Crude on ETF ? (or maybe I'm wrong and I'll crunch the numbers ;)
Again, thank you for all your help, your software is quite interesting. I'll keep on playing around with it and see if i'm smart enough to make something of it !
Merci beaucoup pour le lien Frank. Si t'a besoin d'aide ou quoi que ce soit, n'hesite pas a me contacter. Tu peut aussi m'envoyer un email à support@quantshare.com
You can download updated Forex data here: Forex Intraday Data (10 years of one-minute bars)