Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Join our fan page
You liked the script? Try it in the MetaTrader 5 terminal
- Views:
- 4360
- Rating:
- Published:
- 2018.06.18 16:01
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
John Ehlers Trend Component Indicator.
It has three input parameters:
- Period - calculation period;
- Delta - factor to calculate gamma;
- Applied price - price used for calculations.
Calculations:
Trend Component = SMA(2*Period + 1, BP)
where:
BP = 0.5*(1.0 - alpha)*(Price[0] - Price[2]) + beta*(1.0 + alpha)*BP[1] - alpha*BP[2]
alpha = gamma*SQRT(gamma*gamma - 1.0) gamma = 1.0/COS(4.0*Pi*Delta/Period) beta = COS(2.0*Pi/Period)
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/20878

The EA opens positions at crossing fast iMA and slow iMA (Moving Average, MA). It has the function of outstaying the losses. It catches the type of the position in OnTradeTransaction.

Murrey levels are an efficient tool to forecast the changes in price movement. The main idea of this system is that all markets move in the same manner.

Expert Advisor "Previous Candle Breakdown."

The EA closes all positions if the equity reaches a certain ratio as related to the balance.