You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Can anyone suggest how to get (catch) the moment when a position is closed in MT5? Actually, you need to get the properties of the last closed position.
I'm switching from MQL4, I cannot understand how to find high and low bar using time+TF. It simply means shift by time and high and low by shifft.
---------------------------------------------------------------
it looks like CopyHigh etc.
Do I have to warp an array to get one value?
+ One more question: for example if i set the hour chart to 19:20 it will give me a high bar that opened at 19:00\and i don't get anything at all\and i get a high bar that opened at 20:00 ?
'MqlTradeRequest' - struct or class already defined deposit.mq5 20 9
And this is not the case.
'MqlTradeRequest' - struct or class already defined deposit.mq5 20 9
I would assume that if stops-profits are not specified, then they don't exist, if a currency pair is not specified, then it is the one on whose chart the robot is, the price of a nimble order according to my intellect also doesn't seem to be necessary! I read English. I am guessing.
And what class is not defined in this structure? The compiler has got stuck in its brain!
AAH! The structure is already defined! It compiled!!!
You know, put in 37 and 42 !!!!! What's thirty-seven? What's forty-two? I see a balance of 17,155, 57 and what are those numbers?
You know, I put in 37 and 42 !!!!! What is thirty-seven? What's forty-two? I see a balance of 17 155, 43 and what are these numbers?
ACCOUNT_BALANCE is a numeric identifier
correct isAccountInfoDouble(ACCOUNT_BALANCE) andSymbolInfoDouble( Symbol(),SYMBOL_MARGIN_INITIAL)
in other words, the identifier can be represented both alphabetic and numeric
in other words ACCOUNT_BALANCE andSYMBOL_MARGIN_INITIAL are simply numbers