Forum
Market
Signals
Freelance
VPS
Quotes
MetaTrader
Articles
CodeBase
Algo Forge
Documentation
AlgoBook
NeuroBook
Calendar
WebTerminal
Tools
About
Download MetaTrader 5
Home
Type
/
to search: @user, $symbol, ...
Log in
Create an account
English
Русский
中文
Español
Português
日本語
Deutsch
한국어
Français
Italiano
Türkçe
Hakob Grigoryan
/ Profile
Hakob Grigoryan
Armenia
22
Friends
1
Requests
Vasyl Deiak
Outgoing
Hakob Grigoryan
2021.10.21
Added topic
How to get the last deal's and pre-last deal's profit and deal type for MQL5?
Can someone help me with MQL5 coding, I have tried thousand ways to get the profit and deal type from the history for the last 3 deals (last, before the last and the before before-the-last) but always failed. Would be grateful for any help with code
Share on social networks
7
Hakob Grigoryan
2020.03.12
Registered at MQL5.community
Share on social networks
January
February
March
April
May
June
July
August
September
October
November
December
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
: