Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Views:
5568
Rating:
(13)
Published:
2018.09.27 15:13
Silence.mq5 (14.19 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

The Silence indicator displays aggressiveness (price change rate, the blue line) and volatility (the red line) in a separate window.

The indicator has three input parameters:

  • Period - calculation period;
  • Interpolation - interpolation period;
  • Applied price - price used for calculations.

Calculations:

Aggressiveness = InterpolationAggress
Volatility = InterpolationVolatil

where:

InterpolationAggress = (0 - (MinAggress - BAggress) * -100.0 / (MinAggress-MaxAggress)))
InterpolationVolatil = (0 - (MinVolatil - BVolatil) * -100.0 / (MinVolatil - MaxVolatil)))
BAggress = B/Point
BVolatil = Sqrt(dAmount)
B = SMA(Abs(Applied price - PrevApplied price), Period)
dAmount = Power(Applied price - SMA(Applied price, Period)) / Period
  • MinAggress, MaxAggress - the maximum and minimum values of BAggress over the 'Interpolation' period;
  • MinVolatil, MaxVolatil - the maximum and minimum values of BVolatil over the 'Interpolation' period.

Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21673

1H EUR_USD 1H EUR_USD

The Expert Advisor utilizes the High and Low analysis, as well as one iMACD (Moving Average Convergence/Divergence, MACD) and two iMAs (Moving Average, MA).

Trend_Intensity_Index Trend_Intensity_Index

The Trend Intensity Index oscillator displayed as a color histogram.

Slope_Direction_Line Slope_Direction_Line

The Slope Direction Line indicator is displayed as a colored moving average line indicating the average market movement direction.

Trading_Channel_Index Trading_Channel_Index

The Trading Channel Index oscillator displayed as a color histogram.