I am coding personal request EA today.
After many evaluation, I changed code when delete pending order.
if(OrderType()==OP_BUY )
{
if(OrderProfit()>0&&LongNum==0) {//現在BUYを持っているときは、pending をdeleteしないこと!!
Now it looks like better.
I am coding personal request EA today.
After many evaluation, I changed code when delete pending order.
if(OrderType()==OP_BUY )
{
if(OrderProfit()>0&&LongNum==0) {//現在BUYを持っているときは、pending をdeleteしないこと!!
Now it looks like better.
Thanks alot