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...
Bar Swings, SMA Swings
Bar Swings
Look at two bars which are next to each other. We'll call them Bar #1 and Bar #2.
It's a "Bar Swing Up" when the High of Bar #2 is higher than the High of Bar #1.
It's a "Bar Swing Down" when the Low of Bar #2 is lower than the Low of Bar #1.
Should both conditions be met, that is there is an "outside bar", it's:
- a Bar Swing Up when the Close of Bar #2 is in the upper half of the candle; and
- a Bar Swing Down when the Close of Bar #2 is in the lower half of the candle.
If none of those conditions are met, it's neither a Bar Swing Up nor Down.
A Swing Up is always followed by a Swing Down, and vice versa. There is never a Swing Up followed by another Swing Up.
When a Bar Swing Up occurs, you can also calculate the "Bar Swing Low". That's the lowest price between this Bar Swing Up and the Bar Swing Down immediately before it.
When a Bar Swing Down occurs, you can also calculate the "Bar Swing High". That's the highest price between this Bar Swing Down and the Bar Swing Up immediately before it.
SMA Swings
A Bar Swing but where the price also closes above/below the simple moving average (SMA). Perhaps a strong signal as Bar Swings can happen every few bars, whereas SMA Swings happen far less often.
The truth is that this can be applied to any overlay - not just the simple moving average. The "SMA Swings" custom indicator is provided as an example. If you wanted to use a different overlay, like the Upper Bollinger Line, or a Fibonacci Level, then copy this custom indicator and just change the calculation of Column #1.
- 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
35 weeks 2 days ago
50 weeks 3 days ago
1 year 4 weeks ago
1 year 4 weeks ago
1 year 10 weeks ago
1 year 11 weeks ago
1 year 18 weeks ago
1 year 18 weeks ago
1 year 21 weeks ago
1 year 26 weeks ago