Watch how to download trading robots for free
Find us on Twitter!
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
Indicators

FineTuningMACandle_Chl_Arr_StDev - indicator for MetaTrader 5

Views:
3449
Rating:
(10)
Published:
2018.12.28 12:58
Updated:
2023.03.29 13:48
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Indicator FineTuningMACandle_Chl_Arr that additionally indicates the trend strength with colored dots, based on the standard deviation algorithm.

If the standard deviation of the FineTuningMACandle_Chl_Arr centerline is between the values of parameters dK1 and dK2, then a small colored dot appears on the moving average. Its color is relevant to the current trend direction.

input double dK1=1.5;  // Square-law filter coefficient 1
input double dK2=2.5;  // Square-law filter coefficient 2

If the standard deviation becomes higher than the value of input dK2, then the dot increases in size. Thus, we get three levels of trend strength indicated.

  1. Weak — no dots;
  2. Medium — small colored dots;
  3. Strong — big colored dots.

The initial indicator candle color is passed by the signal line color.

The indicator uses the classes of library SmoothAlgorithms.mqh (to be copied to <terminal_data_directory>\MQL5\Include). The use of the classes was thoroughly described in article Averaging Price Series for Intermediate Calculations without Using Additional Buffers.

Fig1. Indicator FineTuningMACandle_Chl_Arr_StDev

Fig1. Indicator FineTuningMACandle_Chl_Arr_StDev

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

FineTuningMACandle_Chl_Arr_StDev_HTF FineTuningMACandle_Chl_Arr_StDev_HTF

Indicator FineTuningMACandle_Chl_Arr_StDev with the timeframe selection option available in its input parameters

Round_Levels_XN Round_Levels_XN

Indicator Round_Levels_XN draws multiple "round" levels nearest to the current price above and below it

FineTuningMACandle_HTF FineTuningMACandle_HTF

Indicator FineTuningMACandle with the timeframe selection option available in its input parameters

SAR_Oscillator2 SAR_Oscillator2

SAR Oscillator 2 indicator