Hi all, Trying to find the highest amount of open orders but but this code gives the same amount for TotalOpenOrders and MaxOpenOrders. Thx a lot. Amir int TotalOpenOrders = 0 ; int
Hi all, Need a help with this. When the EA closes the first Buy trade, it goes crazy. Am i missing something? Thx a lot! int TicketBuy10; double Lots10 = 1.0 ; double Buy10Profit = 200; // 200.00 = 20.00 pips int OnInit () {
Hi guys and girls, I m trying to count how many sell orders i have at a certain distance from a Buy order. This is the code i got but it gives me wrong results. Thanks a lot. double OrderOpenPriceSell; int TotalSellOrders() {
Hi, Can anybody help me please ? I know how to find the biggest order in Profit using a for loop. But i dont know how to find the 2nd and 3rd biggest orders in profit. Thanks in advance, Amir