Aleksey_Ivanov
Private, 1st Class
- Messages
- 91
More detailed information about profitable indicators with optimal filtering of market noise can be found on the StatLab website.Channel Builder FREE
Channel Builder
The Channel Builder (CB) or Ivanov Bands indicator is a broad generalization of the Bollinger Bands indicator. First, in CB, the mean line <X> is calculated using various averaging algorithms. Secondly, the mean deviations calculated by Kolmogorov averaging are plotted on both sides of the middle line <X>.
The middle line <X>, besides the standard SMA, EMA, SMMA and LWMA averaging algorithms, can be Median = (Max + Min) / 2 sliding median (which is the default). In addition, for the calculation of <X>, the moving averaging algorithms <XF> (fast) and< XS> (slow) are used, which are developed by the author. These algorithms specifically filter out the harmful noise that is largely present in the highly volatile currency market. The filtering algorithm <XF> allows you to quickly identify the beginning of the trend. And the filtering algorithm <XS> allows you to better define the transition to flat. And, finally, CB allows you to build a weighted by the volume averaging of the price <XV>.
CB allows you to plot an infinite number of different channels similar to Bollinger Bands, but different from it, including Bollinger Bands only as a special case. CB is essentially an experimental stand form plotting and studying different channels in order to find the most suitable one for the manual or automatic strategy used by trader.
CB allows (through various filtering): (1) determine the earliest moment of transition from flat to trend or vice versa, (2) from trend to flat, and when building channels, you can (3) level out the sharp price spikes (that is, the robust method), obtaining smooth lines (with weak response to spikes) for more reliable channels, or, conversely, (4) make the channels very sensitive to such spikes, which allows using sharp breaks of their lines as very reliable sources of additional information on changes in the price movement direction.
The CB indicator uses six different particular implementations of the general algorithm for calculating the average deviation from <X>, while only the first of them - (1) mean power deviation leads to construction of the Bollinger Bands lines in the case of exponent n=2 and <X>=SMA. In addition, CB also employs algorithms for calculating the following averages: (2) logarithmic, (3) exponential, (4) exponential root mean square, (5) sinusoidal and (6) angular deviations. Each of them (except for logarithmic) can be configured to robust and inverse modes.
The formulas for moving averages and mean deviations used to construct the CB channels are presented in the last screenshots.
Setting up the indicator
- Price type - applied price. Values: Close price (default), Open price, High price, Low price, Median price ((high + low)/2), Typical price ((high + low + close)/3), Weighted price ((high + low + 2*close)/4).
- The averaging method - averaging method. Values: Simple, Exponential, Smoothed, Linear weighted, Median=(Max+Min)/2 (default), <XF>, <XS> and <XV>.
- Choose simulation Bands mode – select the algorithm for calculating the mean deviations. Values:
- 1. (<(|x - <x>|)^n>)^(1/n) - mean power (default)
- 2. exp(<ln(|x - <x>|)>) - mean log
- 3. n*std*ln(<exp(|x - <x>|/(n*std))>) - average exponential
- 4. n*std*sqrt(ln(<exp(sign(n)*((x - <x>)/(n*std*))^2)>)) – exponential root mean square
- 5. n*std*arcsin(<sin(pi*|x - <x>|/|n*std|/2)>)/(pi/2) - average sinusoidal
- 6. n*std*sin(<arcsin(|x - <x>|/|n*std|)>) - angular mean
- The averaging period - averaging period. Any integer (20 by default).
- Channel width factor 'K' - channel width factor. Values: any real number (2.0 by default).
- Exponent 'n' - exponent for (1) the exponential averaging algorithm. Scale multiplier for other averaging types (3-6). Values: any real number except 0 (2.0 by default).
Sensitive SignalA new version (v4.0) of the Identify Trend PRO indicator has been released.
Based on the current distributions of the probability of prices and the given probability of obtaining unprofitable trades, the StopLoss lines were calculated and visualized.
Added the function of calculating the lot based on the size of the deposit, the permissible % loss level and the StopLoss position.
View attachment 57397
View attachment 57398
View attachment 57399
Released version of indicator ProfitMACD for the trading platform MT5.Profit MACD
Profit MACD
I present an indicator for professionals. ProfitMACD is very similar to classic MACD in appearance and its functions. However, ProfitMACD is based on completely new algorithms (for example, it has only one averaging period) and is more robust, especially on small timeframes, since it filters random price walks. The classic MACD indicator (Moving Average Convergence / Divergence) is a very good indicator following the trend, based on the ratio between two moving averages, namely the EMA with periods of 12 and 26, i.e.
MACD = EMA(CLOSE, 12)-EMA(CLOSE, 26),
and the signal line - 9-period moving average from the indicator itself
SIGNAL = SMA(MACD, 9).
The algorithm of the indicator ProfitMACD is much more complicated and is shown in the last screenshot. ProfitMACD, like the classic MACD, is most effective when the market fluctuates with a large amplitude in the trading corridor.In the latest (2.0) version of the indicator, all kinds of alerts have been added.
Benefits of ProfitMACD.
ProfitMACD signals.
- Classic MACD gives a lot of false signals on small timeframes, providing good results on weekly and daily charts. ProfitMACD works on hour timeframes and can be quite accurate even on M5, which allows it to be used for scalping.
- In addition, the ProfitMACD indicator has less lag.
- According to the value of the main line ProfitMACD, presented in points, you can, if there is a signal, set the position of Take Profit when playing on the oscillations inside the channel. And when playing by the trend at this value, you can set the value of Stop Loss.
The signals for these indicators are: (1) intersections, (2) overbought / oversold conditions, and (3) divergences.
1. Intersections.
If the main line of the indicator falls below the signal line, then you should sell; if it rises above the signal line, buy. As signals to buy / sell, the intersection of the main line of the zero mark up / down is also used.
2. Overbought / Oversold conditions.
If the indicator is very high, the price is too high and will soon return to a more realistic level.
3. Divergences.
If a higher price high is not confirmed by a higher high on the indicator (bearish divergence) or vice versa, a lower minimum is not confirmed by a minimum on the indicator (bullish divergence), this means the end of the trend and the possible reversal of the trend. Discrepancies are most significant if they form in overbought / oversold areas.
Indicator settings.
- Price type - applied price. Values: Close price (default), Open price, High price, Low price, Median price ((high + low)/2), Typical price ((high + low + close)/3), Weighted price ((high + low + 2*close)/4).
- The averaging period - averaging period. Values:any integer (9 default).
- Data in points of possible profit? - Show data in points of possible profit? Values: true (default), false.
- The Signal method - Type of trading signal alert. Values: No, Send alert, Print (in expert), Comment (in chart), Sound + Print, Sound + Comment, Sound, Push + Comment, Push, Mail + Comment, Mail.
Aleksey Ivanov - 60000382 - Профиль трейдера - MQL5.communityCunning crocodile
Cunning crocodile
Structure of the indicator.
The Cunning crocodile indicator consists of three moving averages (applied to the price Median price = (high + low)/2): 1) the usual SMA or the mean <X> of the process X and her two generalizations 2) <XF> = <X / <X >> * <X> and 3)< XS> = <X * <X >> / <X> with the same averaging period. All three curves intersect at common points that (such an intersection in which the cunning crocodile, unlike the usual one, "never bites his tongue") indicates a change in the trend in the price movement. Formulas for these generalized averages, one of which <XF> is faster, and the other <XS> is slower than the usual SMA, are presented in the last screenshot.
Using the Cunning crocodile indicator and its advantages.
The trade of the Cunning crocodile indicator is similar to that of the trade of the usual Alligator indicator, but it has the following advantages. First, averaging over the algorithm< XF> is less delay than behind the fast SMMA used in the classical Alligator. Secondly, the small slope of the slow <XS> is also faster achieved than the small slope of the slow SMMA of the normal Alligator. Therefore, the indicator Cunning crocodile more quickly indicates the transition to both trend and flat market conditions than the classic Alligator.
Trade with the Cunning crocodile indicator.
If after reaching a single point of intersection of all three curves "the mouth of the crocodile" is widely opened and the slow average <XS> acquires a significant slope, then there is a trend. In this case, the position on Buy (Sell) opens when the price is higher (lower) than the fast average <XF> and closes when it is below (above) <XF> (those. in the "mouth" Cunning crocodile).
If the slow mean <XS> is practically horizontal and (that occupies a significant section of the history) all three lines intersect repeatedly (3 to 6 times) at single points, then the price consolidation takes place. At the same time, the length of the subsequent trend is usually proportional to the length of the previous consolidation area, in which the market spends most of the time (70% -80%), which provides additional information for assessing the state of the market, i.e. it allows to judge whether the trend reversal starts or the trend ends. A rough estimate is as follows: if the trend lasted for 25% -40% of the time of the previous consolidation, then, most likely, there will be a trend end; if the trend lasted less than 20% of the time of the previous consolidation, then a rollback.
Indicator parameters.
- Price type - Values: Close price, Open price, High price, Low price, Median price ((high + low)/2 – default), Typical price ((high + low + close)/3), Weighted price ((high + low + 2*close)/4).
- The averaging period - Values: Integer. Default is 5.
- The Signal method - Type of trading signal alert. Values: No, Send alert, Print (in expert), Comment (in chart), Sound + Print, Sound + Comment, Sound, Push + Comment, Push, Mail + Comment, Mail.
A new version (v.7.0) of the Sensitive Signal indicator (https://www.mql5.com/en/market/product/34171) has been publishedSensitive Signal (new version)
Added arrows showing the moments of the change in the direction of the trend.
Three modes of visual display of information are made:
Arrows showing the immediate direction of price movement and the moment of trend change.
Arrows showing only the direction of price movement.
Arrows showing only the moments of a trend change.
Sensitive Signal
The Sensitive Signal (SS) indicator, using the filtering methods developed by the author, allows, with a high degree of probability, to establish the beginning of the true (filtered from interference - random price walks) trend movement. It is clear that such an indicator is very effective for trading on the currency exchange, where signals are highly distorted by random noise. The filtration developed by the author is carried out in several iterations and reveals the true trajectory of the regular price movement (more precisely, the most likely curve of such movement) and draws it.
Indicator readings are visual, extremely simple and do not require comments. Blue triangles are located on the uptrend of the regular component of the price movement, red triangles - on the downward. Accordingly, entry points for Buy are where the blue triangles appear immediately behind the red triangles, and for Sell, the opposite. The level of sensitivity of the indicator is adjusted by setting « Select sensitivity level». At the same time, you need to understand that increasing the sensitivity level not only reduces the signal delay (which, in fact, is small for all levels), but increases the probability of issuing a false signal.
Possible moments of the change in the direction of price movement are also indicated by arrows.
The indicator has all kinds of alerts. Alert may be turned on: 1) if the indications of the indicator coincide (regarding the direction of the trend) on the last two bars; 2) on a closed candle; 3) on the closed candle and the bar preceding it.
Indicator settings.
- Price type - applied price. Values: Close price, Open price, High price, Low price, Median price ((high + low)/2 - default), Typical price ((high + low + close)/3), Weighted price ((high + low + 2*close)/4).
- The averaging method - averaging method. Values: Simple, Exponential (default), Smoothed, Linear weighted.
- The averaging period - averaging period. Values: any integer (14 default).
- Select sensitivity level - sensitivity level of the Indicator. Values: Low, Middle (default), High and Strongest.
- Dimensions of markers – Dimensions of the markers. Values: any integer (2 default).
- The display method - Values: Show trend arrows and show change trend arrows (default), Show only trend arrows, Show only change trend arrows.
- Trend UP arrow color= DeepSkyBlue
- Trend DOWN arrow color=Red
- Down arrow color=Magenta
- Up arrow color=Lime
- Signal Identification Method - Values: By the last two bars (default), By closed candle, By closed candle and by the previous for it bar.
- The Signal method - Type of trading signal alert. Values: No, Send alert, Print (in expert), Comment (in chart), Sound + Print, Sound + Comment, Sound, Push + Comment, Push, Mail + Comment, Mail.