Hello. I want to get the number of consecutive losses from the history but I want to filter the deals by comment" ". So I noticed that the DEAL_ENTRY_IN has different comment from DEAL_ENTRY_OUT. So how do I retrieve the information? Code below
HistoryDealGetInteger( ticket, DEAL_ENTRY );
I thought you can't get DEAL_ENTRY status of a deal, can you? If not than what do you want to get?
Actually, obtaining max consecutive losses through a deal comment isn't a best decision. Get a deal profit, a deal commission, a deal fee, a deal swap and sum those values.
I thought you can't get DEAL_ENTRY status of a deal, can you? If not than what do you want to get?
Actually, obtaining max consecutive losses through a deal comment isn't a best decision. Get a deal profit, a deal commission, a deal fee, a deal swap and sum those values.
I'm mainly interested in the number of losses rather than the amount loss. I want to know how many positions were losers but consecutively
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello. I want to get the number of consecutive losses from the history but I want to filter the deals by comment" ". So I noticed that the DEAL_ENTRY_IN has different comment from DEAL_ENTRY_OUT. So how do I retrieve the information? Code below