Join our fan page
- Views:
- 9079
- Rating:
- Published:
- 2012.08.13 06:48
- Updated:
- 2014.04.21 14:55
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
In this library there are 2 functions iBandsfunc and iMACDfunc, which extend calculating capabilities of the appropriate functions, e.g. for expert advisers.
The standard function iBands is calculated by using the deviation only as an integer value and on the basis of a simple moving average (SMA). In iBandsfunc it is possible to use deviation as a double value and other moving averages.
The standard function iMACD is calculated by formulas:
SIGNAL = SMA(MACD, 9),
where MACD is calculated on the basis only of the exponential moving average (EMA), and the signal line - a simple moving average (SMA). In iMACDfunc it is possible to choose a moving average for main (MACD) and signal line.
Examples of the use these functions can be found in the attached file.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/10804

Automatic set (woth confirmation) of tp ans sl calcul use buy cost it work for every trade available and for all symbol. You can change the external parameter for tp and sl. I work on a new version where you could choose sl and tp for each symbol

Trades on two moving average crosses

This EA executes trades when it recognizes candlestick patterns that are associated with Bullish Reversals. Test have been ran on the daily chart. The code still needs a lot of work, so trade at your own risk.

Customizable Fibonacci Tool scripts to make these tools more informative on chart as per your needs.