I'm new here, I've been trying to write an EA for the last couple months and finally got something working right. the problem is I have two accounts with 2 different brokers: Oanda and ThinkForex.
My EA performs well on Oanda EURUSD, the one I developed and backtested on, but when I run the same test in the ThinkForex account, it's very bad. In fact, the markets look alike but they are very different when looking up close.
I was informed that one can download more reliable data from Dukascopy but I wonder what's the point since obviously that data will be different from Oanda's data and from ThinkForex's data, invalidating my test anyway..
How can I trust my tests then? What do you guys do?
Thanks a lot
Who will be interested in this product:
those who are used to diversify the portfolio with a large number of pairs. those who work with a large number of orders those who trade news using pending orders (see the "Grid request" tab).The panel is designed to make managing a large number of orders as easy as managing one.
The currency pairs and order types for opening are formed here. The prices and stop levels are set.
User can define the price valu
This indicator gives full information about the market state: strength and direction of a trend, volatility and price movement channel. It has two graphical components:
Histogram: the size and the color of a bar show the strength and direction of a trend. Positive values show an ascending trend and negative values - a descending trend. Green bar is for up motion, red one - for down motion, and the yellow one means no trend. Signal line is the value of the histogram (you can enable divergence
FULL Automatic is a fully autonomous trading robot for MetaТrader 5 without configurable parameters.
It is similar to SAFE Automatic robot intended for traders having no knowledge of trading basics. It works in Low, Medium, High and Extremal trading modes.
The EA applies modified versions of well-known strategies, including Elliott waves, following a trend, half-pyramiding, scalping, speculative trading with a double deposit protection. The EA switches the strategies automati
The indicator determines and marks the short-term lows and highs of the market on the chart according to Larry Williams` book "Long-term secrets to short-term trading".
"Any time there is a daily low with higher lows on both sides of it, that low will be a short-term low. We know this because a study of market action will show that prices descended in the low day, then failed to make a new low, and thus turned up, marking that ultimate low as a short-term point. A short-term market high is just
This is a panel for controlling the profit/loss in dollars, pips or % of balance. A new function for trailing profits has been implemented.
The panel can be used as a virtual Stop Loss or Take Profit.
It also features the emergency button - CLOSE ALL.
You can also try the full version of the VirtualTradePad for mt5 panel, as well as the Profit or Loss for mt4 panel
Other versions in this collection:
VirtualTradePad for mt5 Digit Market Time Pad Market Time Pad Scalper PadMain f
VirtualTradePad - is a contol panel for working with orders in МetaТrader 5 : buy, sell, buystop, buylimit, sellstop, selllimit, close, delete, modify, tralling stop.
VirtualTradePad won 2nd prize in the "Best Control Panel in the MQL5 Language" Contest.
The panel consists of 5 tabs.
VirtualTradePad PositionsStyle VirtualTradePad Ordersstyle VirtualTradePad SignalsStyleDemo version of the panel - VirtualTradePad LiteProfit or Loss PadINFO PadYou can also try this panel for
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
Auto Trade Copier is designed to copy trades between multi MetaTrader 5 accounts/terminals with 100% accuracy.
With this tool, you can act as either a provider (source) or a receiver (destination). All trading actions will be copied from the provider to the receiver with no delay.
Note: Demo version for testing can be downloaded at: https://www.mql5.com/en/market/product/5006.
Followings are highlight features:
Switch between Provider or Receiver role within one tool.One provider can copy tr
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 robot does not trade at night from 10 p.m. to 4 a.m. (server time).
The robot was tested in the special tester on real ticks. Empirical e
The indicator is based on the comparison of the correlation of trading instruments following an original algorithm. It determines the difference between correlated contracts (delta). The greater the difference, the more it is likely that this Delta will return to zero.
More suited to the FORTS market.
The greater the deviation from zero, the more it is likely that the price will return to zero. Also, the indicator divergence can be applied by comparing highs and lows.
The Spread Record Standart indicator displays spread for each price bar as a bar graph. It uses five variables as spread values:
Spread level at the bar opening; Maximum spread level reached during the bar; Minimum spread level reached during the bar; Spread level at the bar closing; Average spread level within the bar (displayed as a green dot on the corresponding level of the bar)Apart from displaying price bars, SpreadRecord also provides a small built-in panel showing the curre
Easy Order is an Expert Advisor allowing you to enter any type of trade with one click based on your RISK preferences.
You can choose to enter a trade and automatically calculate your lot size based on how much of your account you want to risk. Risk is calculated based on your Stop Loss placement. You can use a fixed lot size if you don't want to use risk based calculation of lot size. Your previous setting of risk based or fixed lot size remains saved for your next use of this Expert Advi
Investment in the capital markets is risky. Some of transactions are closing with loss, so very important thing is to control risk. There are many tools for risk controlling. One of them is Risk Reward Ratio indicator.
It is used by many investors to compare the expected returns of an investment to the amount of risk undertaken to capture these returns. This ratio is calculated mathematically by dividing the amount he or she stands to lose if the price moves in the unexpected direction (i.e. th
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
EasyPen is designed as beautiful and innovative way to create and manage all your chart analysis, scribbles, notes and more. The app takes advantage of new MQL5 technology to offer an experience unseen in the other apps or in older MQL versions.
An App That Changes Everything
There is no existing drawing app that allows the level of customization that EasyPen offers. Change color of your pen, choose brush size, save drawings, keep drawings attached to specific position in chart, and more. With
FXG_Info – the most important data in one place.
MetaTrader 5 Indicator FXG_Info provides basic statistical information about a particular currency pair. So that in combination with a chart representing currency price it is easy to determine whether the current situation is good for trading. And when you open a position it will clearly show you the current data such as SL, TP, RR. You are not limited to currency. You can use any market which is provided by you broker.
The following information
The indicator has standard settings. The new modification of indicator provides special marking of the segment when the moving averages begin to form a cross in one direction or another. The Alligator`s cross indicates that the trend is about to change. Modified Alligator helps traders to determine a trend on a particular timeframe even if the averages are intertwined and have a shift in the future. Direction of a trend is determined by a cross of the averages with a specified marking area on th
Does not support openning multiple orders on a single symbol on MT5
MultiMTCopier MT5Receiver - new and improved multi-terminal positions copier for your real/demo account, works faster, requires less, flexible in managing and upgrading, new information support. This Expert Advisor is designed for the MetaTrader 5 terminal, trades will be copied into this terminal.
The EA will copy all positions without delays Additionally integrated notification in situations requiring user
There is Demo version of this panel Dashboard Babon Scalping System MT5 Demo in my product list, please try it out to get familiar with all functionalities for free.
Free version: LINK
MT4 version: LINK
This system basically utilizes TDI, Heiken Ashi Trend, Price Trend on H1 time-frame and TMA on H1&H4 time-frame to generate the trend (big picture). Then the system will zoom in to generate the entry point on M1 time-frame using Babon Slope, M5 TMA, and Ichimoku indicators. The signal will be
This indicator will help you add any custom indicators to a mini chart that is open on the main chart.
When you start this indicator, in the parameter table, you have to choose the name the of mini chart you want to add to the main chart, and you have to choose the symbol, period and coordinates of the minichart on the main chart with X-distance and Y-distance parameters. Then you type the indicator's name (that indicator must exist in the indicator folder already).
If you want, you can choos
TTMM – "Time To Make Money" – Time When Traders Makes Money on the Stock Exchanges
The ТТММ trade sessions indicator displays the following information:
Trade sessions: American, European, Asian and Pacific. (Note: Sessions are displayed on the previous five days and the current day only. The number of days may change depending on the holidays - they are not displayed in the terminals. The sessions are also not displayed on Saturday and Sunday).
The main trading hours of
Does not support openning multiple orders on a single symbol on MT5
MultiMTCopier MT5Source - new and improved multi-terminal positions copier for your real / demo account, works faster, requires less, flexible in managing and upgrading, new information support. This expert is designed for terminal MetaTrader5 from which the position will be copied.
The EA will copy all positions without delays Additionally integrated notification in situations requiring user attention Butt
This software has no equals in the world and represents a universal trade "console" covering trading signals, automated market entry, setting of Stop Loss and Take Profit, as well as Trailing Profit for multiple trades at the same time in a single open window. Intuitive control of the Expert Advisor in "three clicks" ensures a comprehensive use of all its functions on different computers, including tablets PCs.
Interacting with additional signal indicators that mark the chart to give a real mar
Zig Zag Swing Detector is a talking indicator tool, that let you track new highs and lows using Zig Zag patterns and allows you to react to new highs and lows. For example for uptrend each time there is higher hi spotted, the strength of the trend is increased. Trend is ended with lower low than the previous one.
Be notified by Alerts, Speech and Notifications and be alerted about new highs/lows!
You can also setup conditions to open trades automatically on new heights. Speech synthesis allows
This indicator shows how much time is left on the current candle.
You have absolute control over appearance of remaining time label. Also, you can set additional flag to show remaining time in the comment section of your chart and how much time has already passed on the current candle measured in percents.
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
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 EASIEST way to manage your risk for each trade!
Add the indicator to your chart, configure a risk percentage (of account equity) Enter the number of pips for your stop loss into the text entry field that appears on the chart The position size to take will automatically be updatedThe product features two modes - a compact mode which allows entry of stop loss pips and shows the resulting lot size based on the percent risk setting, as well as an expanded mode that also shows
Veno EA MT5 is a safe and fully automated medium-term trading robot.
The EA does NOT use hedging, martingale, grid strategies, arbitrage, etc.
Veno Expert System MT5 automatically monitors the appearance of participants with distinct preference towards buying or selling on the market. Trades are conducted on sharp cluster and news based movements of the market. The robot analyzes the market volumes and volatility, and follows strong supply and demand movements. It smoothly sets breakeven level
Fast Copy MT5 allows to copy trades between different MetaTrader 5 (netting)(hedge) and MetaTrader 4 accounts in any direction and amount, quickly and easily (without loading the system).
Any type of copying is available MT5 —> MT5 MT5 —> MT4 MT4 —> MT5 MT4 —> MT4
* For any interaction with the MT4, it is necessary to additionally install Fast Copy MT4
One tool for sending and receiving transactions: [master] > [slave] operation mode can be selected in th
You should test your Bot visually and see the working of Bot patiently. And check that is it working same as u code or not if it is not working than there is some wrong logic in your code .
As some one write ::
A program can only do what it's programmed to do, to the letter of the law. Unfortunately, what's written doesn't always
coincide with what the programmer intended the program to do. This principle can be explained with a joke:
A man is walking through the woods, and he finds a magic lamp on the ground. Instinctively, he
picks the lamp up and rubs the side of it with his sleeve, and out pops a genie. The genie thanks
the man for freeing him and offers to grant him three wishes. The man is ecstatic and knows
exactly what he wants.
"First", says the man, "I want a billion dollars."
The genie snaps his fingers, and a briefcase full of money materializes out of thin air.
The man is wide-eyed in amazement and continues, "Next, I want a Ferrari."
The genie snaps his fingers, and a Ferrari appears from a puff of smoke.
The man continues, "Finally, I want to be irresistible to women."
The genie snaps his fingers, and the man turns into a box of chocolates.
Just as the man's final wish was granted based on what he said, rather than what he was thinking, a program will
follow its instructions exactly, and the results aren't always what the programmer intends. Sometimes they can lead to
Programmers are human, and sometimes what they write isn't exactly what they mean.
Thank you both for your replies!
Ceaser, my code behaves just fine, the problem is that the same market, EURUSD, is different from different brokers. The bar's open high low close's are not the same in each of them.. The question is, should I create a different EA (or just different stop losses / take profit) for each broker to get positive backtests or is this a very bad practice?
Janek, actually I have 2 different EA's, so 2 different strategies, one needs tick data or at least 1h data to back the 4h since the EA runs on the 4h time frame, the other just works fine by assessing the situation at each bar opening.. In either cases, I get different results in the different brokers data :(
If we assume that there is no adaptation (e.g. 4 digits vs 5) nor coding error (algorithm is coded as intended) then your trading logic/concept is wrong.
It is typical for beginners to fall into a trap to think that a stochastic process can be captured by an analytical expression (formula).
That is what you have done, and after calculating the coefficients in your formula/expression/algorithm, you have just optimized their values to fit the history curve. So the moment that the curve changed in just fragments your concept failed.
You should try to make your program parameter-less wherever possible and try to analyse in a sense of relationships and behaviour. Fixed number can't work in stochastic.
For what it's worth, MT4 tester generates tick data from a function, it doesn't store real, historical values.
Therefore, you can make millions in strategy tester very easily.
Now, why people use TickStory - because it provides them with real tick data. And then, sadly, most tick-based systems fail.
So if one of your EA's use it...
As graziani said above, fitting your sl and tp levels is probably not a good idea.
If it works with sl and tp in one period and you test it on other periods and it still works, then there might be something to it.
Thank you so much guys! This is very enlightening!! ..and I'm very screwed :)
I just don't see how to do this :
Grazioani : You should try to make your program parameter-less wherever possible and
try to analyse in a sense of relationships and behaviour.
Should I understand by this that the code should rely on indicators like
moving averages or rate of change to decide when to get out?
In fact I'm very committed to making EA's for a living and I would love it if someone could point me to a kind of online class or a mentor with which I could bounce ideas with!
Anybody knows anybody? :)
We need to measure things, so we need to use MA to transform PA into a continuous function, so it has sense to look for first derivative to get the info about the direction and slope i.e. ROC if that is how you want to handle it.
However it is not easy to recognize the trend change out of this, neither to recognize if this is just a correction rather then trend change.
Generally, as one is not able to predict the future, you can only try to recognize a trend and to stay in it as long as possible to achieve RRR high as possible: it is not realistic to expect a high number of correct hits in guessing the direction so you need a high RRR to keep positive balance.
You need a exit criteria to keep your winnings, and you can use MA to do this, but try not to fix this to a number but rather use a criteria like e.g. breaking a trend line or like e.g. when PA moves from the edge of bollinger channel (std dev) back to the MA.
And of course it should be clear to you that you wont find a working strategy anywhere on the internet and that it is highly unlikely that someone who really knows will share his knowledge with you without a reason.
Well Graziani, thanks a lot for your help!
That is exactly the kind of coaching I'm looking for in a mentor.. Those guidelines that are not written anywhere in a clear concise form and yet, are key to success.
Is there a way to PM you?