Join our fan page
- Views:
- 7143
- Rating:
- Published:
- 2018.12.07 19:15
- Updated:
- 2018.12.07 19:21
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Theory :
Trend Trigger Factor was described by M.H. Pee in the Technical Analysis of Stocks and Commodities magazine in December, 2004. Usually the indicator is added some sort of smoothing in order to filter out the false break results.
This version :
It is using averages filter out prices prior to being used in calculation. That way the lag added is smaller then when the smoothing is used on the calculated result. The averages that can be used are the following :
- simple moving average (SMA)
- exponential moving average (EMA)
- smoothed moving average (SMMA)
- linear weighted moving average (LWMA)
Als, unlike the original which uses levels +100 and -100 as significant levels for signal triggering, this version is using discontinued signal lines for trend filtering. That way it makes it a bit more responsive to market conditions
Usage :
You can use the color change for signals
PS:
Usual "big picture example" with slightly different settings (visible from the example) - as usual, some experimenting with parameters advised before using it in real trading
![ms-Сandle. Candle direction indicator, gaps in quotes.](https://c.mql5.com/i/code/indicator.png)
The indicator determines the direction of the bar based not only on the Open/Close prices. Gaps and gaps in quotes are also determined.
![Trend continuation factor (of average)](https://c.mql5.com/i/code/indicator.png)
Trend continuation factor - averages pre-smoothed (filtered)