Discussion about this indicator (and about market condition in general) is on this thread Market Condition Evaluation based on standard indicators in Metatrader 5
Just for information
newdigital, 2013.07.01 21:04
How can we know: correction, or bullish etc (in case of using indicator for example)?
well ... let's take AbsoluteStrength indicator from MT5 CodeBase.
bullish (Bull market) :

bearish (Bear market) :

ranging (choppy market - means: buy and sell on the same time) :

flat (sideways market - means: no buy and no sell) :

correction :

correction in a bear market (Bear Market Rally) :

This indicator doesn't work on higher timeframes...only on the current.
The platform does not see the indicator. What is the problem?
The platform does not see the indicator. What is the problem?
MQL5 has been changed recently - iXXXX functions from the old MQL4 language (for the convenience of transition from old MQL4 to MQL5). As a result, the self-written iTime function is no longer needed in this code.
//+------------------------------------------------------------------+
//||
//+------------------------------------------------------------------+
datetime iTime(string symbol,ENUM_TIMEFRAMES TF,int index)
{
if(index < 0) return(-1);
static datetime timearray[];
if(CopyTime(symbol,TF,index,1,timearray) > 0) return(timearray[0]); else return(-1);
} function is no longer needed in this code and it should be simply deleted completely.
It works good with AscTrend indicator -

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use


AbsoluteStrengthMarket:
A tape indicator which defines the market state using the AbsoluteStrength indicator
Author: Igor Durkin