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 MQL4 and MQL5 source codes based on user ratings - 182

Submit your code

Adds the ability to automatically export the transaction history after running the Expert in the strategy Tester.

Draws an equidistant channel to detect rectangular consolidation pattern on chart

SmoothStep

The Restoring Pull Indicator was created by John Ehlers (Stocks & Commodities V.11:10 (395-400))

Single Currency or Manual orders Closing or deleting sections are very easy to understand but if you have a question you leave it at comment section. The code check for Comment to detect the Orders to close or delete for multi currencies EA in case the input EAComment is empty It will close according to type of close. It supports prefix or suffix of EA Comment. Many options can be added if you are interested on developping it more you can leave your suggestion on comment section.

Use protect profit after open position

Select Timeframe to draw Bobokus Fibonacci and add any custom fibonacci levels you want

Trading strategy for the custom indicator 'CHO Smoothed EA'

Utility for copying transactions from one MT5 account or MT4 account to another MT5 account.

Colored SAR indicator. Alerts on color change

CloseAll script complying FIFO rules.

from the logistic regression Article, I welcome all the thoughts on how we can build multiple dynamic Logistic Regression

Very simple indicator to plot the values of the spread[] data as reported by the OnCalculate event handler.

Displays direction of volatility and volume

Calculates Brokerage, Commission or Slippage based on the Input on the strategy Tester

Currency Strength Meter for MetaTrader 5 with configurable timeframe parameter, It was converted from "Currency Strength Giraia 28 pairs TRO MODIFIED" MetaTrader 4 version

The script (not an Expert Advisor) sets and moves the Stop Loss for all positions on the current symbol to the specified price

pips in time

Candlestick chart without shadows

A series of indicators 'Four Colors'. Signals are now 'Arrow' in the main window

Use the intersection of two moving average lines to draw a vertical line.Then You can simply read the current market pattern

cycles though market watch symbols, using hotkeys Comma and Period for prev/next symbol in market watch list

Colored Stochastic smoothed with iMA (Moving Average, MA)

hotkeys 1-9 numbers on keyboard but not on number-pad to change timeframes 1=m1 2=m5 3=m15 4=m30 5=h1 6=h4 7=d1 8=w1 9=mn

Study of the dependencies of two iMA (Moving Average, MA)

A simple indicator that tries to assess autocorrelation in price series.

Show trade history

For MT5, When Press the Button, it will delete all STOP LOSS and TAKE PROFIT applied to Current Open Market positions. For All Symbols. The panel is based on the CDialog class, works for all symbols

Shows Last Price, Daily % Change, Symbol name, Countdown or Time left on closing and Time on chat

This indicator displays the percentage of price movement per candle, as an average of the latest candles.

Trading strategy for the custom indicator 'OsMA Four Colors Arrow EA'

Displays the current timeframe and symbol name in large font on the chart background. Useful when hopping between several charts with different symbols at the same time.

Extend of CFile class to work with the .set extension file which terminal will produce when the Input/Optimisation is saved.

Proportional grid distance, open long and short orders at the same time, skip two grids to take profit; When the equity recaches the take profit of setting, close all positions and restart.

Around the moving average index to set grid.

This code use close all profit at end of week for currency pair

The indicator calculates the average price for the specified period.

Have you ever asked yourself why it is not possible to customize fractals more? ... now it is.

Script to download EVZ data for Euro FX Vix indicator

After the three average lines are arranged completely according to high and low, it can be regarded as a trend formation. After the pattern is destroyed, the hatching is no longer drawn Under the condition of no hatching, it is regarded as an indeterminate period

1...175176177178179180181182183