MetaTrader MT4 All Source Code Downloads - Page 61

Showing 3041 results
multi time frame example by recursion indicator MT4
MetaTrader 4 indicator

multi time frame example by recursion

the purpose of this indicator is to demonstrate newbie friendly way a structure of a multi time frame indicator based on recursion.a function which is responsible of the indicator ...
martingale trade simulator expert MT4
MetaTrader 4 expert advisor

martingale trade simulator

this ea i've created is for manual trade training using martingale that can be enabled/disabled.only works on strategy tester mode....
heikin ashi lines indicator MT4
MetaTrader 4 indicator

heikin ashi lines

probably everyone has put up a heikin ashi chart one time or another. it makes it look so much cleaner with less noise and clearer trends.but there is one major flaw — it hides the...
ss h multi time-frame indicator MT4
MetaTrader 4 indicator

ss h multi time-frame

ssh is a famous indicator which uses moving average high and low prices of candles to draw two lines. the cross point of these two lines considered as signal for buy or sell.illust...
relative price channel indicator MT4
MetaTrader 4 indicator

relative price channel

basics:rsi indicator is frequently used in trading decisions coupled with levels checking. levels are supposed to show if there is overbought or oversold condition. but frequently ...
candle gain candle loss indicator MT4
MetaTrader 4 indicator

candle gain candle loss

the indicator can calculate gain/loss in two modes: plain candlestick close and open difference, and as difference between current close and previous close. you can set minimum c...
titik impas breakeven mt4 script MT4
MetaTrader 4 script

titik impas breakeven mt4

the titik impas breakeven metatrader script serves as a straightforward tool designed to adjust the stop-loss to the breakeven point for one or more positions, based on specified p...
calculate drawdown in mt4 expert MT4
MetaTrader 4 expert advisor

calculate drawdown in mt4

please note that it will calulate drawdown based on magic number and symbol. if you dont want to consider the the overall account drawdown the remove the magic number filter and sy...
adaptive volatility analysis indicator MT4
MetaTrader 4 indicator

adaptive volatility analysis

the ava (adaptive volatility analysis) indicator is a tool i've developed, primarily for enhancing my own indicators and expert advisors (eas). it's designed to gauge market price ...
take profit based on current profit library MT4
MetaTrader 4 library

take profit based on current profit

introduction many expert advisors (eas) tend to close orders at the take profit level, considering the pip distance from the purchase price. however, the code used by is based main...
divergences template indicator indicator MT4
MetaTrader 4 indicator

divergences template indicator

how template works? this indicator provides a template to be used to plot divergences based on your desired oscillator.depending on which oscillator you choose(whether it is cci, r...
moving averages-14 different types indicator MT4
MetaTrader 4 indicator

moving averages-14 different types

this is an indicator to calculate 14 types of moving averages based on close price.the calculations are mostly based on pine script libraries.types included are:sma, ema, wma, vwma...
trail sl expert MT4
MetaTrader 4 expert advisor

trail sl

simple trail stop loss code example.it's not meant to use as it is. it's code sample for programmer reference only.nb: i just want to upload it to somewhere as a backup....
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...
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...
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...
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 ...
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...
get nth closed trade from the end in mt4 expert MT4
MetaTrader 4 expert advisor

get nth closed trade from the end in mt4

this ea will scan all closed trades in the history. and check which trade closed most recently. if we pass 0 , then it will fetch most recently closed trade, if we pass 1 then it w...
harmonic ai pattern script MT4
MetaTrader 4 script

harmonic ai pattern

subject area:automated trading strategies developmentsize: code size: approximately 525 lines form of materials: code files: .mq4 format (for metatrader 4) ...
© ROBOTFX Free educational tools by RobotFX. Use entirely at your own risk; we are not liable for any financial losses incurred.