Forum

Incorrect OrderProfit and Money Management

Hi, Guys! I need your help. I am trying to calculate how much did earn one currency pair for example GBPUSD whilst trading multiple pairs simultaneously in ONE account And OrderProfit() gives me incorrect data 2015.05.04 08:11:05.454 2012.06.18 20:00 Bounce_Back_MA_GBPUSD_SELL GBPAUD,H1: open #2

OrderCommision() always negative yes?

OrderCommission() is negative or 0, but never +positive value right? double True_Profit = OrderProfit()+OrderSwap()+OrderCommission(); current_balance += True_Profit; this is correct

update or similar library OrderReliable_V1_1_4.mqh?

What are you using for sending orders reliably ? Is there newer version of this lib or similar robust libs

Slow visual test on MT5 of MQL4 AMA indicator converted to MQL5

My problem is <video link deleted> All standard indicators run very fast in visual testing mode, but my converted from mql4 to mql5 ama custom indicator is very slow during visual testing even if I use 1 minute input not ticks What to do

LibOrderReliable_V1_1_4 in MQL5?

Anyone has LibOrderReliable_V1_1_4 in MQL5 converted or similar lib? Helped me a lot with mql4 expert

MQL4 Analogue to EntCondS = FastD(NS1)

I am a beginner programmer and I am confused How do I convert this FastD(NS1) <= SlowD(NS2) to MQL4? { Entry and exit conditions } EntCondL = true; EntCondS = FastD(NS1) <= SlowD(NS2); EndofSess = false; If DataCompression >= 1 and DataCompression <= 4 then EndofSess = time = SessionEndTime(0, 1);

Add Extra Realism To Strategy Tester

Please add options like: slippage, disconnect, requotes, spikes, lag, offquote, etc, etc to strategy tester . This will help greatly to optimize, test properly, and debug strategies for real trading. Thanks

How to get access from my expert advisor to calculations of other indicators

just started to learn and experiment with mql. here is the problem, for example i put onto charts lets say Moving Average and other indicators and my EA how can i find out through my expert advisor what is current MA price, or any other param of any other indicator? i could copy paste source code