Thinking Stuff's ATM

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...

Thinking Stuff's ATE

Automated Trading Execution (ATE) is where we run your trading systems for you on our servers. Your system can be exported from ATM, or written in plain English and we'll make it for you. We'll even backtest and suggest improvements if you want us to. This service essentially automates your automated trading.  Learn more...

Thinking Stuff's Groups

Join a group of like-minded individuals, and help each other to trading success. Once you join a group, you will have access to that group's trading systems, ideas, and feedback. And please contribute your own knowledge as much as possible. Or contact us to start your own group.  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)  

 

Groups: