¿Cómo reviso el precio abierto?
Intenté lo siguiente, pero no funciona.
Si (enfermedad) ....
Para (bcnt = btotal-1; bcnt gt; = 0; bcnt--)
{
OrderSelect (bcnt, SELECT_BY_POS, MODE_TRADES);
if (OrderType () lt; = OP_SELL OrderSymbol () == Símbolo ())
{
if (OrderType () == OP_BUY)
{
if ((Ask gt; OrderOpenPrice () (Point * OrderDist)) || (Ask lt; OrderOpenPrice () - (Point * OrderDist)))
{
Comprar();
....
//------------------------------