Dear getch,
I replaced "void TradeArbitrage()" to modify code for SpreadX + SpreadY.
--------------------------------------------------------------------------------------------------------------------------
Code for conditions SpreadX + SpreadY:
/ / Extern double MinPips = 0.5; / / Minimum consider the difference to arbitration in the "old" items
extern double SpreadKoef = 1;
void TradeArbitrage()
{
...........
...........
/ / RefreshPositions (); / / First, open arbitrage positions. Close always have time.
CloseSomePositions();
RefreshPositions();
return;
}
------------------------------------------------------------------------------------------------------
When I compile, it creates an error of "CloseSomePositions - fuction is not defiend".
And I can't find CloseSomePositions() fuction in the code. Where can I find that fuction?
Thanks.