Mira cómo descargar robots gratis
¡Búscanos en Twitter!
Pon "Me gusta" y sigue las noticias
Acceda a CodeBase desde el terminal MetaTrader 5
¿No ha encontrado el código necesario? Deje su pedido en la sección Trabajo
Cómo escribir un Asesor Experto o un Indicador

Los mejores códigos fuente en MQL4 y MQL5 según el ranking de los usuarios - 70

Añadir código

This is a conversion factor. It is used to detect whether broker is 4 or 5 digits. As MetaTrader 4 calculates everything using point basis, coder can use this function to convert pips to point for machine reading.

The EA using single layer Perceptron.

After back testing, we usually need to analyze the testing result on a new chart which we have loaded our template,in this case we need to copy the objects on the testing chart to the new chart. This script helps to save the objects into a file and show the objects on a new chart.

Set all opened charts to use auto scaling or fixed scaling simultaneously.

"Donchain Channel" EA Trades when there is a retracement from "DONCHAIN CHANNEL" levels has Trailing Stop Loss works on all time frames major forex pairs and stocks NASDAQ.

Bladerunner EA trades with "Fractals" indicator and 20 period moving average strategy has Trailing Stop Loss &Take Profit works on 1H time frame major forex pairs and stocks NASDAQ.

Stochastic MACD (metatrader 4 version)

Trend indicator (separate window)

Indicator DXYvsEXY is the USDX vs EURX with Awesome Oscillator Indicator for MT4.

Recopila ticks, guarda los datos en un archivo y forma gráficos estándar.

"Buy Sell Stop Buttons" EA sets up 3 buttons for manual trading and allows to predetermine trailing stoploss & take profit, open and close all trades at once.

The Awesome Oscillator indicator is used for trade entry and exit

The indicator demonstrates the trend stops with multicolor dots. In order to distinguish the targets the BrainTrend2Stop uses Blue and Red dots.

Prediction of the daily price ranges.

El indicador técnico "Rango Porcentual de Williams" (Williams Percent Range, %R) es un indicador dinámico que determina el estado de sobrecompra/sobreventa.

Indicador Kuskus Starlight. No está de todo claro qué es lo que el autor intentaba hacer con el indicador.

The SmartAssTrade-V2 Forex Expert Advisor is a new update for SmartAssTrade EA Version 1.

Plays sound alerts when the price reaches certain levels, specified by trader.

The Expert Advisor is based on the operation of its predecessor — Forex Fraus (for M1), but using the Envelopes indicator.

Pending Order is an order that will be executed if the price touches a point that we specify, in other words open pending order means ordering to open a position at a certain price level. So if price hits a predetermined level, then automatically we have an open trading positions.

The Expert Advisor is designed for placing managing grids.

Code example of MACD automated with advanced money management function.

"Hedg System" EA trades with hedging strategy two trades at any given time: Buy and Sell ,works best on 1D time frames major forex pairs .

Let's say we have 20 open orders on one symbol and want to set takeprofit or stoploss for all of them at the same level(price) .The script selects all open orders of the symbol and can modify stoploss or takeprofit or both at the desired level (price). If the input parameters are left to zero , the stop or the takeprofit are left unchanged .

Simple oscillator with a histogram.

Power of GBP indicator shows actual strength of currency GBP calculated of 7 pairs that contain GBP. Indicator can be used for strategies based on mean reversion and/or correlation. Included pairs: EUR GBP, GBP USD, GBP JPY, GBP AUD, GBP CAD, GBP NZD, GBP CHF.

in raw form for currency pairs and indices.

Sharing this trend indicator made by me. Called "Timeframe Flow". It will draw a user defined higher time-frame candle on every shift on your current time-frame. Meaning you can have H4, H12 or D1 candles on every shift of your H1 Charts. Or you can have D2, D3 or D5 candles on every shift of your Daily Charts. Combined with the current time-frame ATR Bands, you have a trend indicator with some filter. You may also use the Mid Line crosses as exit( Calculated using Higher timeframe candles displayed in the indicator(Close + Open)/2 ).

The "Camarilla Pivots" indicator. The ideal indicator for those who like to work "by levels". It clearly shows the reversal level, support/resistance levels for the current day.

The indicator finds Doji candlesticks and highlights them on the chart.

TS casi clásico basado en la intersección de dos MA.

Es como Cruce de MA pero este indicador muestra una señal más válida. La señal de Compra y Venta aparece cuando se cruzan unos con otros.

El asesor está basado en el indicador TREND_alexcud.

Anteproyecto del Asesor Experto que tradea usando ZIGZAG-FRACTALS para high/low de la barra anterior en el gráfico de una hora en la dirección de la tendencia del día. Take Profit es de 13 puntos.

El asesor usa el método de predicción lineal de Burg, tomado de mi indicador Extrapolator.mq4

This EA works in hangseng futures.

Automatically sets a pre set take profit and stop loss for you.

See http://forum.mql4.com/54660 for getting a connection between highs and a connection between lows. I made a zigzag this way.

Specific support and resistance indicator is based on indicators MW_ZigZag.ex4 and High_Low v2.ex4.

This Expert Advisor trades on the principle of the Martingale: if the order is closed by Stop Loss, the next order will be the opposite type with a lot size increased by a certain rate.

1...636465666768697071727374757677...104