Home Forums 21 Day Program 30051010 USDJPY 5M (April 2024)not trading Reply To: 30051010 USDJPY 5M (April 2024)not trading

#254118
User AvatarAshley Regan
Participant

I figured it out on my own.

in the source code change

ENUM_ORDER_TYPE_FILLING GetOrderFillingType()
{
const int oftIndex=(int) SymbolInfoInteger(_Symbol,SYMBOL_FILLING_MODE);
const ENUM_ORDER_TYPE_FILLING fillType=(ENUM_ORDER_TYPE_FILLING)(oftIndex>0 ? oftIndex-1 : oftIndex);

return (fillType);
}

 

to

 

ENUM_ORDER_TYPE_FILLING GetOrderFillingType()
{
return (ORDER_FILLING_IOC);
}

 

USDJPY trades can now trade for me without error

Shopping Cart