Watch how to download trading robots for free
Find us on Twitter!
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:
4589
Rating:
(5)
Published:
2018.06.06 14:02
TriMA.mq5 (12.6 KB) view
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

Triangular Moving Average.

Calculation:

TriMA[i] = (MVA(i,N) + MVA(i-1,N) + … + MVA(i-N+1,N))/N

where

MVA(i,N) – a simple moving average (SMA),
N=(Period+1)/2

The indicator has two input parameters:

  • Period - period;
  • Applied price - price used for calculations.

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

Trailing_Stop_Level Trailing_Stop_Level

An indicator of StopLoss levels.

Simple_Support_Resistance Simple_Support_Resistance

An indicator of current support/resistance levels.

Dominant_Color Dominant_Color

An indicator of the dominant direction of closing of bars.

ILRS_MA ILRS_MA

Integral of Linear Regression Slope (ILRS MA).