Browsing category

Sector Analysis

Trading 3 Least Risky Markets on a Sector Basis

Using TradingSimula-18 to Poll and Sort Daily Market Risk and Limit Market/Sector Exposure In this post I hope to demonstrate the power of TS-18.  I want to back test a simple Donchian system that only trades the three least risky (defined by long entry price – long exit price or short entry price – short […]

READ MORE

Testing the Two Least Risky Markets Per Sector

Limiting sector exposure can help limit draw down.  When back testing with most platforms you have to throw a huge portfolio at an algorithm and hope for the best.  Does it matter that all six markets in your currency sector is currently long?  You bet it does.  If a geo-political event occurs then you could […]

READ MORE

An Explanation of the numPosCurrentSector function

Here is some code and visual aid to help understand how TradingSimula-18 figures out how many current positions are in the same sector as the market that is currently being tested. Now that I know the sector the current market belongs to I can use that information to extract the total positions in that sector. […]

READ MORE