MetaTrader MT4 All Source Code Downloads - Page 46

Showing 3041 results
trailing stop expert MT4
MetaTrader 4 expert advisor

trailing stop

trailing stop allows you to automatically protect the profits with your positions. it adjusts itself according to the current market rate and the amount of pips you give it to trai...
chart event test example expert MT4
MetaTrader 4 expert advisor

chart event test example

the "test_chartevent.mq4" expert advisor is an example demonstrating the various types of chartevent: keyboard keys events, mouse click & move events, custom events. you can pr...
tipu ma c d indicator MT4
MetaTrader 4 indicator

tipu ma c d

tipu macd is one the popular indicators in the market. it is based on the macd oscillator that was devised by gerald appel in late 1970s. macd is a momentum oscillator that is calc...
standard deviation channel mt4 indicator MT4
MetaTrader 4 indicator

standard deviation channel mt4

this indicator is designed to draw a standard deviation channel.mt4 provides a tool for standard deviation channel in the metatrader 4 menu (insert -> channel -> standard dev...
market watch cleaner script MT4
MetaTrader 4 script

market watch cleaner

there is only one external variable and that is maximum spread. set this to the maximum spread you wish to see inside of your market watch window. i built this script because i got...
file log library MT4
MetaTrader 4 library

file log

filelog is a simple mql4 class for flexible logging to files and the terminal console.github repository:log file will be saved in:<data folder>\mql4\files\ <data folder>...
multi timeframe bollinger bands indicator MT4
MetaTrader 4 indicator

multi timeframe bollinger bands

this is an indicator that i implemented for my personal use. it aims to show the bollinger bands from different timeframes to help me find the dynamic levels of support and resista...
tipu ea expert MT4
MetaTrader 4 expert advisor

tipu ea

this is a simple ea based on and indicators found in the market. this ea is for educational purposes only and does not guarantee any profit.ea rules the following are the rules of ...
strategy checklist indicator MT4
MetaTrader 4 indicator

strategy checklist

this is an indicator that i implemented for my personal use.it allows you to define a checklist that helps you check your rules before opening a trade.keep in mind that this is not...
rs o, relative strength oscillator indicator MT4
MetaTrader 4 indicator

rs o, relative strength oscillator

i added colored bars just for more clarity. green bars show increasing of rsoand red bars show decreasing. rsoor rsicurves cannot show little changes, while colored bars can. for e...
hidden stop loss and take profit expert MT4
MetaTrader 4 expert advisor

hidden stop loss and take profit

the ea implements a hidden stop loss and take profit system. the system is run as follows:first, open the buy and/or sell orders that you desire for a particular chart symbol. seco...
track/close buys and sells buttons expert MT4
MetaTrader 4 expert advisor

track/close buys and sells buttons

this tiny helper tracks total profits for sell and buy orders separately, displays them in two buttons attached to a chart and allows one to close either all buys or all sells by c...
simple single layer perceptron ea expert MT4
MetaTrader 4 expert advisor

simple single layer perceptron ea

1. about perceptrons about perceptron:i referred to "" as the logic of perceptron.2. algorithm 2.1. inputs the w1, w2, w3and w4are weights which set the values decided by your opti...
chaos trader lite expert MT4
MetaTrader 4 expert advisor

chaos trader lite

the expert locates bearish and bullish divergence and initiates a trade at the possible beginning of a trend change, this is the first wise man. next, it will attempt to add positi...
open two pending orders expert MT4
MetaTrader 4 expert advisor

open two pending orders

the expert advisor is intended for automatic placing of buy stop pending orders and sell stop pending orders simultaneously, stop losses and take profits on the user specified leve...
ii (outbreak) ea expert MT4
MetaTrader 4 expert advisor

ii (outbreak) ea

the expert advisor is supposed to pyramid into big and fast market movements. it adds up on profitable trades and instantly trails them when in profit. trades are entered when pote...
multicurrency hedge example ea (overlay hedge) expert MT4
MetaTrader 4 expert advisor

multicurrency hedge example ea (overlay hedge)

the expert advisor looks for correlations of the market watch list symbols, calculates average true range ratios for every hedging combination and assigns different magic numbers f...
s4 t days of the week indicator MT4
MetaTrader 4 indicator

s4 t days of the week

the indicator marks the days of the week with a colored histogram in the chart sub-window....
hidden stop loss and take profit system library MT4
MetaTrader 4 library

hidden stop loss and take profit system

the attached files represent a class system that can be used to simulate a hidden stop loss and take profit system, however in addition to this, it also creates a live stop loss an...
all in one divergence indicator MT4
MetaTrader 4 indicator

all in one divergence

as per users' requests in comments, some improvements were made, specifically:inputs to enable/disable each alert type separately. dropdown list of 30 indicators with real names in...
simpler trend indicator MT4
MetaTrader 4 indicator

simpler trend

although there are many similar indicators out there, this particular one is based on previously published by and incorporates a number of improvements, part of which was added fol...
simple regression channel indicator MT4
MetaTrader 4 indicator

simple regression channel

simple regression channel automatically generates regression channel, based on timeframe (user input).linear regression channel consists of two parallel lines located at the equal ...
previous candle hi-lo indicator MT4
MetaTrader 4 indicator

previous candle hi-lo

previous candle hi-lo is used to check the last candle multi-timeframe position relative to the current price.features this indicator can be attached to any chart timeframe (mtf f...
engulfing with rs i expert MT4
MetaTrader 4 expert advisor

engulfing with rs i

opens buys on bullish engulfing candles when rsi is above overbought and sells on bearish engulfing candles when rsi is below oversold.when the account's profit reaches the desired...
symbol movement indicator MT4
MetaTrader 4 indicator

symbol movement

this custom indicator will show you 28 pair's daily candle range, high-low range, candle bullishness or bearishness from real tick market. so you can understand the overall market ...
bar numbers indicator MT4
MetaTrader 4 indicator

bar numbers

displays the number of each bar - both, relative to the most current bar and in absolute terms from the beginning of the chart.the text above the candle describes the candles posit...
csync event class - win api library MT4
MetaTrader 4 library

csync event class - win api

csyncevent class provides a mechanism which processes can use to synchronize access to a resource. this is very useful when you for example use shared memory for communication betw...
robot ad x+2 ma expert MT4
MetaTrader 4 expert advisor

robot ad x+2 ma

the expert advisor robot_adx 2ma uses 4 indicators for the analysis: 2 moving average and 2 adx indicators on periods of one minute and one hour.uses a fixed volume of the lot and ...
multi timeframe triple moving averages indicator MT4
MetaTrader 4 indicator

multi timeframe triple moving averages

this indicator allows you to see the moving averages from different time frames on the same chart. it helps you to spot the dynamic levels of support and resistance. it uses a cust...
self optimizing rs i or mf i trader expert MT4
MetaTrader 4 expert advisor

self optimizing rs i or mf i trader

it is a dream of mine to have a robot that optimized itself, that way i would know that it was always working with the best values. this is my humble attempt to bring a piece of my...
cequity hst bar library MT4
MetaTrader 4 library

cequity hst bar

cequityhstbar is the library for showing the equity of ea back-testing on an offline chart. the class is designed to write the equity data in back-testing into .hst file, and then ...
sl&tp values indicator MT4
MetaTrader 4 indicator

sl&tp values

indicator displays the value of defined stop loss and or take profit in the deposit currency.note: it calculates an estimated value based on a simple calculation and does not take ...
center of gravity modification indicator MT4
MetaTrader 4 indicator

center of gravity modification

added:channel adjustments: press 1 to widen, press 2 to tighten channel. modified:movable red dot (see the screenshot below). lines on the chart. input parameters. arcs:channel:s/r...
trade panel expert MT4
MetaTrader 4 expert advisor

trade panel

note:the current chart symbol can be switched by writing the desired one in the symbol box.used fonts arial arial black calibri tahoma trebuchet ms webdings wingdings wingdings 2...
rs i with divergency indicator MT4
MetaTrader 4 indicator

rs i with divergency

regular rsi, but it will show the divergency or the convergency between the 2 last peaks.you can choose the icon's size as well as the excess limits....
coin flipping ea expert MT4
MetaTrader 4 expert advisor

coin flipping ea

generates a random number, and if this number is even, it will buy, if odd - it will sell.only 1 position at a time.settings choose the sl distance. choose the tp distance. choose...
period converter all timeframes script MT4
MetaTrader 4 script

period converter all timeframes

when we do back-test, we usually download m1 data from a third party, and then convert m1 data to other timeframes.this script helps to convert history data from m1 to m5, m15, m30...
momentum histo indicator MT4
MetaTrader 4 indicator

momentum histo

inputs to enable/disable each alert type separately. instead of only momentum, implemented a drop-down list of indicators you can choose from. minor optimizations and fixes. input...
signal candles indicator MT4
MetaTrader 4 indicator

signal candles

signal candlesindicator lets you filter candles by your predefined criteria (direction, minimum size, upper tail to candle ratio, lower tail to candle ratio etc) and get alerts whe...
currency strength meter indicator MT4
MetaTrader 4 indicator

currency strength meter

currency strength meterindicator gets rsi (relative strength index) values from four different instruments of your choice and displays them in indicator window.features ability to...
history downloader expert MT4
MetaTrader 4 expert advisor

history downloader

the ea downloads the quote history of the current chart symbol and period by "pressing home button". the method is based on the idea implemented in the s-downloader от talex script...
s-downloader. mq4 script MT4
MetaTrader 4 script

s-downloader. mq4

the script downloads history for all timeframes and symbols in the market watch. download is performed by emulating pressing the home button. if the download by pressing the button...
save and show the objects of testing chart script MT4
MetaTrader 4 script

save and show the objects of testing chart

after back testing, we usually need to analyze the testing result on a new chart which we have loaded our template,in this case we need to copy the objects on the testing chart to ...
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.