Jak mogę sprawdzić wszystkie już otwarte ceny?
Próbowałem następujące, ale nie działa.
jeśli (warunek) .....
for (bcnt = btotal-1; bcnt gt; = 0; bcnt--)
{
OrderSelect (bcnt, SELECT_BY_POS, MODE_TRADES);
if (OrderType () lt; = OP_SELL OrderSymbol () == Symbol ())
{
if (OrderType () == OP_BUY)
{
if ((Ask gt; OrderOpenPrice () (Point * OrderDist)) || (Ask lt; OrderOpenPrice () - (Point * OrderDist)))
{
Kupować();
......
//------------------------------