Hello,
I am trying to get SMI to plot two lines. How could I achive this?
Picture of what I want to accomplish is attached. Please take a look. Thank you.
Forum on trading, automated trading systems and testing trading strategies
Something Interesting to Read January 2014
newdigital, 2014.01.26 21:46
Momentum, Direction, Divergence : William Blau
In this latest volume, technical expert Bill Blau shows you how
momentum, direction, and divergence form the basis of most technical
indicators and how they can work for you to provide a considerable
competitive advantage. Clearly, concisely, and with a minimum of complex
mathematics, Blau shows you how to understand and apply them.
Integrating the latest financial insights with more than 75
easy-to-follow graphics, Blau describes the uses and limitations of many
of today's most notable technical indicators. He then demonstrates a
variety of ways in which the principles of momentum, direction, and
divergence can be used to create a versatile new set of technical
indicators or to improve the effectiveness of the most widely used
traditional indicators.
Focusing on the groundbreaking double smoothing concept, which he introduces for the first time in this book, William Blau:
- Develops reliable new momentum indicators based on double smoothing techniques
- Shows how these indicators improve the effectiveness of most popular oscillators, including the RSI, MACD, and stochastic indicators, by solving a host of timing problems
- Combines the standard Welles Wilder techniques with his original True Strength Index to improve the effectiveness of most directional movement indicators
- Introduces new ways of identifying divergence that make implementation simpler than ever
- And much more
==========
William Blau's Indicators and Trading Systems in MQL5. Part 1: IndicatorsThe first part of the article "Indicators and Trade Systems in MQL5 by William Blau. Part 1: Indicators " is a description of indicators and oscillators, described by William Blau in the book "Momentum, Direction, and Divergence".
The article describes the following groups of indicators:
- Indicators, based on the Momentum:
- Momentum (Blau_Mtm.mq5)
- The True Strength Index (Blau_TSI.mq5)
- Ergodic Oscillator (Blau_Ergodic.mq5)
- Indicators, based on Stochastic:
- Stochastic (Blau_TStoch.mq5)
- Stochastics Index (Blau_TStochI.mq5)
- Stochastic Oscillator (Blau_TS_Stochastic.mq5)
- Indicators, based on the Stochastic Momentum:
- Stochastic Momentum (Blau_SM.mq5)
- Stochastic Momentum Indicator (Blau_SMI.mq5)
- Stochastic Momentum Oscillator (Blau_SM_Stochastic.mq5)
- Indicators, based on a Mean Deviation from the market trends:
- Mean Deviation Index Indicator (Blau_MDI.mq5)
- Ergodic MDI-oscillator (Blau_Ergodic_MDI.mq5)
- Indicators based on the Moving Average Convergence/Divergence:
- MACD indicator (Blau_MACD.mq5)
- Ergodic MACD-oscillator (Blau_Ergodic_MACD.mq5)
- Indicators, based on the Candlestick Momentum:
- Candlestick Momentum (Blau_CMtm.mq5)
- The Candlestick Momentum Index (Blau_CMI.mq5)
- Candlestick Index Indicator (Blau_CSI.mq5)
- Ergodic CMI-Oscillator (Blau_Ergodic_CMI.mq5)
- Ergodic CSI-Oscillator (Blau_Ergodic_CSI.mq5)
- Indicators, based on a Composite High-Low Momentum:
- Indicator of the Virtual Close (Blau_HLM.mq5)
- Directional Trend Index Indicator (Blau_DTI.mq5)
- Ergodic DTI Oscillator (Blau_Ergodic_DTI.mq5)
SMI in mql4
https://www.mql5.com/en/code/7203
SMI mql5
https://www.mql5.com/en/code/371
Is the value of
mql4's Signal_Buffer[i] = mql5's MainBuffer[i]?
Thank you!
Thank you!

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Stochastic Momentum Index Blau_SMI:
Stochastic Momentum Index (SMI) by William Blau is based on Stochastic Momentum Indicator (see Momentum, Direction, and Divergence: Applying the Latest Momentum Indicators for Technical Analysis).
Stochatic Momentum Index is normalized (to half of q-period price range) and mapped into the [–100,+100] interval. The values of SMI is interpreted as overbought (positive) and oversold (negative) states of the market.
Author: Andrey N. Bolkonsky