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

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.
 

Groups: