Showing posts with label LMAX. Show all posts
Showing posts with label LMAX. Show all posts

Thursday, October 21, 2010

Trading the Key Dollar Pairs; Doing The Ground Work

In a series of articles I will look to build a profitable Forex strategy built around EURUSD, GBPUSD, AUDUSD and NZDUSD using the Zignals Trading Strategy Builder. The goal of these articles is to educate on the use and Strategy Builder Engine and to enable readers develop their own strategies around their favourite currency pairs.

The Zignals Strategy Engine was designed to trade stocks, so strategies built around Forex symbols will buy 'shares' and won't use leverage, so returns are factored on a 1:1 basis. Therefore, a Forex strategy which invests $20,000 into Euro will calculate returns off a $20,000 investment, not a $200 margin investment (100:1) as is typical for Forex trading.

The second point about our Forex strategies is they have to share the same 'Base' currency. But strategies can be replicated to use different 'Base' currencies - in effect you might run two or three strategies together to get signals for Sterling, Canadian or Australian Dollars (unfortunately, no Yen or Swiss Francs yet).

Okay - I'm interested, how do I start?

An earlier article described the process for stocks, but let's look at this from the point of view of Forex. On loading the Strategy Builder you will be greeted with a grid-like workspace.


The left part of the screen offers five steps to help build your strategy.

The last step, "Publish to Zignals" (highlighted in orange), is the one which brings your strategy to life. Only complete the last step when you are happy with the strategy and are ready to receive the trading signals.

1. Setup

The first step contains a couple of key components which need to be completed.


Name: This is the name of your strategy, sky is the limit for naming

Strategy Type: This is the first important choice to be made as once set it cannot be changed after a strategy goes 'live'. Default is "Long" which means we will be buying our currency pairs.

Money Management: The first major choice is to select the Currency. This should be the Currency base for your trading pair(s). Since our strategy is based around Dollar pairs we will set the base to 'USD US Dollar'. Alternatives are Euro, Sterling, Australian Dollar and Canadian Dollar (no Yen or Swiss Franc at the moment).

As the Strategy Engine was designed around stocks it is hard-wired with certain stock-strategy relevant variables. In this case, a Starting Capital of $100,000 (effectively a $1,000 Forex account), a Cost-per-Trade of $10 (would be $0 for a true Forex strategy), a Slippage Percentage of 0.2% - which means entries are 0.2% more expensive and sales receive 0.2% less that the quoted price, and a Delay between trades set to 15 days. The Delay between trades is a feature to protect against whipsaw signals and is particularly useful in trending strategies. But to remove any possible confusion on our signals we will set it to zero.

Stop Condition: This is the first real area we can toy with. Because we haven't considered the technical signal we are going to use we can keep these values unchanged. But as you become more proficient in your strategy building you will optimise the best exit conditions for your strategy.

2. "Stocks"

The second step defines what your strategy will trade. "Stocks" is not limited to stocks, but also includes currency pairs, indices or commodities. However, the 'Base' currency of the list components must match to the Currency selected in Step 1. In our example, our strategy was built using the US Dollar so our "stocks" must feature currency pairs based on the dollar. This strategy will use four currencies in a New "stocklist" called 'Quad Currency'.

Quad Currency: GBPUSD, EURUSD, AUDUSD, NZDUSD

However, you could create new "stocklists" for other key currency pairs., e.g:

Canadian Currency: USDCAD, EURCAD, GBPCAD, AUDCAD


Hey, what about a list of Euro pairs?

So why can't you create a "stocklist" around a selection of Euro pairs like EURGBP, EURCAD, EURAUD? The issue is to do the with last currency of each of these pairs - they are all different. Remember, a "stocklist" must use currencies where the last currency in the pair matches the "Base" currency selected in Step 1.

Is there a workaround?

Yes, strategies can be built around a single currency pair. Once your strategy is created you can save it under another name with a different 'Base' currency and trading currency pair, e.g. A Sterling Base Currency (GBP) trading just the EURGBP pair.

3. Rules

I will discuss this feature more next week. Let's just add a 20-d cross above a 50-d SMA rule - the first one on the list of default trading rules. It will appear on the screen highlighted by a glowing border; both the information boxes at the top and bottom will similarly glow - so what does the glow mean? The glow areas mark the actionable points which need to be configured before the strategy can be considered complete.


To create a complete Strategy it is necessary to connect added rules in Sequence from their start point at the top, to the end point in the Result box.

To do this, mouse over the body of the box attached to the Start Point and left click on it (i.e. this is the box which contains the name of your strategy). When you left click, the background colour of the box in the middle (which is the Rule) will change from Orange to Green. While keeping the left-click engaged on the box, drag it towards the Rule until you see a large plus-sign on a green circle background appear.



Release the mouse to connect the rule. A white connection line will appear from the Start Point to the rule.

Repeat the process for connecting the Rule to the End Point. Remember, left-click-and-drag the rule until it's over the Result box - not the End Point.

When this is done correctly another plus-sign will appear with the word 'Connect' beneath.


When the strategy is successfully connected there will be no more glowing borders and a line of flow will have been created from top to bottom.

In a later article I will look at some complex rule arrangements, but this allows us to move to Step 4: Backtest.

4. Backtest

The Backtest is the meat-and-veg of the Strategy Builder - in effect, how good is your strategy?

The Backtest defaults to the last 2 years-to-date but can lookback for any period to 2000. In a later article we will look at a more rigorous test regime for our Strategy as we test in out-periods (i.e. different time spans than used to build the strategy).

To run a Backtest all that is required is to hit the button and Run. At the end of the Backtest the Result section will populate will results and you will have the option to view a Portfolio listing all of your trades.


If you decide to view a Portfolio you can give it a name.

After saving you might have to wait for 30 seconds-1 minute as the Portfolio populates with your trades and is loaded.

Here you will be able to see all the Transactions for your strategy, individual returns per trade and graphical Performance summaries.

At this point, if we were happy with the strategy we could 'Publish to Zignals' - but for now, close the Portfolio window / switch back to the Strategy Builder, save the strategy, and we will look to improve returns in next week's article.

----

Follow us on twitter here. How to Get Started with Zignals. Build a trading strategy in Zignals and potentially earn money too; download our Build a Trading Strategy PDF and get selling (and trading) today!



Dr. Declan Fallon, Senior Market Technician for Zignals.com, offers a range of stock trading strategies via his Zignals home page. Each Zignals member has an unique home page which they can share with friends and clients to sell their strategies. Zignals offers a full suite of financial services including price and fundamental stock alerts, stock charts for Indian, Australian, Frankfurt, Euronext, UK, Ireland and Canadian stocks, tabbed stock quote watchlists, multi-currency portfolio manager, active stock screener with fundamental trading strategy support and trading system builder. Forex, precious metal and energy commodities too.

Build your own trading system and sell your trading strategy in our MarketPlace to earn real cash. Read what others are saying about Zignals on Investimonials.com. JOIN US TODAY - IT'S FREE!

Read more!

Monday, October 11, 2010

What next for the S&P?

No doubt bulls continue to fret as the rally pushes deeper into this traditionally weak time of year. However, evidence shows no let up in underlying demand and the recent break of spring-summer trading ranges has offered another point of defence for bulls. Going forward the prognosis does not appear too maleovent either.

Zignals Chart Image

In my last post on the subject on June 9th I had concluded:

So while markets may push to new lows it's unlikely the current down trend has more than a month to run. A tradable bottom is likely to present itself if not now, then inside the next few weeks. At that point markets may build a trading range governed by net accumulation (greater volume to the upside than downside) which will set the platform for the next step of the rally.

The market bottomed at the start of July and evolved into a trading range which lasted to the middle of September. The trading range eventually broke to the upside and successfully back-tested (new) support at 1,130. The S&P has since advanced on low volume, which while a worry is not a deal breaker.

Again, I took a look at the relative position of the S&P to its key moving averages of 20-day, 50-day and 200-day (for last Thursday) and then compared it to similar events looking back to 1950. On Thursday the S&P was 1.8% above its 20-day MA, 4.4% above it 50-day MA and 3.5% above its 200-day MA.

There were 24 matching periods: June 2005, November 1999, August 1994, May 1990, June 1988, November 1985, December 1979, April 1979, May 1978, January 1967, September 1965, December 1962, December 1960, January 1960, May 1958, May 1957, June 1952. Odd congregation around May-June (6) and (November)-December-January (7), but the current setup doesn't fall neatly into this zone.

I then looked at performance over the subsequent 24 days. The general behavior was for a mild bullish advance. Looking at the 95% confidence interval a loss of more than 1% is not favoured and it could push to nearly a 3% gain.


The worst case scenario occurred in January 1960 and the market immediately pushed downward to end with a 7.3% loss after 24 days. April 1979 was similarly negative, closing with a 5.1% loss.

The best case scenario occurred in November 1985 and after a slow few days the rally kicked in to close with a 6.2% gain.

Friday kick started things positively with a 0.6% gain, the same as November 1999 when the market ending gaining 2.2% after the 24 days.

So, while bulls may fret they look to hold the advantage going forward. Time will tell the truth, but an immediate meltdown would be an event out of the (historical) blue.

Based on this analysis, a Zignals Alert or Seeking Alpha Alerts for a loss of 1,146 ($114.73 for the SPY) will offer good protection going forward with the goal of selling after 24 days. You can track this call in my Trading Ideas tab on my Zignals Home page.

----

Why not start your Zignals Trading Strategy Business with us today? Learn How to promote your Zignals Trading Business with Twitter.

Follow us on twitter here How to Get Started with Zignals

Build a trading strategy in Zignals and potentially earn money too; download our Build a Trading Strategy PDF and get selling (and trading) today!

Dr. Declan Fallon, Senior Market Technician for Zignals.com, offers a range of stock trading strategies via his Zignals home page. Each Zignals member has an unique home page which they can share with friends and clients to sell their strategies. Zignals offers a full suite of financial services including price and fundamental stock alerts, stock charts for Indian, Australian, Frankfurt, Euronext, UK, Ireland and Canadian stocks, tabbed stock quote watchlists, multi-currency portfolio manager, active stock screener with fundamental trading strategy support and trading system builder. Forex, precious metal and energy commodities too. Build your own trading system and sell your trading strategy in our MarketPlace to earn real cash. Read what others are saying about Zignals on Investimonials.com. JOIN US TODAY - IT'S FREE!

Read more!

Thursday, September 30, 2010

Latest Zignals Trading Strategy Signals

With European markets taking a hit over Spain's credit rating and Irish bank bailout costs it might prove tough to be a buyer in this market. However, broader market action is not overwhelming negative as the FTSE 250 ETF, MIDD, demonstrates. While MIDD is obviously trading down on the day, it is caught inside a larger broadening pattern - while at the same time trading above key 1,025 support. Supply is unlikely to become a major issue until it makes it to 1,061-1,065.

Zignals Chart Image

In this light, opportunities remain on the long side and down days like today are best viewed as offering potential buys - at least until the range trading of the past couple of weeks is breached.

Yesterday's buy signals were relatively few with the likes of Nestor Healthcare and RWS Holdings offering buying opportunities at the open (strategy signals are sent after the prior markets' close). Even BP made the cut for strategy "UK Tempest".

Zignals Chart Image

Zignals Chart Image

Zignals Chart Image

In US Markets there is a market open 'buy' signal for Citigroup.

Zignals Chart Image

The short side also offered some possibilities. Wednesday's trading saw stop exits in Australian strategies (primarily) with a couple of others for an Irish and UK strategy.

You can find these strategies and more, covering US, UK, Ireland, Canada, Australia and India here.

Why not start your Zignals Trading Strategy Business with us today? Learn How to promote your Zignals Trading Business with Twitter.

Follow us on twitter here How to Get Started with Zignals Build a trading strategy in Zignals and potentially earn money too; download our Build a Trading Strategy PDF and get selling (and trading) today!



Dr. Declan Fallon, Senior Market Technician for Zignals.com, offers a range of stock trading strategies via his Zignals home page. Each Zignals member has an unique home page which they can share with friends and clients to sell their strategies.

Zignals offers a full suite of financial services including price and fundamental stock alerts, stock charts for Indian, Australian, Frankfurt, Euronext, UK, Ireland and Canadian stocks, tabbed stock quote watchlists, multi-currency portfolio manager, active stock screener with fundamental trading strategy support and trading system builder. Forex, precious metal and energy commodities too.

Build your own trading system and sell your trading strategy in our MarketPlace to earn real cash. Read what others are saying about Zignals on Investimonials.com. JOIN US TODAY - IT'S FREE!

Read more!