Problem with boolean operation on price
Is it not obvious?
If the variable "first_order_price" is assigned the value of "Ask", then the boolean expression becomes :
Which will ALWAYS be false.Ask < (Ask - 10 * Point)
Thanks anyway for the help
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.
Why the condition (first_order_price - 10 * Point) don't works?
Thanks to whoever can help me