Forum

Calculation of exposure to currencies

Hi all, Is there any code/indy known to be available which would calculate exposure to individual currencies. That is, let's say I am short EURUSD 0.5 lots, long AUDJPY 0.25 lots and long USDCHF 0.5 lots, I want to know my individual exposure to EUR, USD, AUD, JPY and CHF (totals for each). I think

Partial close code/EA

Hi all, Does anyone know of any code (or an existing trade manager EA) which will handle partial closing of trades in the following way? Let's say you place a trade with 5 pips risk, when the trade is up by 15 pips (3 x initial_risk), I want to partially close enough of the trade to cover the

MT5 testing

Despite several attempts and re-downloading the latest versions, I'm still unable to get a successful test on the example experts supplied with MT5. I always receive the following errors (example) failed market buy 0.79 EURUSD [Unsupported filling mode] CTrade::OrderSend: market buy 0.79 EURUSD

Multiple profiles with one expert advisor

Hi, I'm using MT4 build 392. I am running an expert advisor in one profile but it is being removed (uninit reason 4) when I change profiles. If I then change back to the original profile, the expert is once again re-loaded and initialized. I have the option 'Disable experts when the profile has been