Hi,
i have this function:
int newCycle(){
int i;
var myGrid=10*PIP;
var PriceUP=price()+myGrid*2;
var PriceDN=price()-myGrid*2;
//printf("\nInit: DN:%.5f UP:%.5f",PriceDN,PriceUP);
for(i = 0; i < 10; i ++)
{
PriceUP+=myGrid;
PriceDN-=myGrid;
if (i<2){
//2x LIMIT
-------> This I'm want to open SELL LIMIT and BUY LIMIT
-------> But open in the actual price not pending
enterShort(1,PriceUP);
enterLong(1,PriceDN);
printf("\nMENSI:%d DN:%.5f UP:%.5f",i,PriceDN,PriceUP);
continue;
}
..------> This is OK, Open the Buy and Sell STOP.
enterLong(1,PriceUP);
enterShort(1,PriceDN);
printf("\nVetsi:%d DN:%.5f UP:%.5f",i,PriceDN,PriceUP);
}
}
How to send the LIMIT ORDER?
Thanks