Automated Trading Machine (ATM) makes it simple to remove fear and greed from your trading. Automated trading is no longer just for the rich or nerdy. Our revolutionary software runs on your computer, using your trading rules, but none of your emotions. There's just one requirement - you know how to use a mouse. Learn more...
%b System #1 With Chandelier Stop
This is the same as %b System #1 except we replaced the trailing stop with the Chandelier method. I've heard of the Chandelier stop before in Dr.Alexander Elder's "Come Into My Trading Room". I came across it again in the Oanda forums, specifically this post.
Here's what a user called EZCurrency said (HHV = highest high value, LLV = lowest low value, ATR = average true range):
For a trailing stop for a long, I use HHV(H,24)-3.5*ATR(24) on an hourly chart. This is the highest high value of the past 24 hrs, then subtract 3.5 times the average range of the past 24 hrs. This accounts for the volatility. Plot it and you will see it is an excellent trailing stop for most pairs!
Another user, Gouranga, then came up with a possible improvement:
One can combine this with a LLV(n) (eg. Long Trade) and take the higher trailer of the two. LLV(n) trailer locks in profit when market consolidates. While (HHV - ATR) locks in profit when market trends. So, you get the best of both mkt conditions.
We provide both of these indicators in ATM - what is described in the first quote is referred to as the "Chandelier Stop", and that described in the second quote is referred to as the "Better Chandelier Stop" (whether it is actually better or not is subject to some backtesting).
But this is a good time to demonstrate exactly what happens when you enter more than one value, so forget that we made the "Better Chandelier" for a second. What ATM will do with the trading system below, for the longs anyway, is calculate both the Chandelier Stop and the lowest low. Then it will take the higher of those two values. For shorts it will take the lower of the Chandelier Stop and the highest high.
The basic theory of using the ATR in order to calculate the stop loss, is that it's adaptive to the current market conditions. During volatile periods the stop will be placed further away, and during less volatile periods the stop will be brought closer to the current price. Basically it adjusts the amount of wiggle room based on the volatility.
In very rough testing, we used 5-Minute bars, 720 for the Bollinger period, which is kind of big, and the normal 2 standard deviations above and below. The period for the ATR is 24.
| Direction | Rule Type | Rule Family | Line 1 | X / Line 2 |
| Long | Entry Rules | Line 1 is below X | Bollinger %b | 0.1 |
| Entry Values | Price where %b would equal X | 0.1 | ||
| Initial S/L Values | Long Chandelier Stop | |||
| Initial S/L Values | Minimum(LOW, 24) | |||
| S/L Mgmt Rules #1 | Line 1 is above X | CLOSE | 0 (zero) | |
| S/L Mgmt Values #1 | Long Chandelier Stop | |||
| S/L Mgmt Values #1 | Minimum(LOW, 24) | |||
| Short | Entry Rules | Line 1 is above X | Bollinger %b | 0.8 |
| Entry Values | Price where %b would equal X | 0.8 | ||
| Initial S/L Values | Short Chandelier Stop | |||
| Initial S/L Values | Maximum(HIGH, 24) | |||
| S/L Mgmt Rules #1 | Line 1 is above X | CLOSE | 0 (zero) | |
| S/L Mgmt Values #1 | Short Chandelier Stop | |||
| S/L Mgmt Values #1 | Maximum(HIGH, 24) |
- Login to post comments
Recent blog posts
- New Release: v3.0.3 - Everything Except Autotrading
- Mid July 2010 Update
- Start of June 2010 Update
- New Release: v3.0.2 - Copy, better error message, more options
- New Release: v3.0.1 - The Stabilise-ening
- Ah, The First Bug [Fixed in v3.0.1]
- New Release: v3.0.0 - The Rewrite
- Start of February 2010 Update
- End Of 2009 Update
- New Release: v2.0.10

Recent comments
21 weeks 2 days ago
36 weeks 3 days ago
42 weeks 1 day ago
42 weeks 1 day ago
48 weeks 5 days ago
50 weeks 11 hours ago
1 year 4 weeks ago
1 year 4 weeks ago
1 year 7 weeks ago
1 year 12 weeks ago