m.gonnella:
while i'm writing i can find the method CheckVolume, but it isn't in the guide
Still not in the documentation.
The entire function is in Trade.mqh.
double CTrade::CheckVolume(const string symbol,double volume,double price,ENUM_ORDER_TYPE order_type);
It appears to be a pass-thru for volume if the volume is OK, or it scales the volume based upon the amount of free margin if it is not OK.
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
hi,
can anyone explane me why i can't find the method CheckVolume in the MQL5's guide?? please help me
thanks.