Watch how to download trading robots for free
Find us on Facebook!
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:
5485
Rating:
(11)
Published:
2019.01.02 14:28
TIA.mq5 (11.26 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Trend Interruption Average displays three lines:

  1. the average number of consecutive rising candlestick Close prices (uptrend)
  2. the average number of consecutive falling candlestick Close prices (downtrend)
  3. the difference of these two streams

It has two input parameters:

  • Period - averaging period
  • Method - averaging calculation method

Calculation:

Up = AvgUp

Down = AvgDown

Difference = AvgUp - AvgDown

where:

AvgUp - MA(Up, Period, Method)

AvgDown - MA(Down, Period, Method)

  • If Close > PrevClose
    Up = PrevUp+1
    Down = 0
  • If Close < PrevClose
    Down = PrevDown+1
    Up = 0

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

Stalin_NRTR_HTF Stalin_NRTR_HTF

Indicator Stalin_NRTR with the timeframe selection option in its input parameters

Stalin_NRTR Stalin_NRTR

The Stalin indicator in the form of NRTR.

18AvgMA 18AvgMA

The "Average of 18 Moving Averages" indicator

Pivot_Oscillator Pivot_Oscillator

Pivot Oscillator