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

Bollinger %b is a single line whose value is determined by where the closing price is in relation to the upper and lower Bollinger lines.

When the close is exactly at the lower line, %b equals 0. Below the lower line, %b is negative. When the close is exactly at the upper line, %b equals 1. When it's exactly in the middle, %b equals 0.5. And so on.

It's very rare for %b to be lower than -0.3, or higher than 1.3.

The way Bollinger Bands are constructed, the price moves from the lower band, to the upper band, and back to the lower band. The problem is that the Bands aren't static. Just because the price moved from the lower band to the upper band, it doesn't necessarily mean that the price is rising - the upper band might have come down to meet the falling (or stagnating) price.

Anyway, here's a system which attempts to use this knowledge. 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.
 

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   CLOSE * 0.997  
S/L Mgmt Rules #1 Line 1 is above X CLOSE 0 (zero)
S/L Mgmt Values #1   CLOSE * 0.997  
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   CLOSE * 1.005  
S/L Mgmt Rules #1 Line 1 is above X CLOSE 0 (zero)
S/L Mgmt Values #1   CLOSE * 1.005  

 
We know that the price oscillates between one of the outer Bollinger lines and the other. So when the price falls down near the bottom one, we set a trap waiting for it to start heading back to the top one. When the price does start rising again, the limit order is taken up, and a trailing stop loss is kept at 0.3% below the close.

That's setting the stop loss pretty close to the price, but we were using 5-Minute bars which don't need as much wiggle room as Daily bars would.

Similarly, when the price rises up near the upper Bollinger line, we set our trap this time waiting for it to come down.
 

Groups:

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <img> <em> <strong> <u> <strike> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h4> <h5> <table> <thead> <tbody> <th> <tr> <td>
  • Lines and paragraphs break automatically.
  • Image links with 'rel="lightbox"' in the <a> tag will appear in a Lightbox when clicked on.
  • Image links with 'rel="lightshow"' in the <a> tag will appear in a Lightbox slideshow when clicked on.

More information about formatting options