Please Help Logic for EA OP one x 1 Pair?
Suppose I use 10 pair and only eligible who do not meet the eligible OP OP, how to masta?
I have a piece of EA I created:
PHP Code:
if(Jam_trade()==1)
{
if(OrdersTotal()==Banyak_OP)
{
//+--- Open Posisi Buy ---+
if(mFS30_51==OPBuy)
{
int result=OrderSend(Symbol(),OP_BUY,lot,Ask,0,Ask-StopLoss*Point,Ask+TakeProfit*Point,EAName,MagicNumber);
Mulai_Jam=Henti_Jam;
return;
}
//+--- Open Posisi Sel ---+
else if(mFS30_52==OPSell)
{
int result1=OrderSend(Symbol(),OP_SELL,lot,Bid,0,Bid+StopLoss*Point,Bid-TakeProfit*Point,EAName,MagicNumber);
Mulai_Jam=Henti_Jam;
return;
}
}
}
Help I hope!