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

Using An Overlay For The Entry Price

To keep things simple, normally in these examples we just explain in terms of Long trading. And that will continue here. But also for the purposes of keeping things simple, we also normally just use "Enter At Market" for the entry values - as soon as the entry rules are true, ATM will immediately open a trade using a market order.

ATM can also place limit orders, which allow a slightly different trading style. Here's an example of how they are different:

  • open a long trade if the close is above the moving average
  • open a long trade as soon as the price hits the moving average

The first style lends itself to market orders. A new price bar comes along, we do the moving average calculation, and if the CLOSE is above that average then we open a trade.

The second style lends itself to limit orders. It's kind of like setting a trap. With the current price below the moving average, we place a long limit order at that moving average. While the current price stays below the moving average, we adjust the order so it stays in-line with the moving average. And if the price ever happens to hit the moving average, our trap is sprung, and the broker will automatically turn our limit order into a trade.

So here's an example of the latter. Our entry price is going to be at the moving average. We will set the stop loss 50 pips below that average, and the take profit 75 pips above.
 

Direction Rule Type Rule Family Line 1 X / Line 2
Long Entry Rules Line 1 is below Line 2 CLOSE SMA(20)
Entry Values   SMA(20)  
Initial S/L Values   SMA(20) - 0.0050  
Initial T/P Values   SMA(20) + 0.0075  
Short Entry Rules Line 1 is above Line 2 CLOSE SMA(20)
Entry Values   SMA(20)  
Initial S/L Values   SMA(20) + 0.0050  
Initial T/P Values   SMA(20) - 0.0075  

 
Perhaps you see the moving average as a moving resistance level. If so, you wouldn't care so much that the price hits the moving average - you would see that as normal behaviour. If it was acting as resistance then the price would hit the moving average and bounce off. So you would be more interested in the price breaking through the average. In that case use SMA(20) + 0.0010 (or whatever) for the long entry value - the price would have to break through the moving average by 10 pips for the long limit order to be hit.
 

Using limit orders to confirm upward/downward pressure

When explaining about the different scenarios that best suit market orders vs. limit orders, we used this one for market orders: "open a long trade if the close is above the moving average".

Limit orders can also be used here. Instead of entering at market whenever the close is above the average, you can set a limit order to confirm upward pressure.

In our example using market orders, a new price bar comes along, we do the moving average calculation, and if the CLOSE is above that average then we open a trade.

But change the entry value to CLOSE + 0.0010 to use a limit order instead. A new price bar comes along, we do the moving average calculation, and if the CLOSE is above that average then we place a long limit order 10 pips higher than the current price. Only if the price continues to rise a further 10 pips does the trade get opened.

Which method works better? Only backtesting knows the answer.
 

Groups: