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

A script for showing the swap value on a financial instrument. The texts of positive and negative swaps are shown in different colors.

This script helps traders understand the distribution and range of candles in a specific period, which can be useful for making trading decisions such as determining which historical values to use for Take Profit or Stop Loss.

This script finds DeMark pivot points, displays them on the chart and indicates their dimensions.

This is a utility for rounding the lot size correctly

Pivots based on Bar Prediction.

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

12345678