I'm trying to test an expert in strategy tester in the same computer on two different brokers MT4 platform. They are both build 950.
I have downloaded M1 historical data from FXDD and by using period converter, convert it up to Monthly data sucessfully in both terminals, checked all TFs, fine. Report gives 90% tick quality both.
The expert has same inputs, same data, same slippage in both terminals however results are slightly different. If it would be a demo or live, I would consider the difference as normal however both test are performed in strategy tester. No latency issue, no hidden slipage or different spreads etc etc.
I know that brokers could develop some addition things at the top of MT4 terminal but I wonder if they could able to implement something that would change the expert behaviour in strategy tester level?
How can I purely backtest the expert behaviour off-line without any broker impact?
The most profitable trend traders are the ones who know how to recognize not only the market trend, but also the trading opportunities that arise once a trend has been established. The Pz Trend Trading indicator has been designed to profit has much as possible from trends taking place in the maket.
Established trends offer dozens of trading opportunities, but most trend trading indicators neglect them completely, and leave the trader completely uninformed about what the market is doing during a
Safe Automatic is a safe MetaТrader 5 trading robot working autonomously on a VPS server. The good results are achieved on EURUSD.
The EA applies modified versions of a trend-following strategy, half-pyramiding, scalping, Elliott Wave method and speculating trading with a deposit protection. The EA switches the strategies automatically. The program also takes the news calendar into account: the robot does not enter the market in a 10-minute interval before and after a news rel
The script is intended for automatic placing of Sell Stop pending orders, Stop Losses and Take Profits on the user specified levels. This script is not that useful as "Virtual pending buy stop", since short positions are opened as Bid price crosses the levels. Thus spread widening is not dangerous. Nevertheless, you need to have this script to prevent unwanted hitting of the Stop Loss levels.
Automation of the process of placing the Sell Stop pending orders, Stop Losses and T
The PZ Day Trading indicator detects reversals in a zig-zag fashion, without repainting or backpainting. Based on breakouts of variable lengths, the indicator uses only price action to pick trades and reacts to the market very fast. The positional accuracy of its signals offers huge opportunity for profits, easily up to 80% winners.
Amazingly easy to tradeChart statistics will help you to optimize your tradingIt works on every single timeframe without fine tuningThe indicator analyzes its own q
The indicator generates early signals basing on ADX reading data combined with elements of price patterns.
Works on all symbols and timeframes.
The indicator does not redraw its signals. You see the same things on history and in real time.
For better visual perception signals are displayed as arrows (in order not to overload the chart).
The indicator is a complete analogues of the Trend Monitor indicator for MetaTrader 4
The best results are obtained when the indicator works o
We present you an effective software solution for arbitrage between brokers.
The Arbitrage on the market became widespread due to decentralization. There are many liquidity providers, whose quotes differ for various reasons. By tracking the dynamics of changes in the quotes of different brokers, it is possible to determine the delayed and leading brokers, thereby predicting the future prices of the delayed broker for a short time. Knowing these prices and using efficient built-in software filte
The script allows users to easily close positions if their profit/loss reaches or exceeds a value specified in pips.
Please set slippage value first. Sometimes some positions do not close due to high volatility of the market. Please set larger slippage or restart the script.
The indicator consists of the two parts – entry system displayed on the chart and currency power analyzer.
The analyzer can take on values from 0 to 3:
the higher the value, the stronger the currency; the smaller the value, the weaker the currency; average values of the indicator suggest that the currency is in flat.Recommendations on usage:
Buy if Trader Dream shows Buy signal and the analyzer shows the currency's strength (the value exceeds 2). Sell if Trader Dream shows Se
Here is the product, which truly reveals all the computing and graphical capabilities of the MetaTrader terminal.
The TrendNavigator indicator helps you take the most effective trading decisions, features stunning accuracy, unlimited graphical capabilities and highly developed notification service.
3D graphics 4 unique trend determining algorithms 5 types of notifications of trend change which appear as Buy and Sell signals Very high accuracy Shows local lows and highs Free notification
Robust median renko style indicator for creating custom charts resembling median renko, mean renko, turbo renko and better renko candles as well as vanilla renko with wicks plus PointO charts. This all in one package provides all of the signals needed by day traders, scalpers and even long term traders.
Indicator is an overlay on the main chart so it is possible to utilize one click trading and order manipulation directly on the custom charts. Visual order placement is also
Percent Crosshair is a powerful and easy percentage measure tool.
Measure the chart percentage very quick! Don't waste your time anymore!
Just attach the Percent Crosshair indicator in the chart, select crosshair mode at toolbars or press "Ctrl+F" and start using the crosshair as you always do! The percent measure will be next to the indicative price.
Customize your indicator the way you want!
There are 4 entry parameters:
Positive % color: set the desired color when % is positive. Negat
Is position management time consuming? The Trade Manager Pro EA performs an automatic and flawless position management for you, avoiding human errors and enhancing your trading activity. It represents a ten-fold increase in trading productivity!
Capital preservation is top priorityLet profits run without your attentionEnjoy risk-free trades as soon as possibleIt trails the stop-loss automatically
Initial SL and TP are also automatic
The EA performs the following tasks
This indicator allows you to enjoy the two most popular products for analyzing request volumes and market deals at a favorable price:
Actual Depth of Market Chart Actual Tick Footprint Volume ChartThis product combines the power of both indicators and is provided as a single file.
The functionality of Actual COMBO Depth of Market AND Tick Volume Chart is fully identical to the original indicators. You will enjoy the power of these two products combined into the single super-indicator!
A script for opening a grid of orders
If you need to quickly open several pending orders (Buy Limit, Sell Limit, Buy Stop, Sell Stop) on a certain distance from the current price, this script will do all the routine for you! Allow AutoTrading before running the script.
Run the script on a chart.
Language of messages displayed (EN, RU, DE, FR, ES) - language of the output messages (English, Russian, German, French, Spanish). Price for open - open price. If set to
The indicator is intended for determining the spread and swap size, the distance for setting stop orders and stop losses from the current price allowed and the risk per 1 point in the deposit currency.
The indicator informs a trader about possible additional expenses and profits connected with transferring a position to the next trade session of the financial instrument. It also informs about the spread size and the distance of pending orders, stop loss and trailing from the current price. In a
This is a classical trading strategy, which falls into the category of breakout systems. They form support and resistance levels, which temporarily limit further price movement. When the price breaks down the support level or breaks up the resistance level, there emerges a strong momentum in the breakout direction, which allows to make profit on strong price movements with moderate risk.
To create the strategy, we used historical data with the quality of history of 99.9%.
It uses filtration o
Pipfinite creates unique, high quality and affordable trading tools.
Our tools may or may not work for you, so we strongly suggest to try the Demo Version for MT4 first. Please test the indicator prior to purchasing to determine if it works for you.
We want your good reviews, so hurry up and test it for free...we hope you will find it useful.
Energy Beam with Swing Control
Strategy: Confirm swing pullback signals Watch Video: (Click Here)Energy Beam with Trend Laser
The script creates account summary report in a separate window.
The report can be created for all deals and on deals for selected financial instruments.
It is possible to specify a time interval of calculation and save report to htm-file.
The script creates account summary report in a separate window.
The report can be created for all deals and for deals of the selected financial instruments.
It is possible to specify a time interval of calculation and save report to htm-file.
Exp COPYLOT CLIENT for MT5 is a copier for the МetaТrader 5 platform. It copies forex trades from any accounts. Including those from terminals МТ5 and МТ4.
Install the Expert Advisor in the terminal where you want to copy trades. Specify any text label name as pathRead, for example, "COPY". This should match the master terminal (to bind the two terminals). To copy trades, you need to install the free Master copier in the terminal from where you want to copy the trades: COPYLOT
The script is intended for automatic placing of Buy Stop pending orders, Stop Losses and Take Profits on the user specified levels.
Avoiding unwanted entering a long position in case of false hitting the level as a result of widening of the spread by a dealing center. Avoiding unwanted triggering of a Stop Loss in case a quote pierces a significant level (fractal) without further confirmation with the close price. Setting a necessary virtual order and entering the market in
Unique "scalping" trend indicator with the feature of multi-layered smoothing of the resulting lines and a wide selection of parameters. It helps determine a probable change in the trend or a correction virtually near the very beginning of the movement. The toggled intersection arrows are fixed and appear at the opening of a new bar, but, with enough experience, it is possible to look for entry opportunities as soon as the indicator lines intersect at the unfinished bar. The signal appearance li
The indicator is based on the digital window-sinc filter with an excellent frequency division. Due to this property you can get a very smooth indicator line.
The indicator has three lines: the central line indicates the main trend direction and the "fair" price, the other two lines show the price range. When the central line is read, it is recommended to buy from the bottom line and close a position above the central line. When the line is blue, do the opposite - sell from the upper line and cl
This is a convenient tool for measuring the number of points between prices. It support magnetizing to OHLC prices. Calculates profit considering specified lot size and spread (optionally). It counts the number of bars between specified point and the time difference between them. Calculates the slope angle from the horizontal position. Unneeded parameters can be hidden. It does not occupy much space when inactive.
Once you add the indicator on the chart, Ruler caption will appear (according to
The indicator displays harmonic patterns on the chart based on Dynamic ZigZag (https://www.mql5.com/en/market/product/5357) and is almost a complete analog of one of the versions of well-known korHarmonics. The indicator recognizes the following patterns and their varieties: ABCD, Gartley (Butterfly, Crab, Bat), 3Drives, 5-0, Batman, SHS, One2One, Camel, Triangles, WXY, Fibo and Vibrations. Only display of ABCD and Gartley patterns is enabled in the settings by default. The reverse line allows d
Trade in the opposite directions with HedgeTerminalApi library!
HedgeTerminalApi is a program interface allowing you to use HedgeTerminal virtualization technologies in your robots and scripts. With HedgeTerminalApi, you are able to trade in the opposite directions when two or more trading algorithms occupy opposite positions on a single symbol. The library allows robots to track their positions even if these positions overlap entirely or partially. Moreover, with this library, you are able to
Scalper with Automatic Parameter Setting
Would you like to have an Expert Advisor that could automatically calculate trade parameters and adjust to the current market situation?
We present you our new development for the Forex market. This is a tick scalper for МТ4 and МТ5 - TickSniper.
Trading with it is fully automated. Forget continuous monitoring - this Expert Advisor trades independently. Its settings have been optimized over the course of testing on our real accounts.
This is a panel for controlling the profit/loss in dollars, pips or % of balance. The panel can be used as a virtual Stop Loss or Take Profit. It also features the emergency button CLOSE ALL.
Other versions in this collection:
VirtualTradePad PositionsStyle VirtualTradePad Ordersstyle VirtualTradePad SignalsStyle VirtualTradePad Lite demo version Digit Market Time Pad Market Time Pad Scalper PadMain Features:
The panel can work only on its own symbol (Current Symbol) or consider the
Professional Constrictor Expert Advisor follows the market using the Parabolic Stop and Reverse system indicator. At each Parabolic SAR indicator signal, a position is opened in the direction approaching the indicator. In case of an opposite signal, a new position closing the previous one is opened (in other words, positions are opened and closed partially). Thus, the EA constantly follows the price.
The EA has been designed for working in the flat market. It features a critical drawdown, at wh
The Expert Advisor implements the classic "triangular arbitrage", which is successfully used by hedge funds.
"Triangular" arbitrage refers to a class of neutral-market strategies, in which the profit or loss of open positions does not depend on the direction of the market movement as a whole.
In order to take profit, the EA exploits a weak spot of market makers - it utilizes the difficulty of balancing cross rates of all currency pairs.
The advantages of the strategy are the following:
This indicator draws the Keltner Channel using the rates chart calculated from any other timeframe.
The available Moving Averages are:
Simple Moving Average Exponential Moving Average Smoothed Moving Average Linear Weighted Moving Average Tillson's Moving AverageMoving Average line is coded into RED or BLUE according to its direction from the previous candle.
Example: User can display the Keltner Channel calculated on the basis of a Daily (D1) chart on a H4 chart.
NOTE: Timeframe must
That is to be expected, as the current or week-end closing prices of the currency pairs will be slightly different on various brokers. This is noticeable when the currency pair being tested requires an exchange rate to be applied to be calculated for the Deposit/Balance currency.
For example, lets say you are testing the "GBP/JPY" but your Deposit/Balance currency is in "USD". In this case your Profit or Loss has to be converted from "JPY" to "USD" and to do so the Strategy Tester uses the current exchange rate given by the broker which can be slightly different on another broker.
However, if you were testing the "EUR/USD" and your Deposit/Balance is "USD", then there should be no difference between brokers as the tick value is already in "USD" and so no exchange rate need be applied (except for other factors).
EDIT: You can also read the following post as it is related: https://www.mql5.com/en/forum/159037
Thanks for your prompt answer. Since the data is the same (downloaded from as M1 data) I'm not sure if it's related with weekend closing prices. I 'm testing 2015-Q3 to 2016-Q1, so no recent data tested.
The deposit issue was something I did not consider however the # of open positions changed as well. In one broker it opens 30 positions, other 31. I suspect from data but the data is completely same. I've fully clear all M1 to Monthly data from history in both cases and import the M1 data fresh. Both account is USD based and I'm testing GBP/USD.
I've checked the topic you mentioned, in my case, every time I run the code in the same broker, it gives the same result. There is no change in the same broker or in the same terminal. So there can't be any randomless issue in the code.
Since the data is the same (downloaded from as M1 data) I'm not sure if it's related with weekend closing prices. I 'm testing 2015-Q3 to 2016-Q1, so no recent data tested.
Even if there is no currency conversion on testing GBP/USD with USD Balance, there can still be differences due to specific broker conditions (for example different values between brokers such as "Leverage", "Stop Level", "Freeze Level", "Lot Size:
Min,Max & Step" and others).
Also, even though you downloaded the same M1 data, there is no guarantee that the "emulated" tick data that MetaTrader produces will be exactly the same every time on different setups (due to minor factors in play).
The only way to guarantee exact match is to have an exact same FXT file produced with "real" tick data (and the same properties/conditions), and to do that you will need to use 3rd party tools such as "TickStory" or "Birt's Tick Data Suite" (or others).
The following screenshot from TickStory shows the properties ("Leverage", "Stop Level", etc.) that are stored in a FXT file and that affect the outcome of the back-test (and thus cause differences between two different setups):
EDIT: PS! Also remember that different brokers may also have different Time-zones that will also affect the outcome.
One more item I need to mention and it is a very important one.
Obviously I understand that you want to make sure that your EA is running correctly and that you are executing your back-tests properly and that is why you are trying to identify the differences when testing your EA against various brokers.
However, it is actually a GOOD thing that you are getting differences as that will allow you to test your EA against various environments and brokers and thus improve its functionality so as to adapt to those differences.
Thanks again, you are giving valuable information, I'll check tickstory. You are also right that I'm testing in different environment which sould make me more comfortablebut in fact I'm not :-))
The data I downloaded is not 99% quality, it's 90% and this makes difference between real trading and backtesting (even 99% could make difference, I accept this). Which I couldn't understand is that the terminal softwares have the same build thus should excatly behave same during strategy testing, independent of broker's values/setting etc. I'm not testing on demo or live, this could make difference but backtesting should not. I could also accept that backtest data I've downloaded is not accurate and in demo or live trading results could make differences but in the same dataset it should behave exactly same.
Suppose that I want to sell or hire my expert. I should show some backtest results, calculate sharpe ratio etc, should I say, according to Broker-A's terminal backtest results profit is 5263USD and according to Broker-B's terminal it is 4712USD? My backtest results are as below:
Profit 5263USD, profit factor=3.06 Trades=33 Drawdown 8.20%
Profit 4712USD, profit factor 2.95 Trades=32 Drawdown 6.33%
If I cannot find and accept a reason why two terminal results are different, I would conculde that the additions that brokers made on MT4 terminal could impact expert trading! They could as well stop/block some functionality in the expert with purpose or without purpose.
PS.Previously I observe a different issue between a broker's demo system and live. I was running an expert that calculates linear regression slope. I have tested and verify in the same brokers terminal with demo account and when I connect to live from the same terminal the linear regression didn't work. The same broker, same expert (even in the same directory with same settings) but probably different servers made difference. It was only drawing the regression no trading. The regression values became zero in live but working perfectly in demo. Broker didn't find anything or didn't really checked!
Thanks again, you are giving valuable information ...
I've just finilized another fresh installation of MT4 downloded from metaquotes.net, load the same history data (M1 to Monthly) and copy my indicators/expert.
The same testing performed between same dates and same spread etc.
Profit 3854USD, profit factor=2.91 Trades=25 Drawdown 6.19%
Between broker-A and broker-C there is a huge difference in terms of profit and # of trades.
I also did a different test, I've copied the ex4 expert of broker-a terminal into broker-b terminal (not perform compile) the results still different.
I suspect from the implementing of historical data, but will try to verify each data is copied as same in TF 5 and above. I'm sure about M1 data but how period converter works I'm not sure about it.
I know that broker's apply different rules and conditions but backtest should not vary from broker to broker. It could differ from histroical data to historical data but not from broker to broker.
I know that my expert will not work in live as in backtest due to sliappage, market conditions, different spread, different LPs etc but I would expect that it gives same results with same settings and data in backtesting. I currently could not get a "reference" performance of my expert. The live performance is something on top and different issue.
The linear regession case, it works in other broker's live and demo but only in one broker it works in demo but not live. I'm pretty sure that it's not a coding issue since the same ex4 works in different brokers. I also think that my case is not a coding issue, I run it many times with the same settings, getting same results but when I change the terminal it differs. I'll make a couple of different setups and try to undersand if it's a historical data implementation issue or not. Thanks.
aed71: >> I know that broker's apply different rules and conditions but backtest should not vary from broker to broker.
Wrong! I have already pointed out (several posts) that there are many reasons for being different and I have already listed several, yet you have not comment once on them.Do you know what "Stop Level" or "Freeze Level" is? Does you code adjust stop sizes based on it?Does you EA adjust the prices based on the tick size (and not the point size which is the incorrect method)?Does you code check for the minimum, maximum or step size of lots?Does you code check the leverage and margin risk?etc.
Wrong! I have already pointed out (several posts) that there are many reasons for being different and I have already listed several, yet you have not comment once on them.
aed71: >> but I would expect that it gives same results with same settings and data in backtesting.
Wrong again! I have already pointed out that the Strategy Tester "emulates" tick data and that is NOT the same as "real tick data", nor does it have delays or latency problems or re-quotes that live or demo forward tests have.
aed71: >> I'm pretty sure that it's not a coding issue since the same ex4 works in different brokers.
again! You have just described the classical "bug" - your code is unable to adapt to a particular condition of which you are not aware. In the very least your code should detect the abnormality and warn you about it. The very fact that you don't know WHY it is happening with just that broker's live account is the proof that it is a "condition" that the code (and you) does not cater for. There is an old saying in programming - G.I.G.O; which is quite cynical, but roughly translates into the idea that a program can only be as good as the knowledge that went into it, and when it fails it is in fact the coder/programmer that failed and that the "bug" is in the human (not the machine). That is why coders/programmers have to continually improve their knowledge and experience in order to improve their code.
EDIT: PS! If you want, send me a PM and the details of the broker account that does not work and I can test your ".ex4" file on it and offer you debugging advise.
I'm not able to send my code even ex4. The example I gave about the linear regression code was 2 years ago. I'm not even using it and the issue is not that code, it was just an example that there can be different implementations of brokers even in their different servers.
The issue is backtesting (even offline) differences between MT4 terminals. The issue is also not real trading vs backtesting differences. Why the same expert works differently in broker-a and broker-b terminals.
I'm currently suspecting historical data differences between terminals. I need to check the consistancy of historical data between terminals.