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
Indicators

Step average - std based - indicator for MetaTrader 5

Views:
5354
Rating:
(17)
Published:
2018.10.10 15:09
Updated:
2019.01.29 14:21
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Basics:

We are all using averages for market assessment. One of the ways averages are used is using the change of the slope of the average as a signal. But that way tends to produce a lot of signals in ranging market. One of the way to lessen that number of signals is to filter out insignificant changes in average.

This version:

It is using percent of STD (Standard Deviations) as a filter. It is done in order to fix one of the weak points of using fixed (pips) step size : different time frames tend to have different results for fixed step size (ie: higher time frames become almost without steps and lower time frames still have those steps for same setting). Percent of STD usage fixes that and makes it a sort of adaptive. The rest is the same : if the average does not changes for more than the required step, the value of the average remains the same. Otherwise it is changed in order to reflect the nearest value based on the required steps. Averages supported are the following:

  • simple moving average (SMA)
  • exponential moving average (EMA)
  • smoothed moving average (SMMA)
  • linear weighted moving average (LWMA)

Usage:

You can use the color changes as signals.

Step average (atr based) Step average (atr based)

Step average - average true range based

Step average Step average

Step average

Efficiency ratio directional with levels Efficiency ratio directional with levels

Efficiency ratio directional with self adjusting levels

ATR adaptive Laguerre RSI ATR adaptive Laguerre RSI

ATR adaptive Laguerre RSI