Amirio
Amirio
Friends

Add friends via their profile or user search and you will be able to see if they are online

Amirio
Added topic Highest OrdersTotal
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
Amirio
Added topic Lowest AccountProfit
double Profit = AccountProfit();                                 
Amirio
Added topic trying to find date/time of a specific bar
double LowestEMA = iMA ( Symbol (), 0 , 10 , 0 , MODE_EMA , PRICE_CLOSE , 0 );                     for ( int i = 1 ; i < 30 ; i++)
Amirio
Added topic finding the lowest value of EMA over previous period
       double Lowest = 500000 ;               double MovingAverage = iMA ( Symbol (), 0 , 10 , 0 , MODE_EMA , PRICE_CLOSE , 10 );
Amirio
Added topic EA opening and closing
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 ()   {   
Amirio
Added topic Counting total Sell orders at a certain distance from a Buy order
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()   {
Amirio
Added topic Find the biggest, 2nd biggest and 3rd biggest orders in Profit in Orderstotal()
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
Amirio
Registered at MQL5.community