Watch how to download trading robots for free
Find us on Facebook!
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 5 based on user ratings - 3

Submit your code

Pivots based on Bar Prediction.

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.

A script which when run displays the maximum lot size permitted on the asset.

A script for placing two Buy and Sell Limit orders at an equal distance.

The script displays the brief statistics for trading on the instrument over the specified period - the number of deals, profit, profit factor.

Setting multiple charts at one click.

An example of working with the trading history on Hedge accounts — reconstruction of positions.

The script illustrates control of graphic objects using the classes from the Standard Library.

If you need to show just a part of the image at the moment and hide other, you can use the moving window by specifying the visible area of the image.

The script deletes all orders of the type specified in settings, on the current symbol.

Provides an interface for creating families of related or dependent objects without specifying their concrete class.

The script allows you to place the deals history on the chart using the graphic objects.

New version of the sChartsSynchroScroll script.

A script calculating the distance between a point and a line.

This script will export the trade history from MT5 selected between two dates. The resulting file is CSV that can be opened/imported with any spreadsheet software. Current version 1.0 does not add the takeprofit and stoploss. Any advice to improve this is welcomed.

The script calculates Pivot Point on all the symbols from the market watch and displays the results in html-file.

The script displays the monthly and weekly levels on the chart.

Script to set correct scale on Fibonacci arcs attached to chart.

A script for placing a BuyLimit order

A script for placing a SellStop order

Example of functions MathCeil, MathRound and MathFloor.

First script selects symbols having spread below specified value on the marketwatch, then opens corresponding charts by appyling timeframe and template stated.

Comparative study of sorting algorithms.

The script calculates candles statistics (the minimal, maximal and average values of candles body and shadows) of the current chart.

A simple script that allows you to open a Short position using the current price location with a specified Risk Percentage and Reward Ratio.

This script closes all windows of selected symbol or all windows of any symbol.

The script closes all positions of the current symbol.

Counting the number of series of bullish and bearish bars. Displaying the result as a chart. Saving the screenshot of the resulting chart. The script uses the CGraphic class.

The script exports historical data to HST format for its use in MetaTrader 4 client terminal. This file can be imported in MetaTrader 4 as historical data or you can open it as offline chart.

The script demonstrates the example of using the FileSize() function

The scripts places multiple pending orders lower than the current price.

When the subject changes, it notifies and updates its observers, who know nothing about each other.

Script draws the Axel Rudolph levels

A script for placing two Buy Stop Limit and Sell Stop Limit orders at an equal distance.

Easier visual analysis of graphical objects created by the strategy tester.

This script opens randomly selected charts and applies user-defined template.

The script for manual trade: when achieving the limit price the script sets stop order and logs out

MPC is a script which measures (searches) the most frequently occurring candlesticks

How many buffers does your indicator use? What's it calculating? Is it efficient? If you want to know what's going on behind the scenes, you'll now be able to.

The script builds the Fibonacci Levels graphical object with the option of selecting the number of its segments

12345678