Download MetaTrader 5

Watch how to download trading robots for free

Interesting script?
So post a link to it -
let others appraise it

You liked the script? Try it in the MetaTrader 5 terminal

2012.08.13 06:48
Libraries

BB_MACD_funcs - library for MetaTrader 4

| English 日本語 Русский Español Deutsch Português

Views:
5355
Rating:
votes: 10

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:

MACD = EMA(CLOSE, 12) - EMA(CLOSE, 26)

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 Software Corp.
Original code: https://www.mql5.com/ru/code/10804

Automatic stoploss and takeprofit Automatic stoploss and takeprofit

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

X trader X trader

Trades on two moving average crosses

Bullish Reversal Bullish Reversal

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.

Brooky FibIt Scripts Brooky FibIt Scripts

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