Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Blau Stochastic Index

The Blau Stochastic Index Oscillator indicator shows the William Blau stochastic index.

It has five input parameters:

  • Period - calculation period;
  • First smooth period - the initial smoothing period;
  • Second smooth period - the secondary smoothing period;
  • Signal period - signal period;
  • Method - calculation method.

Calculations:

Stochastic[i] = 100*Diff[i]/Range[i]-50,  Signal[i] = 100*Diff_MA3[i]/Range_MA3[i]-50  

where:

Diff_MA3 = MA(Diff_MA2, Method, Signal period),  Diff_MA2 = MA(Diff_MA1, Method, Second period),  Diff_MA1 = MA(Diff, Method, First period),  Range_MA3 = MA(Range_MA2, Method, Signal period),  Range_MA2 = MA(Range_MA1, Method, Second period),  Range_MA1 = MA(Range, Method, First period),  Diff[i] = Close[i]-Min,  Range[i] = Max-Min,  Max, Min are the highest and the lowest price within the range from (i-Period+1) to (i)  

MetaTrader Experts, Indicators, Scripts and Libraries

20512

Best MetaTrader Indicators + Profitable Expert Advisors