MetaTrader MT4 All Source Code Downloads

Showing 3041 results

MetaTrader MT4 All Source Code Downloads

Browse free MetaTrader MT4 All source code downloads including ready-to-use trading tools, algorithmic strategies, and MQL programming resources. This section is designed for traders and developers looking to study, modify, or build custom automated trading systems for MetaTrader 4 and MetaTrader 5.

All All listings include downloadable source code, allowing you to analyze how each trading system works internally and adapt it to your own trading strategy. These tools are used for education, strategy development, and algorithmic trading research.

Whether you are building Expert Advisors, custom indicators, scripts, or reusable MQL libraries, this collection provides structured access to MetaTrader 4 development resources used by retail traders and algorithmic developers worldwide.

Quantora Position Size Calculator MT4 expert MT4
MetaTrader 4 expert advisor

Quantora Position Size Calculator MT4

Quantora Position Size Calculator MT4Professional Risk-Based Lot Size Calculator for MetaTrader 4The Quantora Position Size Calculator MT4 is a professional open-source utility tha...
B Bands Psar Indicator indicator MT4
MetaTrader 4 indicator

B Bands Psar Indicator

B Bands Psar is a custom hybrid indicator that combines a volatility framework with a trend-following mechanism into a single technical tool.It measures the distance between the Pa...
notches indicator script MT4
MetaTrader 4 script

notches indicator

the indicator's concept is quite straightforward, and something similar may have already been developed.however, i haven't encountered analogous indicators, so i decided to create ...
high n indicator script MT4
MetaTrader 4 script

high n indicator

a simple and straightforward indicator. if the current low is less than the low of n bars ago, the indicator considers the trend to be down. conversely, if the current bar's high i...
automated economic calendar trading advisor script MT4
MetaTrader 4 script

automated economic calendar trading advisor

this advisor is designed to automate routine actions when trading using the economic calendar.knowing the news release time, you can set the advisor to activate at that exact time,...
order information indicator script MT4
MetaTrader 4 script

order information indicator

indicator created as a demonstration of the corderscounter class.displays information on the chart regarding orders for the current symbol, and for all open and closed account orde...
script to close all orders script MT4
MetaTrader 4 script

script to close all orders

script to close all ordersthis script closes all open orders based on the specified settings. it can optionally consider the magic number.this tool is particularly useful for trade...
investing.com news calendar for mt4/mt5 script MT4
MetaTrader 4 script

investing.com news calendar for mt4/mt5

calendar investing is a news calendar tool that pulls data from investing.com.the calendar includes two components: the calendar_investing_exp expert advisor and the calendar_inves...
ticks on chart indicator script MT4
MetaTrader 4 script

ticks on chart indicator

for trading on short timeframes (up to five minutes), the need for tick-by-tick price changes of a financial instrument often arises. this indicator was created to address this nee...
statement to graph v2026 script MT4
MetaTrader 4 script

statement to graph v2026

statement to graph tool v2026updated script statementtograph for the latest metatrader 4 platform. several improvements have been made to enhance visual clarity and user experience...
automated market order execution script script MT4
MetaTrader 4 script

automated market order execution script

automated market order execution scriptthis script places market orders with specified stop-loss and take-profit levels at a designated time. if the scheduled time is in the past, ...
rsi and cci trading strategy script MT4
MetaTrader 4 script

rsi and cci trading strategy

rsi and cci trading strategythis strategy aims for high entry accuracy and profitability, though achieving 100% entry precision was not attained. optimizations were not performed; ...
i-bul jerk indicator script MT4
MetaTrader 4 script

i-bul jerk indicator

this indicator displays historical and current trading signals based on measuring the price movement over a specified number of bars. it identifies entry points against the prev...
i-any range indicator script MT4
MetaTrader 4 script

i-any range indicator

indicator for arbitrary time intervals.this is an intraday indicator, meaning it shows the range of trading intervals within a trading day. the principle of operation is as follows...
triple timeframe cci indicator script MT4
MetaTrader 4 script

triple timeframe cci indicator

cci (commodity channel index) with 3 timeframes in one.this is essentially a signal indicator, as it shows when a certain cci level is exceeded simultaneously across three timefram...
e-v trailing by profit expert advisor script MT4
MetaTrader 4 script

e-v trailing by profit expert advisor

e-v trailing by profit expert advisor is designed for virtual trailing of a trader's aggregated position based on its total profit in deposit currency.an aggregated position refers...
e-signal of trade expert advisor expert MT4
MetaTrader 4 expert advisor

e-signal of trade expert advisor

e-signal of trade expert advisorthis expert advisor is a variation of the i-signaloftrade indicator, implemented as an advisor.the primary difference lies in its update mechanism. ...
e-so trailing expert advisor script MT4
MetaTrader 4 script

e-so trailing expert advisor

e-so trailing expert advisorthis expert advisor is designed for users who catch reversals with stop orders. the entire trading strategy involves placing stop orders at a certain di...
e-screenshot: automated chart snapshot tool script MT4
MetaTrader 4 script

e-screenshot: automated chart snapshot tool

e-screenshot: automated chart snapshot toolthe expert advisor (ea) is a utility designed to assist traders by automatically capturing screenshots of the trading chart at regular in...
e-moving in wl2: automated stop loss adjustment expert MT4
MetaTrader 4 expert advisor

e-moving in wl2: automated stop loss adjustment

automated stop loss adjustment for open positionsthe expert advisor is designed to move the stop loss of open positions to breakeven once they reach a specified profit level.the pr...
e-moving in wl script MT4
MetaTrader 4 script

e-moving in wl

automated stop loss movement to break eventhis expert advisor is designed to move the stop loss of open positions to the break-even point once they reach a specified profit level.i...
close positions by percentage profit or loss expert MT4
MetaTrader 4 expert advisor

close positions by percentage profit or loss

expert advisor for position managementthis expert advisor closes all open positions when the total profit for the account reaches a specified percentage of the current balance, or ...
close loss positions by deposit currency amount script MT4
MetaTrader 4 script

close loss positions by deposit currency amount

expert advisor closes positions with loss exceeding a specified deposit currency amountthis expert advisor is designed to selectively close trading positions. it identifies and clo...
close all positions by total profit or loss script MT4
MetaTrader 4 script

close all positions by total profit or loss

this expert advisor closes all open positions when a specified total profit or loss level for the account is reached. it can also remove pending orders.settings:targetloss=30 - tar...
simple trailing position management library expert MT4
MetaTrader 4 expert advisor

simple trailing position management library

simple trailing position management library this library provides functions for managing open positions using a simple trailing stop mechanism. it is designed to be integrated int...
swap hunting script MT4
MetaTrader 4 script

swap hunting

script for opening orders on all symbols with a positive swap.all instruments are extracted from the history file "symbols.raw". if the swap for an instrument exceeds the value spe...
chart refresh script script MT4
MetaTrader 4 script

chart refresh script

this script forces a chart refresh.to ensure proper operation, you must enable dll imports in your terminal settings.this script is a companion to the shift time open product....
trailing stop for all orders script MT4
MetaTrader 4 script

trailing stop for all orders

overall trailing stop for a series of orders. the ea calculates the break-even price, and upon reaching it, activates the trailing stop for all orders (buy/sell). the ea does not p...
i-spread3: real-time spread indicator script MT4
MetaTrader 4 script

i-spread3: real-time spread indicator

spread indicatorthis indicator displays the minimum and maximum spread values over the last hour, 4 hours, and day.additionally, two lines are included to show the minimum and maxi...
i-skb-f indicator script MT4
MetaTrader 4 script

i-skb-f indicator

this indicator displays channels similar to barishpoltsa’s sliding channels. it is based on three extremes, either two lower and one upper, or two upper and one lower. the differen...
trade signal indicator expert MT4
MetaTrader 4 expert advisor

trade signal indicator

trade signal indicator this indicator signals trading operations on your account. what can it do?firstly, it captures any trading event, any trading operation. this includes openin...
Trading Panel with Indicator Signals script MT4
MetaTrader 4 script

Trading Panel with Indicator Signals

This panel displays signals from 6 indicators across all timeframes, designed for binary options trading.Users can enable or disable specific signals, entire timeframes, or individ...
Trading Session Indicator script MT4
MetaTrader 4 script

Trading Session Indicator

Trading Session IndicatorThis indicator displays the start and end times of three major trading sessions: Asian, European, and American.Sessions are visualized using background rec...
i-profit Indicator script MT4
MetaTrader 4 script

i-profit Indicator

This indicator shows profit in points and in deposit currency: current, for today, for yesterday, for the three previous days separately for each, for the current week, for the cur...
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.