Sarfaraj Damani:
How to prevent new order to open at same price as Existing open orders.?
How to prevent it? You check for it before opening. Show us your attempt (using the CODE button) and state the nature of your problem.
No free help (2017.04.21)
i want to put on multy order with trend but not at same price
this make multy order at same price
how to solve please help
Thanks
bool check_Buy() { bool Putorder=false; { FastMA = iMA(NULL,0,3,0,MODE_EMA,PRICE_CLOSE,0); SlowMA = iMA(NULL,0,5,0,MODE_SMA,PRICE_CLOSE,0); if ((Bid>FastMA)&&(FastMA>SlowMA)) int a=OrderSend (_Symbol,OP_BUY,lotsize,Ask,10,0,Ask+100*_Point,NULL,Majic_no,0,Green); Putorder=true; } return(Putorder); }
i want to put multy order at trend side but not to same price and not martingle
but its open multy order at same price
how solve it
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
How to prevent new order to open at same price as Existing open orders.?
bool check_Buy()
{
bool Putorder=false;
{
FastMA = iMA(NULL,0,3,0,MODE_EMA,PRICE_CLOSE,0);
SlowMA = iMA(NULL,0,5,0,MODE_SMA,PRICE_CLOSE,0);
if ((Bid>FastMA)&&(FastMA>SlowMA))
int a=OrderSend (_Symbol,OP_BUY,lotsize,Ask,10,0,Ask+100*_Point,NULL,Majic_no,0,Green);
Putorder=true;
}
return(Putorder);
}