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 5 based on user ratings - 4

Submit your code

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

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

Pivots based on Bar Prediction.

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

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.

I used to suffer from unnecessary losses and/or cutting my profit short since I wasn't fast enough to modify my SL and/or TP. That is why I've wrote these scripts that will allow me to react fast when I must modify my Sl and/or TP especially when I have many open and/or pending trades. I know there are plenty of Metatraders who also suffer from this and that is why I would like to share these scripts with you, hopefully it will be beneficial. Do not forget to send you comments as well as rate these scripts. Happy trading!

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 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.

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 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.

The script calculates the autocorrelation and partial autocorrelation functions and displays them on a graph

This script will change the SL and TP of all open trades of the symbol to the price where the script is dropped off.

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

123456789