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
Indicators

Trend_Component - indicator for MetaTrader 5

Views:
3898
Rating:
(10)
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

Deep Drawdown MA Deep Drawdown MA

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.

MurreyMathFixPeriod MurreyMathFixPeriod

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.

Previous Candle Breakdown Previous Candle Breakdown

Expert Advisor "Previous Candle Breakdown."

Close by Equity Percent Close by Equity Percent

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