Hello Folks.
I'm going trough the roof in a minute.
Why is the calculation below returning "0"?
OrderSelect for OrderOpenPrice was called and orderOpenPrice returns the proper value.
StopLoss = double, Value "15",
BrokerDigitCalc = double, Value "10".
I don't understand it? Is MT having trouble with bracket calculations?
If I just replace everything in the brackets with a "0",
"MyNewSL" it the OrderOpenPrice, as expected.
I know it's simple, but at this point I don't get it...
Regards.
WorstCases
I'm going trough the roof in a minute.
Why is the calculation below returning "0"?
Inserted Code
double MyNewSL = OrderOpenPrice() -(StopLoss * Point * BrokerDigitCalc);
StopLoss = double, Value "15",
BrokerDigitCalc = double, Value "10".
I don't understand it? Is MT having trouble with bracket calculations?
If I just replace everything in the brackets with a "0",
Inserted Code
double MyNewSL = OrderOpenPrice() -(0)
I know it's simple, but at this point I don't get it...
Regards.
WorstCases