July 31, 2017

In the following video I explain in detail the code for Wealth Lab which will get the correlation coefficient for you. It works on any timeframe and any symbol within the Wealth Lab infrastructure. The formula was invented by an English man from Islington in London Karl Pearson during his life in 1857 – 1936 and goes like this:

We take two lists of values and find r which is the correlation coefficient. The big scary letter means the sum of. So for each set of values, for each value which is on the list we fisrt find the required function and then we add the values up. For example we find the multiple of x*y first and then add up the values. Same with the square roots.

The close the value is to 1 or -1 the more correlated the two stocks are. The only difference is the direction of correlation. For example if they are positivly correlated it means if one moves up the other one will move up as well. It means the opposite for negatively correlated stocks ie. if one goes up the other one will go down. For example the price of Brent Oil goes down and the price of a USD/RUB future will go up because you will have to pay more rubles to buy 1000 dollars which is the size of one contract.

The code for the correlation coeficient find method you can download HERE

That’s great but it is static. We take all data for two securities for let’s say 1-2 years and we get the coef but how do we peak in inside, wonder what’s going on with the correlation between two stocks during any time period. Check out the next video on the dynamic correlation coefficient indicator for Wealth Lab.

Here is the link for the CODE

Blog Categories

- How to Find Correlation Coefficient of any Stocks in 2 seconds using Wealth Lab
- Candle Stick Patterns Encyclopedia
- How To Start Algorithmic Trading Free Webinar
- The Philosophy behind 96 Templates and Binders developed by Financial Labarotory can be used to Build Algorithmic Trading Strategies on Any Market
- The Trade Tools Series – Research Scripts for Wealth Lab

Trade Algo

Youtube Channel

Correlation Coefficient Dynamic Indicator for Wealth Lab - part 2

How to Find Correlation Coefficient of any Stock on any TImeframe with Wealth Lab in 2 seconds

How to find rising shares - Alan Hull Active Investing

Algorithmic Trading Portfoio Management using Wealth Lab

Sam Seiden: Supply/Demand Basics

Sam Seiden: Supply / Demand and Odds Enhancers - Part 1: Foundation

Sam Seiden: Odds Enhancers To Increase Your Odds

Deleted video

Using Wealth Lab Market Manager to filter out pre and post maket data

TEDxConcordia - Yan Ohayon - The Impact of Algorithmic Trading

John Ehlers - Effective Indicators for Trading Strategies

TEDxNewWallStreet - Sean Gourley - High frequency trading and the new algorithmic ecosystem

6. Wealth Lab Trade System Code Tutorial : Elder 3 screen trading system framework for Wealth Lab

5. Wealth Lab Trade System Code Tutorial : Intraday Pivot BreakThrough Trading System Framework

4. Wealth Lab Trade System Code Tutorial : DMI CrossOver Trade System Code Example for Wealth Lab

3. Wealth Lab Trade System Code Tutorial : EMA Crossover Trading System Code Example

2.Wealth Lab Trade System Code Tutorial : Coding a Candle Pattern Trading Strategy for Wealth Lab

1. Wealth Lab Trade System Code Tutorial : Price Channel Break Out - Price Channel Stop

Fractal Master builds Fractals on The Fly for Fractals Trading

When is it time to stop the algorithmic trading system

Intraday market data for Wealth Lab from IQFeed

How to install MetaTrader Forex Data into Wealth Lab

Level Master – multi frame camarilla and pivot point calculator functions

How to back test your trading ideas

How to install daily symbol data sets from Google and Yahoo for Wealth Lab

How to manualy process stock splits in Wealth Lab

Simulating Real Life Algotrading On Historical Data

How to set up Wealth Lab for live trading your algorithmic trading system on a paper account

Math 176. Math of Finance. Lecture 03.

Math 176. Math of Finance. Lecture 02

Math 176. Math of Finance. Lecture 01.

How to Code a Trading System from Scratch

1. Introduction, Financial Terms and Concepts

8. Time Series Analysis I

11. Time Series Analysis II

12. Time Series Analysis III

How to Kick A$$ in Any Financial Market (and What Brokers & Market Makers Don't Want You to Know!)

The Practical Fractal: The Holy Grail to Trading by Bill Williams PhD of Profitunity Trading Group

Level Master - multi frame camarilla and pivot point calculator