at the first start, you must fill in the current password of the trader and investor in "cur" line.if you are not satisfied with the generated password, you can make a new one by c...
if you're a trader who constantly juggles multiple open positions and needs to adjust stop losses as trades progress, you know how time-consuming and stressful this can be. but wit...
get trade history files (.csv) and put it in ..\mql5\file folder and save the name of file (.csv). for time differences of broker's terminals, use the same broker's meta trader 5 ...
an implementation of the commodity channel index using exponential moving averages, instead of simple moving averages as implemented by the its creator, donald lambert.the code use...
with this short piece of code you are going to learn how to subtract the time.it may be very useful to time your trades entrances and exits, also to make up strategies based on tim...
how fast does the price moves?with this very simple piece of code you may learn how many seconds it takes to complete 100 ticks.the less seconds it takes, the faster the price move...
this ea takes calculates the current account balance and based on user's input of risk and profit percentage , it can close trades either in profit or in loss.this tool might be he...
the include file "benchmark.mqh" has a set of macros to benchmark various functions for their execution speeds to decide which is the fastest one.the library is based on public sou...
you can use this piece of code to set two different groups of volume and compare them.e.g (one minute chart example):if you set group 1 to 20.group 1: the last 20 bars volume / 20 ...
this class allows you to create buttons on the chart as if they were chart objects(have time and price coordinates) these objects can be dragged on the chart and when scrolling the...
calculates the risk in the account currency for a given trading volume of the selected symbol at different time periods and publishes it in the journal in the experts tab of toolbo...
the code provided is an mql5 expert advisor (ea) script that is based on the idea of closing open positions when they have reached a user-defined profit or loss threshold, calculat...
place the file into services terminal folder.the picture above shows an example of setting up a new sell order with the corresponding comment - 1800 points.the picture above shows ...
this expert advisor (ea) for metatrader 5 (mt5) opens multiple buy and sell orders based on user input. the ea has input variables for the number of buy and sell orders, risk perce...
this code is a risk management strategy for an expert advisor in metatrader that manages existing trades based on the input parameters. it focuses on closing trades when a profit o...
this indicator reads balance and reads equity from the trading account and displays them on a separate chart window. very simple, and really useful for backtesting.here is how it d...
this ea is a money management algorithm for opening and closing positions and uses martingale with a "multiplier".run ea before opening any positions to get the best result. run "m...
1. rma relative moving average is a variant of ema, with a calculation factor of 1/cycle .2. there is only one input variable, which is the calculation period. if you need to chang...
1、there is only one class function without additional variables. please declare class ccheck before use2、program variables are used to store corresponding data, while historical ba...
1. input parameter 2. local variables initialization 3. main code a/ expert initialization functionb/ expert tick function3.1 calculate signal in order to send orders3.2 calculate ...
the unique stock arrow indicator "strength index signal" is an indispensable tool for traders,based on analysis of currency strength. this indicator will help you make informed dec...
on 01/01/1982 it is wintertime in the usa (dst==0) and the next changeover is on 04/25/1982, which is the last (25th of the month) sunday of april (4). the table is already sorted ...
on contrast with trailing stop which a stop loss trails price until the price hits the stop loss and the position gets closed in profit, introducing trailing take profit which take...
this library allows you to comfortably work with png graphic files, as well as scale them.there are two ways to upload png images:via file via a resource that is inside your ex5 fi...
this include file provides programmers with a seamless solution for creating martin gale trading strategies effortlessly. the classes gridstrategy and martingalestrategy are derive...
the basic idea behind the indicator is to check for bouncebacks between support and resistance levels. there are two input parameters: period and overlook. a support level is the l...
the ea trades with the help of the rectangle, ema and sma indicator.ea settings:1: magic 2: commentary 3: ema small 4: sma big 5: volumes 6: stop loss of day 7: sl points 8: tp poi...
my goal was to make an indicator that triggers signals when the market price cuts the moving average.the moving average period length can be user defined (default is 200 length). t...
trend dashboard indicator metatrader 5 indicator — a multi-timeframe indicator that is based on three standard indicators: stochastic oscillator, rsi (relative strength index), and...
the strategy tester does not report any memory leaks of mql5 applications like expert advisors, scripts or indicators. and such memory leaks can occur by using the new operator in ...
available formulas (ma_method)sma simple moving average ema exponential moving average wilder wilder exponential moving average lwma linear weighted moving average sinewma sine...
the provided code is an mql include file and an expert advisor demonstrating how the classes work.it implements a trading strategy based on various technical indicators and trend a...
this is a helper function to allow you to translate the (x, y) pixel value to the price which you see on the y-axis, using a click press with onchartevent....