Forum

Closed Positons Details

Hi, How can I get a list and details about their positions already closed? Thanks

CSymbolInfo - SessionOpen and SessionClose == 0

Hi I'm trying to get open and close the day through the class CSymbolInfo . But in reality what they get is 0, I think that is okay because testing with the Bid or Ask get the correct value. Code: # include <Trade\SymbolInfo.mqh>; CSymbolInfo mysymbol; int OnInit () { / / --- mysymbol.Name

buy and sell one another cancel each other

Good afternoon , When I open two different ways in order , for example a buy and sell one another cancel each other . How can I do to avoid cancellation ? My goal is to open a buy order while a sell order , is this possible? How