For quite some time I have been working on a multi currency EA. It is a trend following architecture that buys dips in an uptrend and sells peaks in a downtrend.
A lot of work has gone into the code. It si built so as to run optimzation one pair at the time and then when running in "multi" reading the parameters for all pairs
from a file. Most of this is straight forward. Just a lot of work and testing.
Learned a few things on the way
In order to reduce the risk of curve fitting I do the optimization in 2 steps for each pair. First the entry parameters. Then "filters" and som adjustment of SL and TP with regard to volatility
Since the system is designed to only run one trade at the time for each pair it is also clever to utilize the multi currency logic to actually have 2 entries for each pair. One for long trades
and one for short trades. Test shows that the parameters differ quite a bit between long and short trades. (I run tests for 15 month back). So it takes 4 backtest runs for each pair.
There is more work to do but the preliminary test show very good result using this approach.
Just dont ask me how many hours I have spent on this project. It actually started a couple of years back on MT4.
I just thought I should share some basic ideas. There is also other possibillities to use the multi currency architecture and that is to have a couple of "variations" of the same EA for varying market conditions
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
This is an utility for automatic scaling of a chart and making at least 140 bars visible in it. This is necessary for a correct wave analysis according to the Bill Williams' strategy "Trading Chaos". The utility can be used on any timeframe available in МetaТrader 5.
It draws a vertical line through the first bar the calculation starts from. This line allows you to see the probable starting point of the wave sequence along with a sufficient number of bars displayed in the chart. It also makes t
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
The main purpose of the indicator is to determine and mark trade signals on the histogram of the Accelerator Oscillator, which were described by Bill Williams in his book "New Trading Dimensions". The list of signals:
The buy signal when the indicator histogram is below the zero line. The sell signal when the indicator histogram is below the zero line.The sell signal when the indicator histogram is above the zero line. The buy signal when the indicator histogram is above the zero line. The
VirtualTradePad is a panel for managing main orders in МetaТrader 5: Buy, Sell, Buy Stop, Buy Limit, Sell Stop, Sell Limit, Close, Delete, Modify, Trailing Stop.
This version is for informational purposes. Analyzing the main trade strategies using 10 indicators and 8 timeframes, the panel draws signal direction.
This pane is a part of the VirtualTradePad series that took 2-nd place in the Best Graphic Panel.
A free of charge demo version - VirtualTradePad Lite.
х - no s
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
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.
Purpose and functions of the indicator
The indicator determines and marks the moments of trend change on a chart based on the theory of fractal levels breakdown on any time frames. If a breakdown based on all rules is real, the horizontal lines will appear on the chart with corresponding color. If there is an up trend, the line will be blue. In the descending trend the line will be red. The blue line is a strong support level, the trader should look for buying opportunities above this line. The
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
I have developed this long-term trading strategy based on the relative strength index (RSI) indicator. Although the input parameters can be optimized for any currency pair, best results are achieved using EURUSD M15. The default parameter settings are for EURUSD M15.
The following parameters can be optimized:
Take profit: the strategy makes use of the current market volatility in order to determine the take profit (TP) and stop loss (SL) values of each trade AUTOMATICALLY. Take profit determ
Cluster analysis is now available in MetaTrader 5!
YuСlusters indicator builds a cluster graph based on tick data. For exchange instruments it is the volume and the last deal price, for Forex instruments it is the real or tick volume (depends on broker) and selectable type of the current price: Bid, Ask or (Bid+Ask)/2.
There are 5 criteria of cluster generation: Time interval, the criterion is set in seconds. Price range, the criterion is set in points. The current cluster is closed when the
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.
SafeZone is a method for setting stops on the basis of recent volatility, outside the level of market noise. It is described in "Come into my Trading Room" book.
In a downtrend, SafeZone defines noise as the portion of the current bar that extends above the high of the previous bar, against the downtrend. It averages the noise level over a period of time and multiplies it by a trader-selected factor.
For short trades, it adds the average noise level, multiplied by a factor, to the latest hig
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
PipTick VSA is based on the original Volume Spread Analysis method. It was designed for quick and easy recognition of VSA patterns. Even though this indicator looks very simple, it is the most sophisticated tool that we've ever made. PipTick VSA indicator is a really powerful analytical tool that generates very reliable trading signals. Because it is very user friendly and understandable, it is suitable for every type of trader, regardless of his experience.
What is VSA?
VSA - Volume Spread An
Active Lines - a powerful professional tool for operations with lines on charts. Active Lines provides a wide range of actions for events when the price crosses lines. For example: notify, open/modify/close a position, place/remove pending orders. With Active Lines you can assign several tasks to one line, for each of which you can set individual trigger conditions, as well as conditions for re-activations and the number of possible activations.
Active Lines helps you easily organize various tr
The indicator calculates the actual status of your position on FORTS market. Since your position is re-calculated after each clearing on FORTS and other futures markets, you can see the status of your position on the chart and in the "Profit" section only starting from the last re-opening (clearing). The indicator solves this issue by displaying the level of the very first deal opening, the actual profit, swaps, and commissions. The product is most useful for mid-term and long-term deals on FORT
This is the first public MQL5 indicator using the cluster filtering. The advanced smoothing effect allows the digital filter to transform an ordinary moving average into a new faster indicator providing fewer false signals. At least, that is the purpose of the new experimental project. The project stages and ClusterSMA features are described in the author's blog (in Russian).
The indicator is based on the cluster digital filter that is successfully used in another area. At the time of publicati
The Expert Advisor implements the classic "triangular arbitrage", which is successfully used by hedge funds.
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 combining cross rates of individual currency pairs.
The advantages of the strategy are the following:
Trading Chaos Expert Lite is a light version of Trading Chaos Expert. In the Lite version it is not possible to receive the table of trading signals, automatically place pending orders based on them and maintain open positions for multiple symbols at the same time in one window. Only the Current Chart mode is available. In all other features the panel is fully consistent with the basic version of the Expert Advisor.
This is, rather, a well thought out trader's assistant which is not easy to do
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 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!
Multi-TimeFrame version of the Super Trend (SuperTrend) indicator with filling function based on MQL4 code.
TimeFrame - used time frame:
Can be any of ENUM_TIMEFRAMES values.
TimeCorrection - use time correction:
Can be true or false (see the first screenshot with true input and a second is false).
Period - period to calculate the index:
Can be larger than 0. Multiplier - value of multiplier parameter:
Can be larger than 0. ShowFilling:
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.
Trend Laser with Volt Impulse
Strategy: Confirm impulsive signals Watch Video: (Click Here)Trend Laser with Energy Beam
qAutoActivation indicator is one of the main components of Trading Chaos Expert trading expert panel. The indicator displays the current trend on the current timeframe. This is the first indicator that is attached to the chart and saved in the trading complex template. It defines what trading signals from the expert panel should be automated for market entry (bullish or bearish ones).
When the trend changes, the indicator changes the line color and, at the same time, highlights the trading pane
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
Does not support hedging 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 Buttons for re
The main purpose of the indicator is to detect and mark trade signals on the histogram of the Awesome Oscillator according to the strategies "Trading Chaos, second edition" and "New Trading Dimensions".
The indicator detects and marks the following trade signals:
"Two peaks" - Divergence. The signal "Second wise-man" - third consequent bar of the Awesome Oscillator after its color is changed. The histogram crosses the zero line. The signal "Saucer".The indicator includes a signal block th
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
FourAverage: A Breakthrough in Trend Identification
With evolving information technology and increasing number of market participants, financial markets get less and less analyzable using good old indicators. Common technical analysis tools, such as Moving Average or Stochastic alone, are not capable of identifying the trend direction or reversal.
Can a single indicator show the right direction of the future price, without changing its parameters over 14 years' history, while at the same time
how is your entry signal generated?
what is your exit?
TP and SL is can also be a filter if you are trading one deal at a time only
I think the best idea for Multi Currencies EA should depend on pairs correlation
Next Q is Where : Where can one find information about current currency correlations?
Here is Exampels :
Next Q is : How to build My own Correlation and programe it in EA.
Then Build your Own strategy dependign on Correlation and fine tunning with In-Out indicators ..etc.
In addition to the above , the correltion depends at begenning on Currency INDEX , hence you should update the currency INDEX , don't depend the readymade one which updated on Yearly bases and not accurated .
Multi currency EA may be based on some other systems. The only thing to do (except the system itself) is 'account protection feature'. Because those kind of EAs may be risky, and this risk is for whole the account (just my opinion sorry). But it also depends on how it will be coded for example.
As to correlation so I found the following
MT5 CodeBase on HowTo :
Forum on trading, automated trading systems and testing trading strategies
Indicators: MFCS Currency Correlation Chart
newdigital, 2013.10.26 09:29
Currency Pairs Correlation in Forex Market: Cross Currency Pairs
As a forex trader, if you check several different currency pairs to find the trade setups, you should be aware of the currency pairs correlation, because of two main reasons:
1- You avoid taking the same position with several correlated
currency pairs at the same time and so you do not multiply your risk.
Additionally, you avoid taking the positions with the currency pairs
that move against each other, at the same time. 2- If you know the
currency pairs correlations, it may help you to predict the direction
and movement of a currency pair, through the signals that you see on the other correlated currency pairs.
Now I explain how currency pairs correlation helps. Lets start with the 4 major currency pairs: EURUSD ; GBPUSD ; USDJPY and USDCHF.
In both of the first two currency pairs (EURUSD and GBPUSD), USD
works as the money. As you know, the first currency in currency pairs is
known as the commodity and the second one is the money. So when you buy
EURUSD, it means you pay USD to buy Euro. In EURUSD and GBPUSD, the
currency that works as the money is the same (USD). The commodity of
these pairs are both related to two big European economies. These two
currencies are highly connected and related to each other and in 99% of
the cases they move on the same direction and form the same buy/sell
signals. Just recently, because of the economy crisis, they moved a
little differently but their main bias is still the same.
What does it mean? It means if EURUSD shows a buy signal, GBPUSD
should also show a buy signal with minor differences in the strength and
shape of the signal. If you analyze the market and you come to this
conclusion that you should go short with EURUSD and at the same time you
decided to go long with GBPUSD, it means something is wrong with your
analysis and one of your analysis is wrong. So you should not take any
position until you see the same signal in both of these pairs. Of
course, when these pairs really show two different direction (which
rarely happens), it will be a signal to trade EUR-GBP. I will tell you
and USDJPY behave so similar but not as similar as EURUSD and GBPUSD,
because in USD-CHF and USDJPY, money is different. Swiss Franc and
Japanese Yen have some similarities because both of them belong to oil
consumer countries but the volume of industrial trades in Japan, makes
Generally, when you analyze the four major currency pairs, if you see
buy signals in EURUSD and GBPUSD, you should see sell signals in
USDJPY. If you also see a sell signal in USD-CHF, then your analysis is
more reliable. Otherwise, you have to revise and redo your analysis.
EURUSD, GBPUSD, AUDUSD, NZDUSD, GBPJPY,
EURJPY, AUDJPY and NZDJPY usually have the same direction. Just their
movement pattern sometimes becomes more similar to each other and
What do I prefer?
If I find a sell signal with EURUSD and GBPUSD and a buy signal with
USDJPY, I prefer to take the short position with one of the EURUSD or
GBPUSD because downward movements are usually stronger. I will not take
the short position with EURUSD or GBPUSD and the long position with
USDJPY at the same time, because if any of these positions goes against
me, the other one will do the same. So I don’t double my risk by taking
two opposite positions with two currency pairs that move against each
How to use the currency pairs correlation to predict the direction of the market?
When I have a signal with a pair, but I need confirmation to take the
position, I refer to the correlated currency pairs or cross currency
pairs and look for the confirmation. For example I see a MACD Divergence in USDCAD
four hours chart but there is no close support breakout in USDCAD four
hours or one hour chart. I want to take a short position but I just need
a confirmation. If I wait for the confirmation, it can become too late
and I may miss the chance. I check a correlated currency pair like
USDSGD and if I see a support breakout in it, I take the short position
with USDCAD. Now the question is why I don’t take the short position
with USDSGD and I use its support breakout to go short with USDCAD? I do
it because USDCAD movements are stronger and more profitable. I use
USDSGD just as an indicator to trade USCAD.
It happens that you take a position with a currency pair, but it
doesn’t work properly and you don’t know if it was a good decision or
not. On the other hand, you don’t see any sharp signal on that currency
pair to help you decide if you want to keep the position or close it. In
such cases, you can check a correlated currency pair and look for a
continuation or reversal signal. It helps you to decide about the
position you have.
Sometimes, some correlated currency pairs don’t move in the way that
they are supposed to move. For example EURUSD and USDJPY go up at the
same time, whereas they usually move against each other. It can happen
when Euro value goes up and USD value doesn’t have a significant change,
but at the same time JPY value goes down, because of some reason. In
these cases, you can use the below table to find and trade the currency
pair that its movement is intensified by an unusual movement in two
other currency pairs. In this example, if EURUSD and USDJPY go up at the
same time, EURJPY will go up much stronger (see the below chart).
Or if EURUSD goes up and AUDUSD goes down at the same time, EUR-AUD goes up strongly.
Another important example: If EURUSD goes up and GBPUSD goes down at the same time, EURGBP
goes up strongly. Maybe this is the most important case that we can
trade based on this rule. It happens many times that EURUSD and GBPUSD
move against each other and that is the best time to trade EURGBP. Now
you know why EURGBP doesn’t move strongly most of the time. It is
because EURUSD and GBPUSD move in the same direction most of the time.
For example they go up at the same time and so EURGBP doesn’t show any
significant movement because when both of the currencies of a currency
pair go up or down at the same time, that currency pair doesn’t show any
strong movement and direction (I hope you know why a currency pair goes
up or down. It goes up when the first currency value goes up OR the
second currency value goes down. For example EURUSD goes up, if Euro
value goes up or USD value goes down. If this happens at the same time,
then EURUSD goes up much stronger).
The below chart includes almost all of these unusual movements and their results on the third currency pair.
if EURUSD and USDJPY then EURJPY means if EURUSD and USDJPY go up at the same time, then EURJPY goes up much stronger.
newdigital, 2014.02.04 08:27
Trade Gold Using Currency Correlations (based on dailyfx article)
Secondly, the AUD has a high correlation to gold due to Australia’s
extensive gold mining operations. As gold prices fluctuate, this
increases or decreases the amount of funds transferred into AUD to make
purchases of the metal. These transfers essentially change demand for
the currency and can directly cause changes in the AUDUSD currency pair
Trading the Correlation
The key to trading positively correlated assets, is finding a direction
from one of the underlying assets before making a trading decision. If
traders are seeing the AUDUSD push to lower lows, this could easily be
the catalyst for a bearish bias on Gold. Conversely if gold is trending
upwards, this can also be a signal of a new uptrend on the AUDUSD.
As you can see, this information is very useful to traders that have a
general fundamental view of the market. If you have an opinion on Gold
or the US Dollar this can be relayed into a trade idea. Often traders
that are bullish on Gold choose to trade the AUDUSD instead of the metal
itself. The Aussie Dollar carries a 2.50% banking rate, meaning traders
can earn additional interest while executing a buy order on a
positively correlated opinion of Gold. If a trader is bearish on the
AUDUSD currency pair, traders can in turn sell gold to avoid
accumulating interest on their trading balance.
newdigital, 2014.02.04 09:27
Australian Dollar Strongly Correlated to Gold, Silver, Steel Prices (based on this article)
View forex correlations to the SPDR Gold ETF Trust
(GLD), United States Oil Fund ETF (USO), SPDR Dow Jones Industrial
Average ETF Trust (DIA), UK FTSE 100 Index, and IShares Silver Trust ETF
Well, this seems to have stirred up some discussion. None of them not really related to the ideas I decided to share :-)
Personally I believe that Multi currency techniques is a good way to spread risk. What has to be done is of course to track the total
"system" performance. A simple method is to have a "System StopLoss", checking the total drawdown. My backtesting results running
12 pairs rather indicates that the total drawdown in percentage are lower than for a single participating pair.
The interesting question in relation to a "system SL" is wether or not have a "system TP". Something like:
When total current open profit is 7% of capital close all and take profit. I have had that diskussion in another forum on trading but the majority did not like the idea.
Someone asked about my entry. That is a long story and is really the heart of the system. As for TP and SL I run them at 300 and 200 with
some adjustment up and down (within limits) with the help of 5 ADR
A comment on using the multi currency approch to have different parameters for long and short trades. When splitting it like that the profit increased 90% for the EURUSD pair.
Almost doubled with no increase in drawdown for the period 2012-12-01 to 2014-02-25
I think the best idea for Multi Currencies EA should depend on pairs correlation
I think different, as most of traders are looking for pairs correlation, maybe the best idea is to do the opposite way. For instance, create containers with pairs without any correlation.
And better, compare the performance of the two approaches in the real world.
By the way, this is one reason that I think the modern quantitative finance theory is obsolete, because what the academy teaches and quants are learning are absolutely the same paradigms, of the same teachers.The consequence is that they are fighting themselves, instead of create their proper ideas.And because that, in my opinion, quantitative systems are the future of quantitative finance.
I do not see the relevance of either using correlated pairs or not. Practical experience with my multi currency EA shows that:
1. The equity curve, the drawdown and the total profit is excellent running 12 pairs with the same system with pairs optimized individually
2. Splitting the individual pairs further by having different parameter settings for long and short trades improves the result substantially
Why bother with correlated or uncorrelated pairs? That is theoretical speculation that really has to be substantiated by practical results.
Taking this idea of splitting parameters for long and short trades and treating them as separate pairs just gave me the idea that this kind of splitting a pair
could be taken one step further and split the pair to "sub pairs" for different market conditions. That is an approach that I will not take at this time
since I want to finalize the current architecture that seems to work exceptionally well and start making money.
The "overload" is not really that big. An array of input parameters and a loop handling it. Read input parameters to array from a file, Read file evey hour and you dont even have to restart the EA when changin paramaeters
Advantages: Not so much.
- you are getting into a competion with your EA. Which I am not
- Want to have better control of total system performance. Which I do. Like possibly having a "Total system" TP and SL. Like closing all positions total profit has reached 7% of capital and stopping when total loss is 3%
This of course also can be done with an separate EA running keeping an eye on system performance.
- When it is all up and running maintenance is easier
- Single interface to the broker server. No "context busy" message from the server (I think that is the message)
In my case its also a question of numbers. Running 12 pairs and 2 for each pair (long and short) means 24 EA:s running. And the number of pairs might increase.
And the possibillity to do a backward test on the total system.
Yes Quantitative Trading System will be high performance than only correlation , but it need high qualified staff to build an Quantitative Trading System , hence instead of Quantitative to be Algorithmic .
Therefore if we use correlation + Tech. Momentus + Good Portoflio + Perfect Algorithmic coding = Good Strategy for Multi - Currency EA