![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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
return(DeltaValuePerLot() * pips2dbl);
where the pips2dbl get value?..
Thank you brother @WHRoeder..
Sorry for the noob question, but all along i thought the orderprofit() function would be smart enough to give true pip value, but it doesnt seem so.
Im testing on 4 digit broker Fxpro, and the profit of 30 pips is returning as 300 via OrderProfit(). How can i fix this ?
thx
I encountered this problem today, and it's really anoying....
From the documentation of OrderSelect(), it says:
So it's crucial that OrderCloseTime() should be tested --- not OrderClosePrice()!
This issue wasted me several hours... from morning till mid night... Glad I figured it out.