I had read that multi-currency back-testing was not possible on MT4 so I tried to translate my currency to mql5, it was an interesting process however, mid way I found out that hedging was not allowed due to some sort of NFA change in regulations, I'm in the UK so this doesn't really apply to me and so I decided to come back to mql4.
OOP sounds interesting and all, but I have already built this EA and I wanted to take it to a multi-currency, I also heard that the back-testing can have more significant inaccuracies in mt5 (the multi-currency back-testing that is) however, I'm not sure if this is true on all timeframes.
Is there anyway to use a multi-currency back-test on MT4, is there a modified MT4 program that allows for this?
The indicator calculates the quantum frequencies using the current market data. The quantum frequencies are used in Spectrum analysis of automated trading systems to create quantum filters for selecting signals, i.e. skipping trades that are likely to be unprofitable.
How It Works
It analyses the trade results of automated trading system for each frequency (512 frequencies are used). Calculation of the frequency response to search for "profitable" and "unprofitable" f
Chaikin's volatility indicator calculates the spread between the maximum and minimum prices. It judges the value of volatility basing on the amplitude between the maximum and the minimum. Unlike Average True Range, Chaikin's indicator doesn't take gaps into account.
According to Chaikin's interpretation, a growth of volume indicator in a relatively short space of time means that the prices approach their minimum (like when the securities are sold in panic), while a decrease of volatility in a l
The strategy is based on the Alligator technical indicator, described by Bill Williams in "Trading Chaos".
The system is based on three moving averages (Lips, Teeth and Jaw lines), and oscillators, calculated using the difference between them. The trading signals are generated after crossover of the Alligator lines, depending on trend, determined by order of these lines. In the case of upward trend the Lips line (with minimal period) is the highest, the next is the Teeth line, and the lowest i
This indicator is based on the Fractals.
It draws higher or lower points and Fibonacci levels.
It works on all currencies and timeframe charts.
This indicator is used to distinguish between different trading hours.
By Asia, Europe and the Americas volatility, it has drawn with different colors.
Script to Delete Pending Orders
Sometimes you placed many Pending Orders and then you want delete certain kind of these orders, this script can help you!
Download and drag and drop this script to the chart.Check "Allow AutoTrading" in "Common" tab and set input parameters in "Inputs" tab. Input Parameters:
TypeOfPending: which type Order you would delete. mySymbol: which Symbol you would delete. The input format of the Symbol is such as "EURUSD" or "eurusd".
The script allows to easily watch the date and time of several cities selected by the user from more than 30 important cities all over the world. It also shows GMT, Server time and Local time.
The cities on the screen are automatically sorted by the date and time. You can save your setting on the Inputs tab and use them in future.
Notice: Daylight saving time is not considered.
The ColorLine indicator shows the line of the price moving average on the chart. The line has diffrent colors (100 bars have the same color). The color settings of the line is changing every 5 ticks, there are 3 color schemes.
Indicator on History Deals (MACD)
From History Report you can't know the MACD's value and OHLC of each deal. This script help user get the MACD's value and OHLC on bars which deals happen. The datas save as CSV format file so you can quantitative analysis someone's trading.
Please input value of MACD's parameters you like. It tells you the path of data file when output is done.
The trade strategy is based on three moving averages. To determine the trend, it uses three exponentially smoothed moving averages: FastEMA, MediumEMA and SlowEMA.
Buy signal: FastEMA>MediumEMA>SlowEMA (upward trend).Sell signal: FastEMA<MediumEMA<SlowEMA (downward trend).Input parameters:
Inp_Signal_ThreeEMA_FastPeriod = 8;Inp_Signal_ThreeEMA_MediumPeriod = 38;Inp_Signal_ThreeEMA_SlowPeriod = 48;Inp_Signal_ThreeEMA_StopLoss = 400;Inp_Signal_ThreeEMA_TakeProfit = 900;Inp_Money
This script allows users to obtain MACD and OHLC values for each bar on the current chart.
The information is saved as a CSV file allowing you to perform quantitative analysis using MACD.
Please specify MACD parameters you like. After exporting the report, the script tells you the path where the file is saved.
DCMV Trade Channel Oscillator
The indicator calculates the values of DCMV trade channel oscillator:
Trade channel width. The value of trade channel depends on the trend (it increases at start of the trend and has the maximum values at end of the trend). The value of trade channel decreases at flat movement. The lowest values of channel width indicates the high probability of the very strong price movement.
The +DC line shows the "bulls" power. The -DC line shows the "bears" power. Th
The strategy is based on price crossover with Moving Average indicator, confirmed by ADX indicator.
The trade signals:
Buy:closing price of the last completed bar is higher than moving average, the moving average increases at the current and last completed bars.Sell:closing price of the last completed bar is lower than moving average, the moving average decreases at the current and last completed bars.To filter the false signal, it checks the trend power (ADX>ADXmin) and trend direction using
Painting Deals on active chart. It allows analyzing trade history on an account to which you have an investor (read only) password.
Type of the arrow displayed indicated the deal type:
Right Arrow means In and In/Out deals Arrow Left Left means Out deals.Blue arrows are for Buy deals and Red arrows are for Sell deals.
The indicator displays deals in the real time mode, it also displays their Stop Loss and Take Profit levels.
Put the mouse over the arrows to see the details of deals includ
Quest UploadChart is an expert, it help you upload the chart image to ftp server.
input string Filename. Screenshot file name. Cannot exceed 63 characters. Screenshot files are placed in the directory \Files. The filename, you set a string, like myfile, do not add ".gif" as extension. If you let it empty, the expert will create a filename for you, the name is like this: ChartFileName=Symbol()+Period()+"chart.gif";input ushort ImageWidth=600; The chart image width, default value 600
Indicator to measure market activity and to show speed of price in pips/sec.
Have you been wondering, what is current speed of the market? I see the ticks jumping up and down, can I measure their speed?
All these questions can be answered by TickSpeed v1.0- good looking indicator with good configuration possibilities. It will show you directional movement speed in ticks per second or in time defined by you!
Good for scalpers, good for long term-traders. Good for beginners, good for pros. Thi
The script SphereSample.mq5 illustrates control of graphic objects using the classes from the Standard Library (Base class of objects array CArrayObj, CChartObjectText).
Randomly place pending orders just for do some testing. All is random: random symbol, random lots, random order type, random stoploss and takeprofit...
Notice: It can't run on live(real) account.
The script illustrates the usage of the OBJPROP_XOFFSET and OBJPROP_YOFFSET properties. It displays the specified fragment of the .BMP image.
The AdvancedTrend indicator automatically traces market price movement and draws a pair of resistance and support lines.
It's easy to figure out market trend with resistance level and support level and when/how market breaks out key price level.
Trade Channel Indicator DCMV
The DCMV Indicator calculates the following Channel characteristics:
Channel Bounds (for TP and SL). It's assumed that price will never go outside the channel.Center Line of the Channel.Settlement price (with probability 90% the price will return to this line).Reference line (used for detection of trend).Upper and Lower breakborder. Used for generation of trade signals: channel breakout (trend strategies), false breakouts (flat strategies).Usage:
The indicator pro
This Expert Advisor is version of MetaQuant-ATC10, modified for one currency pair, with the possibility to adjust and optimize all parameters.
Of course, can be attached to more/several currency pairs and get a result like in the Automated Trading Championship 2010.
The Expert Advisor is based on the "Averaging Grid". If the position is developing at a loss, open new orders in variable step. The aim is to approach the average price of a position to the market price, so the correction will turn
The script ObjChartSample.mql5 illustrates control of chart properties using the classes from the Standard Library.
The idea of the system is to indentify the reversal patterns using the calculation of the composite candle.
The reversal patterns is similar to the "Hammer" and "Hanging Man" patterns in Japanese candlestick analysis. But it uses the composite candle instead the single candle and doesn't need the small body of the composite candle to confirm the reversal.
Range - maximal number of bars, used in the calculation of the composite candle. Minimum - minimal size of th
The script shows statistics of trades for the specified period.
For example, if you want to know the details of trades of the ATC2010 Winner (bobsley):
Login with his account using the investor (read-only) password (MetaTrader5); Open the chart of his trading symbol (EURUSD); Run this script on the chart; Specify 2010.10.1 in "date from", and the diagram will be shown.
The Loading deposit allows to see the Margin/Deposit ratio for opened positions and provides a convenient way to control risk in trading.
The Margin/Deposit ratio is shown as a gradient color histogram, the color depends on Margin/Deposit ratio.
The values >50% indicates high risk and shown with red color.
This Expert Advisor can place pending orders at 00 price level which symbol is on current chart.
Example: current price is 1.4138, then 00 Price(higher) is 1.4200, 00 Price(lower) is 1.4100;
The EA can place pending orders as below:
Buy Stop at 1.4200;Buy Limit at 1.4100;Sell Stop at 1.4100;Sell Limit at 1.4200;
You could select all/one of those 4 options.
Additional: It won't place orders if same direction and same 00 price postion already is there. It place order again after that position
The ColorBars Indicator paints bars with different colors depending on the volume changes. If the volume has increased, the color is green, overwise the color is red.
The indicator ColorCandlesDaily draw candles with different colors depending on the day of the week.
Do you know how frequent the ticks beating? "Ticks Thermometer" can help you! It is useful to find out which symbol is more active.
Put it to each chart which you are watching. The color indicator from left to right corresponding green to red. Green block means "cool" since the tick is quiet, and red block means "hot" since the ticks is violent.
why not to do it in mt5 with a broker that allow hedging
B.T.W. this regulations is applied since May 15th 2009
Is there anyway to use a multi-currency back-test on MT4,
is there a modified MT4 program that allows for this?
1.- MT4 uses the windows kernel and dll s, you can do anything.
2.- Modified are all, MT3 than MT4 than MT5, maybe MT6 will exist in the future, but I have doubt that there can be modified high-level programming languages from MT4 (or any) which will allow you to do exactly what you want or to have result by a imagined project-structure.
By my opinion is like discussion on Windows when Linux user would tell "I am using real OS!", or C programmer would tell to Forth programmer that C is easier and more complete while in Forth you can do same thing with 10 times less lines of code.
Basis is if you do your own functions, you can do it. My opinion is there is nothing ready.
Does MT3 allow for multi-currency back-testing?
I don't have the programming prowess to alter the MT4 client as of yet, and I wanted to run this backtest before delving deeper into MQL4/5.
MT3 is dead long time ago.
You can't legally alter MT4 client, even if you have the technical skills.