Help with HistoryOrderInfo.mqh Include File, How to use?

 

The overall aim is create a code that increases lotsize by "x" ammount every time you lose. so if anyone has input on that that would be awesome.

 

My idea was to use the HistoryOrderInfo include file to access history to find when a trade has been lost then increase lotsize for next trade.

 

//Global Declaration
//History Order Info
#include <Trade\HistoryOrderInfo.mqh>
CHistoryOrderInfo HistInfo;

 thats pretty much as far as ive gotten haha, ive played with it for abit now and cant get it to select the most recent finished trade, or even give me a list.

 

A friendly observation: people may be reluctant to offer assistance when they notice a consistent lack of response to their efforts in the past.

Only bothering to acknowledge less than 1 out of 3 answers isn't the best batting average ;)


https://www.mql5.com/en/forum/168620 - answers given, no response

https://www.mql5.com/en/forum/168464 - answers given, no response

https://www.mql5.com/en/forum/167357 - answers given, argument with Alain

https://www.mql5.com/en/forum/167348 - answers given, response

https://www.mql5.com/en/forum/167173 - answers given, response

https://www.mql5.com/en/forum/167046 - answers given, no response

https://www.mql5.com/en/forum/165426 - answers given, no response

https://www.mql5.com/en/forum/166785 - answers given, no response

https://www.mql5.com/en/forum/164683 - answers given, response

https://www.mql5.com/en/forum/164682 - answers given, no response

https://www.mql5.com/en/forum/164554 - answers given, argument with Alain

https://www.mql5.com/en/forum/162698 - answers given, no response

https://www.mql5.com/en/forum/164291 - answers given, no response

https://www.mql5.com/en/forum/163179 - answers given, response

https://www.mql5.com/en/forum/162290 - answers given, response

https://www.mql5.com/en/forum/161830 - answers given, no response

https://www.mql5.com/en/forum/161639 - answers given, no response

https://www.mql5.com/en/forum/162095 - answers given, no response 

 
honest_knave:

A friendly observation: people may be reluctant to offer assistance when they notice a consistent lack of response to their efforts in the past.

Only bothering to acknowledge less than 1 out of 3 answers isn't the best batting average ;)


https://www.mql5.com/en/forum/168620 - answers given, no response

https://www.mql5.com/en/forum/168464 - answers given, no response

https://www.mql5.com/en/forum/167357 - answers given, argument with Alain

https://www.mql5.com/en/forum/167348 - answers given, response

https://www.mql5.com/en/forum/167173 - answers given, response

https://www.mql5.com/en/forum/167046 - answers given, no response

https://www.mql5.com/en/forum/165426 - answers given, no response

https://www.mql5.com/en/forum/166785 - answers given, no response

https://www.mql5.com/en/forum/164683 - answers given, response

https://www.mql5.com/en/forum/164682 - answers given, no response

https://www.mql5.com/en/forum/164554 - answers given, argument with Alain

https://www.mql5.com/en/forum/162698 - answers given, no response

https://www.mql5.com/en/forum/164291 - answers given, no response

https://www.mql5.com/en/forum/163179 - answers given, response

https://www.mql5.com/en/forum/162290 - answers given, response

https://www.mql5.com/en/forum/161830 - answers given, no response

https://www.mql5.com/en/forum/161639 - answers given, no response

https://www.mql5.com/en/forum/162095 - answers given, no response 

any friendly observations on helping this question?
Reason: