is it posible to obtain infromation about last trade like, was profitable and another information?
- dose last trade was profitable ?
- Trigg'3dTrSys Signals
- Blog
PrzemekB,
In order to get past trade information you should use OrderSelect function with MODE_HISTORY parameter.
The following example will tell you the profit of your last closed order.
int total = HistoryTotal();
OrderSelect( total - 1, SELECT_BY_POS, MODE_HISTORY );
Print( OrderProfit() );
Hope this help
Matias Romeo
Custom Metatrader Systems
matiasdotromeoatgmail.com
In order to get past trade information you should use OrderSelect function with MODE_HISTORY parameter.
The following example will tell you the profit of your last closed order.
int total = HistoryTotal();
OrderSelect( total - 1, SELECT_BY_POS, MODE_HISTORY );
Print( OrderProfit() );
Hope this help
Matias Romeo
Custom Metatrader Systems
matiasdotromeoatgmail.com
thanks :)
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