MetaTrader MTall All Source Code Downloads - Page 220

Showing 11118 results
i forex sessions indicator MT5
MetaTrader 5 indicator

i forex sessions

forex sessions indicator highlights the forex market sessions the indicator assumes local "wall clock" trading hours of 8:00 am - 5:00 pm in each forex market, except in sydney it ...
global close orders management script MT4
MetaTrader 4 script

global close orders management

//***************************************************************************//extern string close_orders_management = "" ; //******************************************************...
open charts of open trades symbols script MT4
MetaTrader 4 script

open charts of open trades symbols

//+------------------------------------------------------------------+//| this little utility script open charts of open trades symbols//| and prints list of open trades symbols in...
harmonic moving average indicator MT5
MetaTrader 5 indicator

harmonic moving average

quoted from investopediawhat is the harmonic mean?the harmonic mean is a numerical average calculated by dividing the number of observations, or entries in the series, by the recip...
logarithmic moving average indicator MT5
MetaTrader 5 indicator

logarithmic moving average

quoted from wikipedia:in mathematics, the logarithmic mean is a function of two non-negative numbers which is equal to their difference divided by the logarithm of their quotient. ...
calculate pip difference over the last n bars script MT4
MetaTrader 4 script

calculate pip difference over the last n bars

this modification will return a string indicating whether the pip difference is up, down, or unchanged.this code will print the price at the beginning and the end of the calculatio...
dominant candle indicator MT5
MetaTrader 5 indicator

dominant candle

dominant candle is a a two candlestick set where the wicks intersect each other's body area and body of the candles are either gapped up, gapped down or equaldominant candle is usu...
trailing stop loss for all orders and symbols expert MT4
MetaTrader 4 expert advisor

trailing stop loss for all orders and symbols

this script will trail the stop loss of all open buy and sell orders.adjust the trailstart and trailstop parameters to your preferred levels.this is a basic example and can be furt...
reverse trades for all symbols script script MT4
MetaTrader 4 script

reverse trades for all symbols script

the strategy implemented in the script "reverse_trades_for_all_trades_and_symbols_v1.mq4" reverses all open trades for all symbols on the trading platform. when executed, the scrip...
close basket pairs expert MT4
MetaTrader 4 expert advisor

close basket pairs

this mql4 script is designed to close positions for a basket of currency pairs based on certain profit and loss thresholds. here's a brief description:the script is called "closeba...
candle analysis report script MT5
MetaTrader 5 script

candle analysis report

this script is designed to perform candle analysis:data retrieval:the script retrieves the open, close, high, and low prices of candles for the financial instrument it is running o...
basic grid manager library library MT5
MetaTrader 5 library

basic grid manager library

the library contains basic public methods to manage grids:in above code:maxdd stands for "maximum allowed drawdown". this value is disabled by default but using the set method will...
simple yet effective breakout strategy expert MT5
MetaTrader 5 expert advisor

simple yet effective breakout strategy

the basic premise of the strategy:buy/cover as soon asthe price breaks above n bars high short/sell as soon asthe price breaks below n bars low backtested on usdjpy 2013-2023, let'...
classic and virtual trailing expert MT4
MetaTrader 4 expert advisor

classic and virtual trailing

classic trailing => use stop loss to trail and it does reflect in your broker servervirtual trailing => does not trail using stop loss and it does not reflect in your broker ...
confluence detector indicator MT5
MetaTrader 5 indicator

confluence detector

the indicator draws three line plots on the chart. it detects the current period, and you assign two other periods in the input which should compare to the current period.if the pr...
trailing with close by button and profit expert MT5
MetaTrader 5 expert advisor

trailing with close by button and profit

all orders this ea is modification of this how to use : 1. add this ea for any symbol2. set the variable value that you need to tp, sl, trailing, closing, treshold of profit or los...
a bet t e r rs i indicator MT5
MetaTrader 5 indicator

a bet t e r rs i

the relative strength index is an age old indicator, that possess incredible edge to this day. the problem though, is its susceptibility to noise from the markets, generating a lot...
manual backtest bar replay simulator indicator MT5
MetaTrader 5 indicator

manual backtest bar replay simulator

a simple indicator code for learners which may also help you in manual backtest by just moving a vertical line to show hide bars.add the indicator to chart and add a vertical line ...
custom bollinger bands indicator MT5
MetaTrader 5 indicator

custom bollinger bands

i developed this indicator to provide an alternative to the standard moving average methods in the metatrader 5 bollinger bands indicator, which only offer the 'simple' method. wit...
geometric moving average indicator MT5
MetaTrader 5 indicator

geometric moving average

quoted from wikipedia:in mathematics, the geometric mean is a mean or average which indicates a central tendency of a finite set of real numbers by using the product of their value...
mq l4 implementation of on trade event handler expert MT4
MetaTrader 4 expert advisor

mq l4 implementation of on trade event handler

the code keeps track of orders' tickets in an carrayint. monitoring the changes to the list of tickets in ontimer it triggers these event handlers:note: not all features of the mql...
rs i with channels indicator MT4
MetaTrader 4 indicator

rs i with channels

this indicator promote new way of analyses signals from standard indicator named rsi. main feature of rsi is level crossing signals. usually 30 and 70. but it's bad relative to rea...
adaptive sm a indicator MT4
MetaTrader 4 indicator

adaptive sm a

Download the source code for this indicator
find the current winning / losing streak in mt4 script MT4
MetaTrader 4 script

find the current winning / losing streak in mt4

in this simple expert advisor, we will be able to see the current winning /losing streak in the mt4 terminal. we have two filter options. one is based on symbol and the other is a ...
sequentially close all trades in mt4 script MT4
MetaTrader 4 script

sequentially close all trades in mt4

this simplae script will first sort the open tickets in asending order. then it will try to close them sequentially. that means the first trade will be closed first then the 2nd on...
close or delete orders based on type in mt4 script MT4
MetaTrader 4 script

close or delete orders based on type in mt4

this simple script will close /delete a order based on the input value passed on the script. for example if user pass op_buy then it will close all the buy trades. similarly if som...
close biggest winning / losing trade in mt4 script MT4
MetaTrader 4 script

close biggest winning / losing trade in mt4

this particular script will find the biggest winning / losing trade among a list of trades and close them . if you want either of them then comment the code block accordingly.there...
get nth active trade from the end in mt4 expert MT4
MetaTrader 4 expert advisor

get nth active trade from the end in mt4

this particular expert advisor contains a very useful code which is often required by the developers. most of the time , we need the last active trade. but in this ea you can searc...
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.