The Binary Wave returns a positive or a negative value depending on the indicator readings’ bullish or bearish forecasts. The real strength of binary waves can be seen when several binary waves are combined into composite binary waves.
I have gathered seven individual binary waves into a composite one:
- a close price relative to its moving average (above – below);
- MACD slope;
- OsM crossing with the zero line;
- CCI crossing the zero line;
- Momentum crossing the level 100;
- RSI crossing the level 50;
- DMI+ and DMI- position relative to each other (ADX).
When you create a composite wave, it is important to test the individual binary waves first to check their validity. A good binary composite wave will show the results superior to the results generated by the individual binary waves included into it. Any of the above mentioned waves can be excluded from the composite wave by assigning it a weight (Weight parameter) equal to zero. This allows you to check the validity of individual waves.
Interpretation of the binary waves is fairly obvious: higher values indicate a bullish trend, while lower values – a bearish one. Composite binary wave values depend on the number of individual binary waves included in it. You can “weigh” binary waves readings depending on the quality of their predictive ability by assigning the value to the corresponding Weight parameter. For example, one component of a binary composite wave can have a value of 5, while another one can be equal to 0.75. Wave maximum total weight is shown in parentheses after the indicator name in the upper left corner of the indicator area.
You can smooth a binary wave by setting bLength parameter greater than one.
I think you can easily understand the principle of the indicator operation and may use it to create high-quality filters for your trading systems.
This indicator allows to select a smoothing type out of ten possible versions:
- SMA – simple moving average;
- EMA – exponential moving average;
- SMMA – smoothed moving average;
- LWMA – linear weighted moving average;
- JJMA – JMA adaptive average;
- JurX – ultralinear smoothing;
- ParMA – parabolic smoothing;
- T3 – Tillson’s multiple exponential smoothing;
- VIDYA – smoothing with the use of Tushar Chande’s algorithm;
- AMA – smoothing with the use of Perry Kaufman’s algorithm.
It should be noted that Phase type parameters for different smoothing algorithms have completely different meaning. For JMA it is an external Phase variable changing from -100 to +100. For T3 it is a smoothing ratio multiplied by 100 for better visualization, for VIDYA it is a CMO oscillator period and for AMA it is a slow EMA period. In other algorithms these parameters do not affect smoothing. For AMA fast EMA period is a fixed value and is equal to 2 by default. The ratio of raising to the power is also equal to 2 for AMA.
The indicator uses SmoothAlgorithms.mqh library classes (must be copied to the terminal_data_folder\MQL5\Include). The use of the classes was thoroughly described in the article “Averaging Price Series for Intermediate Calculations Without Using Additional Buffers”.
This indicator was first implemented in MQL4 and published in CodeBase at mql4.com 21.08.2009.
Recommended MT5 Brokers
XM Broker
- Free $50 To Start Trading Instantly! (Withdraw-able Profit)
- Deposit Bonus up to $5,000
- Unlimited Loyalty Program
- Award Winning Forex Broker
- Additional Exclusive Bonuses Throughout The Year
- Exclusive 50% Cash Rebates for all Trades!
Already an XM client but missing out on cashback? Open New Real Account and Enter this Partner Code: 𝟕𝐖𝟑𝐉𝐐
(Free MT5 Indicators Download)
Enter Your Email Address below, download link will be sent to you.