Watch how to download trading robots for free
Find us on Telegram!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 3952
- Rating:
- Published:
- 2018.07.09 13:47
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Indicator TII (Trend Intensity Index) was described in the article by M.H. Pee, published in the "Stocks and Commodities" magazine in June, 2002.
It has six input parameters:
- Period - calculation period;
- MA Period - MA calculation period;
- MA Method - Moving Average calculation method;
- Applied price - the calculation price;
- Overbought - overbought level;
- Oversold - oversold level.
Calculation:
TII = 100 * (POS) / (POS +NEG)
where:
POS = SMA(UP, Period) NEG = SMA(DN, Period) UP = Price - MA DN = MA - Price
MA = MA(MA Period, MA Method, Applied price)
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/21113