Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Indicators

Squeeze - indicator for MetaTrader 5

Views:
16669
Rating:
(27)
Published:
2019.02.20 10:13
Squeeze.mq5 (10.28 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Theory :

There are different ways how traders are trying to determine if the market is trending or consolidating. One of the methods used is to compare standard deviation to average true range.

  • when standard deviation value is greater than average true range, then the market is supposed to be trending
  • when standard deviation value is less than average true range, then the market is supposed to be consolidating (ranging)
This indicator is doing that.
When the value of it is zero, then the market is in a "squeeze" mode (consolidating). When the value is different from 0, then it compares median price to average close and if it is above the average, it displays it as a trend up, and if it is bellow the average it displays it as a trend down (median is used as a "safer" choice to avoid too much signals)

Usage :

You can use color (or lack of color) as signals




































RSI swings RSI swings

RSI swings

Aroon oscillator - multi time frame version Aroon oscillator - multi time frame version

Aroon oscillator - multi time frame version

Squeeze - on chart Squeeze - on chart

Squeeze - on chart candles or bars

Bollinger bands - squeeze Bollinger bands - squeeze

Bollinger bands - squeeze