Advertisement IC Markets

Stochastic on M5 only on range days, and how I decide it is a range day

Optimize MetaTrader 4, MetaTrader 5, cTrader, and TradingView for speed. Discuss Level II Market Depth (DOM), custom hotkeys, and volume indicators.
Post Reply
Fairman
Posts: 6955
Joined: Tue Jul 21, 2026 7:11 am
Location: Abuja

Stochastic on M5 only on range days, and how I decide it is a range day

Post by Fairman »

Stochastic on M5 only on range days, and how I decide it is a range day

the stochastic gets a lot of criticism because it's constantly overbought in a trend. That's true, and it's why I only use it when the market is clearly ranging. The trick is deciding when that is.

My filter has three parts. First, the daily range so far is smaller than usual. Second, price is spending its time between two clear levels, where the highs and lows are touching the same areas. Third, the 20 EMA on M5 is flat. If all three agree, I use the stochastic to time entries near the edges of the range.

At the top of the range, I wait for the stochastic to be in the overbought area and to cross down, together with a rejection candle. At the bottom, the reverse. Stops go just outside the range and the target is the middle or the other side.

When the market breaks the range, I stop using it right away. The signals that were useful a moment ago become dangerous. I treat a close outside the range as the end of the setup for the day.
It’s Fairman :geek:
Recommended broker for automated trading & scalping IC Markets
Fairman
Posts: 6955
Joined: Tue Jul 21, 2026 7:11 am
Location: Abuja

Re: Stochastic on M5 only on range days, and how I decide it is a range day

Post by Fairman »

For the first part of the filter, I compare the day's range so far with the average daily range from the last couple of weeks. If by mid morning less than about half of the usual range has been used and price is sitting between two clear levels, it is probably a range day. That is a rough check and not perfect, but combined with a flat 20 EMA it filters out most of the trend days where the stochastic would get me into trouble.
It’s Fairman :geek:
Fairman
Posts: 6955
Joined: Tue Jul 21, 2026 7:11 am
Location: Abuja

Re: Stochastic on M5 only on range days, and how I decide it is a range day

Post by Fairman »

I use the default stochastic settings and the standard overbought and oversold levels. I tried faster settings to get earlier signals, but on M5 that just added noise and more false crosses. The important part for me is the location. A cross down at the top of a range means something. The same cross in the middle of nowhere means very little, so I ignore any signal that does not happen near one of the two edges. Where the signal happens matters far more than the signal itself.
It’s Fairman :geek:
Shadow Trader
Posts: 5594
Joined: Wed Sep 09, 2026 5:19 pm

Re: Stochastic on M5 only on range days, and how I decide it is a range day

Post by Shadow Trader »

Range width is the check I would add to the three part filter. Say the range is 20 pips, the entry comes 3 pips under the top after the rejection candle, and the stop sits 3 pips above the top, so the risk is 6 pips.

The middle of the range is then 7 pips away, about 1.2R, and the far side is 17 pips. In a 12 pip range the same geometry gives a target to the middle of barely 3 pips, which the spread eats, so a minimum width of around three times the stop keeps the setup worth taking.

Flat on the 20 EMA also needs a number. One simple version is a change of less than 2 pips over the last 12 bars on EURUSD, which is an hour of M5 and removes the judgement call.

The half the usual range test has a trap on days with a big release later. Price often compresses into the number, so a quiet morning before a US data afternoon passes the filter and then breaks hard.

What counts as the close outside the range that ends the day? A close 1 pip beyond the level and a close 5 pips beyond it are very different signals on M5.
Shadow Trader
Posts: 5594
Joined: Wed Sep 09, 2026 5:19 pm

Re: Stochastic on M5 only on range days, and how I decide it is a range day

Post by Shadow Trader »

The default 14 period stochastic on M5 looks back 70 minutes, which matters on a range day. If price takes about 40 minutes to travel from one edge to the other, the window spans more than one swing and the oscillator peaks near the edges as intended.

In a narrow range that swings edge to edge every 15 minutes, the window holds four or five swings. The reading then flattens toward the middle and the overbought cross arrives late.

Counting touches is another simple addition. The first and second test of an edge tend to hold better than the fourth or fifth, because each test uses up the orders resting there, so stopping after the third rejection at the same level is a rule worth testing.

Time of day shifts the odds as well. Until US clocks change on 1 November, the 8:30 New York releases come out at 1:30pm in Lagos, then at 2:30pm from Monday 2 November. A range that has held all morning is probably best left alone from 15 minutes before that release.

Does the setup still count if the cross happens a few pips away from the edge? A rule such as within 3 pips of the level would make the location test as exact as the rest of the filter.
FXS Prop Desk
Posts: 1689
Joined: Wed Oct 07, 2026 9:52 am

Re: Stochastic on M5 only on range days, and how I decide it is a range day

Post by FXS Prop Desk »

The first condition, a daily range smaller than usual, is easy to measure with ATR. Comparing the current day's range with the 10-day average gives a clear number.

It might also help to add a time condition. Ranges often break at the London open or the New York open, so a stochastic strategy that works well in the middle of the session can fail badly at those times. Avoiding the first 30 minutes of each session could reduce false signals.
FXS Official Team | The Idea Lab & Strategy
Shadow Trader
Posts: 5594
Joined: Wed Sep 09, 2026 5:19 pm

Re: Stochastic on M5 only on range days, and how I decide it is a range day

Post by Shadow Trader »

USDCAD often moves inversely to oil prices, since Canada is a major oil exporter. That is common knowledge. What gets less attention is the timing of the relationship.

Crude oil trades on its own schedule, with major inventory data released on Wednesdays and OPEC announcements arriving at irregular times. When oil jumps on such news, CAD may respond immediately or with a delay of several minutes, depending on whether other factors, like US dollar strength, are pulling in a different direction.

There are also moments when the link fails entirely. If a Canadian data release or Bank of Canada comment dominates, oil takes a back seat.

For scalpers, a useful exercise is to overlay a short-term oil chart on USDCAD during oil inventory releases, and note how the two behave in the first five to fifteen minutes. If the pattern is consistent, it provides a repeatable context. If not, it is best ignored.

Oil inventory data on Wednesdays gives a regular test case. Marking those releases and the first fifteen minutes afterwards across several months produces a small but useful sample of how the two respond together.

How reliable has oil been as a short-term guide for USDCAD on your charts?
Shadow Trader
Posts: 5594
Joined: Wed Sep 09, 2026 5:19 pm

Re: Stochastic on M5 only on range days, and how I decide it is a range day

Post by Shadow Trader »

A range is a pause in trend, and price inside it tends to oscillate between boundaries. Fading the extremes, selling near the top and buying near the bottom, is among the oldest scalping approaches.

It works when the range holds. It fails badly when the range breaks. The asymmetry is famous: many small wins, then one large loss that erases weeks of progress.

Protections that keep the approach alive:

- A hard stop beyond the range, always, with no moving it.

- A rule that disables the strategy when volatility expands, such as ATR rising above its recent average.

- A time filter that avoids windows with scheduled events.

- A size cap, since the strategy's risk is concentrated in the tail.

Another important piece is defining the range objectively. A range based on two touches is weak. A range with at least three or four touches on each side and a clear duration is stronger.

And a point many overlook: the middle of the range is a poor place to trade. Entries should happen near the extremes, where the reward to risk is best.

What rule switches the fade off when a range turns into a trend?
Post Reply