Mira cómo descargar robots gratis
¡Búscanos en Telegram!
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 scripts para MetaTrader 4 según el ranking de los usuarios - 3

Añadir código

Many developers face the same problem - how to get to the trading terminal sandbox without using unsafe DLLs. One of the easiest and safest method is to use standard Named Pipes that work as normal file operations.

Hay algunos scripts en el archivo zip que pueden ser muy útiles en intradía. Con ellos puede responder a los cambios en el mercado muy rápidamente.

La librería contiene varias funciones para obtener una información adicional acerca de los símbolos, cargados en el terminal de cliente. Atención: Solución para indocumentados, puede que no funcione en las otras versiones de MetaTrader

Script que elimina objetos del gráfico.

This script will calculate the total active and closed orders based on order types

The PrevDayLines.mq4 script is a tool for MetaTrader 4 that automatically draws three critical price levels from the previous trading day on your chart. These levels include the highest price (Max), the lowest price (Min), and the average price (Avg), providing traders with a clear visual reference for key support and resistance points.

Modify pending order - script choosing first in list pending order, printing selected pending order data, modifying pending order and printing pending order data after modification.

Close, Delete or Clean values from all orders by your choice.

Un ejemplo del script que escribe los valores del indicador RSI en un archivo CSV.

Script para descargar la historia de todas las parejas de divisas, metales, índices, CDF y para controlar los "agujeros" en la historia.

The script is designed to transfer trades from the standard report of the MetaTrader 4 tester to the chart.

El script limpia de manera selectiva el gráfico según una parte del nombre y/o según un tipo de objeto gráfico.

This script uses the Windows API to modify the "From:" and "To:" fields within the strategy tester according to user input. For this script the strategy tester should already be open. Tested on Windows 7 64 bit. If you are using another version of win

To assist traders who wish to open multiple sell orders quickly, a script file has been developed that allows them to execute a large number of trades with just one command. The default take profit and stop loss values are set in 5-digit broker format, but for traders using a 4-digit broker, the default must be TP=40 and SL=20. Num_of_Sell is the number of trades to execute. This script file can be extremely useful for traders who want to take advantage of market conditions quickly and efficiently. By simplifying the process of opening multiple sell orders, it can save traders valuable time and allow them to focus on other aspects of their trading strategy.

El script muestra las condiciones de colocación correcta y cercana al máximo del Stop Loss y Take Profit de las órdenes.

This is a "conceptual" script that uses the WinINet functions to load a HTTP page directly from mql4, without a C++ dll

Automatically does volume calculation based on percentage of desired account balance and enters instant or pending trades. Optional take profit is automatically at 1:1 with respect to SL.

Script-herramienta para los desarrolladores de programas en MQL4. Permite mostrar contenido con cualquier fuente en el gráfico.

The script reads the list of deals from the account history, groups them by the sign specified in the parameters and outputs to a file.

Pi

cálculo del número pi

Pues, las funciones de las operaciones de archivos se utilizan en la librería kernel32.dll, la que importamos en el EA. El código se muestra a continuación.

El script abre la posición SELL con la parte especificada de FreeMargin.

Usted elige un script y lo arrastra a un punto en el gráfico. A continuación, él usa este punto para modificar todos los niveles de StopLoss y TakeProfit de la divisa actual del gráfico.

El cálculo de la cantidad de lotes a través de determinado porcentaje de patrimonio libre.

Script para trazar las líneas de rejilla horizontales

El script permite no sólo establecer el nivel del punto muerto para todas las órdenes abiertas del símbolo actual, sino establecer cualquier nivel (ganancia, pérdida), informándole al mismo tiempo sobre el volumen esperado del balance en cualquier nivel de precio.

These scripts will record and file a picture of the chart at the time of each trade executed with them.

This is a script to view a myfxbook's CSV statements file in MT4.

Calculates the profit from oppened trades if the Price reaches the dropped Price

A simple script to quickly place letter/numbers on the chart for wave labeling (A, B, C or 1, 2, 3, etc)

Script to start an external program.

The script downloads the historical quotes data of the current chart symbol and timeframe.

Find what are the highs and the lows that happened the last 60000 ms

Script for the calculation of the third Elliott wave

Ejemplo de operaciones de archivo de lectura y escritura

Es un script para reunir cierta estadística de los símbolos y compararla

La modificación de una orden (posición) con el ratón - el segundo script de la serie de "OMG" ("gestión gráfica de órdenes").

Este script permite operar en MetaTrader4 como en la plataforma de netting. Existen ciertas ventajas ante MetaTrader5...

Creates a report in HTML about all pairs and symbols, for example how many days ago a cross moving average appeard. Pairs with a last recent cross moving average at daily timeframe have a chance for a trend reversal which may be traded.

123456789