Watch how to download trading robots for free
Find us on Twitter!
Join our fan page
Access the CodeBase from your MetaTrader 5 terminal
Couldn't find the right code? Order it in the Freelance section
How to Write an Expert Advisor or an Indicator

Top scripts for MetaTrader 4 based on user ratings

Submit your code

Short description.

Multi Selllimit and Sellstop orders are script files that enable traders to place multiple orders with ease. These orders allow traders to enter the market at a specific price level, or at a specified number of pips away from the current market price, with stop-loss and take-profit levels. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. Moreover, the multi Selllimit and Sellstop orders offer traders the flexibility to customize their trading strategies. Traders can set the stop-loss level to zero if they do not use stop-loss, and can choose between a target price or a pip-based entry. This level of flexibility allows traders to tailor their trading strategies to their specific needs, which can result in better trading outcomes.

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.

Short description.

Multi_BreakEven is a script file that allows multiples entry positions to set to breakeven using pips or target price when the trade is in your favor.

Hedge Dollar index USIDX against its constitutive FOREX pairs EURUSD GBPUSD USDJPY USDCAD USDSEK USDCHF

Hedge with a stop order, instead of placing a Stop Loss.

Orders Closure

Open Charts

Hedge Symbol 100%

To assist traders who wish to open multiple buy 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_Buy is the number trades the trader wish to open instantly. 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 buy orders, it can save traders valuable time and allow them to focus on other aspects of their trading strategy.

It is designed to create a non-standard symbol period based on the use of the standard period.

The UploadExport script is a universal program tool. It is developed to ease the working of the analyst and the trader with regard to the daily routine actions of wave analysis using the ELWAVE program.

Below you can find a super simple method to create a license based on MT4 account name. Place in your init function: CheckLicense(); The stringLower method makes sure the account name is in lowercase. Then you can check this value with the account name you want to check.

The Breakeven Point, or Titik Impas, denotes the price level at which a trade's profit becomes zero. By setting a position to Titik Impas Breakeven, the stop-loss is aligned with the position's opening price. This strategy proves valuable when you aim to allow profits to accumulate while ensuring that the trade remains secure and does not revert to negative territory.

Break on Code Error ! This script is a general example of using error brake in any strategy.

Bars Pips for Chart Symbol and Period selected

Reverses all open trades after Closure for all symbols .

The history_data_analysis_v3 script checks the history for missing bars, determines the size of the holes, gaps and makes a list of them.

Scripts to Close Orders under various conditions

Script closes all opened and pending positions.

The script downloads history for all timeframes and symbols in the Market Watch.

Reads all available instruments and their characteristics and generates an HTML report. Positive Swaps are highlighted.

This script opens a pending buy order by just point and drop the script in the place you want. The script will automatically place a "limit buy order" if you point and drop below actual bid. The script will automatically place a "stop buy order" if you

This Script creats HTML Report To Your Current Chart. It contains a usefull information. Try it.

Example of using wininet.dll for downloading a web page.

The ZZ_All Quotings 0-0050 script is designed for downloading history on all currency pairs, metals, known indices, CFD and for controlling "holes" in history.

The script is the calculator of the simple, complex, nominal and continuously charged percents.

The script visualizes the deals on the chart in a convenient way.

Close all multi currency open orders and cancel pending orders according to various scenarios. Slippage for open orders is calculated for each currency. Choose only one scenario per visit, the script processes the first menu item selected.

Report generator

automatically converts M1-data to M5/M15/M30/H1/H4/D1 in a single run

Multi buylimit and buystop orders are script files that enable traders to place multiple orders with ease. With just one command, traders can place multiple buylimit or buystop orders using either a target price or pips. By default, the pips value is set to 400, which means the trade will be placed 400 pips away from the current market price for a 5-digit broker. This setup includes stop-loss and take-profit levels, which can be adjusted based on the trader's preferences. Notably, these orders come with a level of flexibility that enables traders to fine-tune their trading strategies. For instance, a trader can opt to set the stop-loss level to zero if they do not use stop-loss.

Check out any MQL5 closed positions on a chart.

A set of scripts for quick drawing the Elliott waves.

This script opens a pending sell order by just point and drop the script in the place you want.

This set of scripts has been designed to scale-in your trades as price action runs in your favor. This will maximize profits due to proper pyramiding, decrease the impact of unprofitable trading decisions and in general, make your life easier.

The script is designed for downloading history on all known currency pairs, metals, indices, CFD and for controlling "holes" in history.

Placing a pending order using the mouse - the first script from the "GMO" ("Graphical Management of Orders") series.

A script for uploading the history by all known currency pairs, metals, indexes, CFD's and for controlling the "hole" in the history.

123456789