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 | TBS_Histogram

Tick Based Stochastic with histogram - modified stochastic with the K and D lines difference histogram.

It has ten input parameters:

  • %K period - stochastic K line period
  • %D period - stochastic D line period
  • Slowing - slowing
  • %K method - stochastic K line calculation method
  • %D method - stochastic D line calculation method
  • Applied price
  • Overbought - overbought level
  • Oversold - oversold level
  • Show %K line - display K line (Yes/No)
  • Show %D line - display D line (Yes/No)

Calculation:

K = MA(FastK, Slowing, %K method) D = MA(K, %D period, %D method) H = K - D

where:

FastK = 100.0 * mins/maxes mins  = Applied price - minLow maxes = maxHigh - minLow minLow, maxHigh - low and high prices in the %K period range H - histogram

MetaTrader Experts, Indicators, Scripts and Libraries

22114