Moving average crossover calculator
Two averages and their last cross.
Free risk tools
The straight line that fits the closes best, how steep it is, and how well it fits.
Free, no sign-up On sale: Desk and Desk + Signals. See the plans
Over the last 20 closes the line is rising by 3.50 a bar (0.15%), and R² is 0.65: a loose trend.
The line and its channel on the last bar and one bar ahead.
| Level | Last bar | Next bar |
|---|---|---|
| +2 deviations | 2,405.69 | 2,409.19 |
| +1 deviation | 2,390.78 | 2,394.28 |
| The line | 2,375.87 | 2,379.37 |
| -1 deviation | 2,360.96 | 2,364.46 |
| -2 deviations | 2,346.05 | 2,349.55 |
Education only, not investment advice. The answer comes from the numbers you typed in, not from your account or the market. Simulated results are hypothetical and have limits: real trading has slippage, gaps, changing results and emotions. Trading leveraged products can lose money quickly, including all of it. Risk warning
Educational only, not financial advice; trading involves risk.
A linear regression line is the straight line through the closes with the smallest squared misses. Its slope says how fast the price has been moving per bar, R² says how much of the movement the line explains (1 is a perfect line, 0 is none), and the deviation of the closes around it sets a channel.
A close at the edge of the channel is far from the trend; some traders fade it, others take it as the trend speeding up. Compare it with the moving average calculator and the Bollinger bands calculator, and size the trade with the position size calculator.
Not advice. Arithmetic on the closes you type; a line through the past is not a forecast.
Two averages and their last cross.
Bands, %B and the squeeze from closes.
Trend or range, and how strong.
Pricing
See all plans · Try one agent free
Baroq never holds your money and never trades for you. Educational only, not financial advice; trading involves risk.