Watch how to download trading robots for free
Find us on Facebook!
Join our fan page
Interesting script?
So post a link to it -
let others appraise it
You liked the script? Try it in the MetaTrader 5 terminal
Experts

EES Hedger - Take the other side of the trade - buy when you are selling, sell when you are buying - expert for MetaTrader 4

Views:
26429
Rating:
(12)
Published:
2008.08.22 07:48
Updated:
2016.11.22 07:32
kneeslogo.jpg (3.91 KB)
EES_Hedger.mq4 (9.16 KB) view
Picture1.png (206.15 KB)
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance

EES Hedger

Do you have the need to take the opposite side of a trade? Using manual trading or another EA, EES Hedger can immediately take the opposite position as specified in EA parameters.

Instructions:

For example, you are trading SAR EA on GBPUSD and SAR EA uses magicnumber of 1234,

so you want to use EES Hedger in conjunction with SAR EA. Open another GBPUSD chart (same pair SAR EA is trading), does not matter which time frame, but it is ideal that you use the same timeframe as what the SAR EA is trading, or a lower timeframe. Now on EES Hedger’s external var: Original_EA_Magic enter SAR EA's magicnumber which is in this example 1234. Now make sure that Advocate_EA_Magic is different from Original_EA_Magic. Once SAR EA opens a trade, EES Hedger will open the opposite order. Now if you want to use EES Hedger for Manual trades, simply input Original_EA_Magic = 0.

Parameters:

Original_EA_Magic = 0, //This is the magic number that your 1st EA uses where advocate EA will base its trades on

Advocate_EA_Magic = 2008, //This is the advocate EAs own magic number please keep it unique to avoid conflict

Slippage = 6, //Amount of allowed slippage

TakeProfit = 50, //Take profit amount, per trade

StopLoss = 50, //Stop loss, per trade

TS_MinProfit = 0, //minimum profit require before trailing stop starts

TrailingStop = 25, //this is the trailing stop in pips

BreakEvenAfterPips = 25; //when this amount in profit in pips is reached SL will be moved to breakeven

To obtain a free copy of this EA, visit www.eesfx.com and register for a free account.

IsConnected IsConnected

An EA that writes the time of disconnections from the server into a file.

Sidus_v.1 Sidus_v.1

The EA was developed on the basis of the Sidus indicator. It trades on EURUSD H1. Shows good results on the history after optimization. The test was performed on the quotes from http://metaquotes.ru/ and "Alpari" DC.

Ball Ball

Bollinger bands.

AMA Bands AMA Bands

Perry Kaufman's AMA with the double Bollinger bands.