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:
6181
Rating:
(11)
Published:
2018.10.25 14:58
Trix.mq5 (16.43 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Trix oscillator is an oscillator based on the smoothed triple moving average.
The indicator was developed in the early 1980's by Jack Hutson, an editor for "Technical Analysis of Stocks and Commodities" magazine.

There are seven configurable parameters:

  • Period - calculation period
  • First MA method - first MA calculation method
  • Second MA method - second MA calculation method
  • Third MA method - third MA calculation method
  • Signal period - signal line calculation period
  • Signal method - signal line calculation period
  • Applied price

Calculation:

Trix = (MA3 - PrevMA3) / PrevMA3 Signal = MA(Trix, Signal period, Signal method) Histogram = Trix - Signal

where:

MA3 = MA(MA2, Period, Third MA method) MA2 = MA(MA1, Period, Second MA method) MA1 = MA(Applied price, Period, First MA method)

The equation is taken from Appel, Gerald: Winning Stock Market Systems. Signalert Corp., Great Neck, N.Y. 1974.

General rule:
Buy when Trix is below zero and crosses its signal line upwards.
Sell when
Trix is above zero and crosses its
signal line downwards.
The histogram color change may serve as a preliminary signal that either forecasts the indicator lines crossing, or can be used to work on the price roll-backs.

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

Exp_MA_Rounding_Candle_MMRec Exp_MA_Rounding_Candle_MMRec

The trading system based on the MA_Rounding_Candle indicator signals with an ability to change the volume of a forthcoming trade depending on the results of the previous trades for this trading system

Exp_XHullTrend_Digit Exp_XHullTrend_Digit

Exp_XHullTrend_Digit is based on signals generated by XHullTrend_Digit indicator

TBS_Histogram TBS_Histogram

Tick Based Stochastic with histogram

TBS TBS

Tick Based Stochastic indicator