Problem with boolean operation on price

 
   double first_order_price = Ask; // store the price of previous order

// Open 2st long position with smaller price
   if(Ask < (first_order_price - 10 * Point))
     {
      ticket2 = OrderSend(Symbol(), OP_BUY, lot_size, Ask, 0, stop_loss, take_profit, "Test", MagicNumber, 0, Lime);
     }

Why the condition (first_order_price - 10 * Point) don't works?

Thanks to whoever can help me

 
Luca Cerquatelli: Why the condition (first_order_price - 10 * Point) don't works? I am going crazy :( Thanks to whoever can help me

Is it not obvious?

If the variable "first_order_price" is assigned the value of "Ask", then the boolean expression becomes :

Ask < (Ask - 10 * Point)
Which will ALWAYS be false.
 
No it isn't, because the first_order_price variable concerns the stored price of a previous order. But I fixed it by moving the variable under Global section.
Thanks anyway for the help
 
Luca Cerquatelli #: No it isn't, because the first_order_price variable concerns the stored price of a previous order.
   double first_order_price = Ask; // store the price of previous order

That isn't what you posted.

Do you really expect an answer? There are no mind readers here and our crystal balls are cracked.
     How To Ask Questions The Smart Way. (2004)
          Be precise and informative about your problem

We can't see your broken code.

Always post all relevant code (using Code button) or attach the source file.