Download MetaTrader 5
To add comments, please log in or register
Have you discovered something really important? Write an article and receive 200 USD!
spillstuff
98
spillstuff 2014.06.20 17:54 

Getting an error "OrderStopLoss' I-value required.

I cannot find this error in any definitions.  Can someone point me in the right direction.

Drazen Penic
2408
Drazen Penic 2014.06.20 20:58  

Show the code.

Do you try to assign something to OrderStopLoss() function?

whroeder1
13644
whroeder1 2014.06.21 11:36  
spillstuff: Getting an error "OrderStopLoss' I-value required.

  1. It's not I-value it L-value as in Lvalue = Rvalue.
  2. You have OrderStopLoss() = Rvalue. OrderStopLoss() is a function returning a value. You can't assign to it.
spillstuff
98
spillstuff 2014.06.21 14:04  
WHRoeder:
spillstuff: Getting an error "OrderStopLoss' I-value required.

  1. It's not I-value it L-value as in Lvalue = Rvalue.
  2. You have OrderStopLoss() = Rvalue. OrderStopLoss() is a function returning a value. You can't assign to it.

Thank you.  I spent lots of time looking through descriptions and help files for the error.  The good part is what I learned as I searched.
/
To add comments, please log in or register