Kid68 / Profile
Kid68
Added topic More order limit at same price when use For loop
I have a code. I want order Buy Limit. But when used For loop find entry buy limit. Have more order at same price. for(int i = 0; i < ArraySize(Dinh); i++) { if(CountLevel(Dinh[i])=0){ trade.BuyLimit( 0.01 ,Dinh[i], NULL
Kid68
Added topic How find Min SL of position Sell?
Hello, I want find minium SL of Positions sell. I have code: But return a value is SL of Last Position. Help me. double SLSell(string type, int magicNumber) { double MinSLSell = 0; for(int i= PositionsTotal() - 1; i >= 0 ; i--) {
Kid68
Added topic How to count duplicate price at order limit?
Hello, i have problem with my ea. I have more order limit at level price. But EA creat many order with duplication price. I want count order price at level. And I will filter order duplication. How to fix? int OpenSellOrders( double
: