The Expert Advisor finds discrepancies in two correlating currency pairs and trades in the direction of their reverse convergence.
Working timeframe: M30
- MagicNumber – the identification number on the Expert Advisor;
- OrdersComment-comment on the order, if the value is empty, automatic;
- Lots – lot size;
- DepoPer001Lot-automatic lot calculation (the balance per unit of 0.01 lot is specified) (if 0, the lot value from the Lots parameter is used);
- TimeFrame – working period;
- Symbol #2-Correlating Currency;
- Symbol #2 reverse-currency # 2 with inverse correlation to the current one;
- Symbol #2 lot – currency lot # 2, automatic if the value is zero;
- TradeType-drop-down list with a choice of the direction of transactions:
- Sell/Buy | -Buy/Sell-standard, for pairs with direct correlation;
- Sell/Sell | -Buy/Buy – for pairs with inverse correlation, you need this or the following value;
- Buy/Buy | -Sell/Sell-for pairs with inverse correlation, you need this or the previous value.
- Min Correlation – minimum discrepancy for opening an order, range 0.1-0.5;
- Open signal shift-the offset of the signal to open. At ” 0 “the current open bar, at” 1 ” the last closed bar, etc.;
- Close signal shift-the offset of the signal to close. At ” 0 “the current open bar, at” 1 ” the last closed bar, etc.;
- Min dist reopen (pips) – after how many points to open an additional order when the signal is repeated;
- Max spread – the maximum spread at which new orders are opened;
- Hour start – the hour when the search for the entry signal starts;
- Minute start – minute to start searching for the input signal;
- Hour end – the hour when the search for the input signal ends;
- Minute end – the minute when the search for the input signal ends;
- Close only in profit ($/lot) – the profit value at which it is allowed to close orders;
- Exit minutes – after what time to close the trade if there were no other signals for closing;
- Profit time exit ($/lot) – the profit value at which it is allowed to close orders by time;
- Trail start ($/lot) – after how many points the equity trailing stop starts;
- Trail stop ($/lot) – trailing distance;
- Stop loss ($/lot) – stop loss in the currency;
- Take profit ($/lot) – take profit in the currency.
[spoiler title=”Read More…”]
- Sell/Buy | -Buy/Sell-standard, for pairs with direct correlation;
- Sell/Sell | -Buy/Buy – for pairs with inverse correlation, you need this or the following value;
- Buy/Buy | -Sell/Sell-for pairs with inverse correlation, you need this or the previous value.
The value of the parameters indicated with a ($/lot) are multiplied by a lot, not to change while increasing a lot, so if the value is 100 and 0.1 closure is when the profit >= $10.
You need to install only one currency, you do not need to install the Expert Advisor on the currency set in the Symbol #2 parameter.
[/spoiler]