![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
The best way to detect when sideways starts is to use envelopes, at a medium period (10,20 but it depends). It can seem to be banal, but it's one of the easiest/effective method, in fact when a range market is starting, envelopes slope starts to decrease going flat and price moves inside the envelopes, instead when it is trending price is outside the envelopes...
Can you show it on picture?
If price is more extreme than the previous extremes it is assumed to be trending, if it is less extreme then ranging. So if the price is within the shifted bands then it might begin to range and not trend. If price moves outside the bands it might trend
Thanks!
Can you show it on picture?