仕事が完了した
指定
Hedge_EA
Hi,
Here is the idea of the EA.
The EA is an arbitrage EA, which try to catch profit from the difference of the movement of two correlated currencies.
It should work with ECN.
It should work with 4 or 5 digit Metatrader 4 terminals.
New orders is send only on the open of new candle.
The idea of the EA is like this:
If there is no open orders now open new orders in currency[1] & currency[2] depending on the upcoming conditions.
If currency[1] is over its Simple Moving average and currency[1] candle is not the same color of currency[2] then, Buy Currency[1] & Sell Currency[2] with a target of [x] points on Equity & stop loss [x] points on Equity.
If currency[1] is under its Simple Moving average and currency[1] candle is not the same color of currency[2] then, Sell Currency[1] & Buy Currency[2] with a target of [x] points on Equity & stop loss [x] points on Equity.
Example:
If EURUSD is under its 100 simple MA and EURUSD candle body differ in color from GBPUSD then sell EURUSD & buy GBPUSD with a target of 5 Pips and a stoploss of 10 Pips from equity.
Example:
If EURUSD is over its 100 simple MA and EURUSD candle body differ in color from GBPUSD then buy EURUSD & sell GBPUSD with a target of 5 Pips and a stoploss of 10 Pips from equity.
EA Parameters:
|
Label |
Value |
|
Currency_1 |
EURUSD,GBPUSD,AUDUSD,…etc |
|
Currency_2 |
EURUSD,GBPUSD,AUDUSD,…etc |
|
Simple_Moving_Average |
100 |
|
Floating_Target |
50 |
|
Floating _Stoploss |
100 |
|
User_Slippage |
20 |
|
User_Comment |
Hedge |
|
LotSize_Currency_1 |
0.01 |
|
LotSize_Currency_2 |
0.01 |
|
Magic_Number |
2015 |

