Download MetaTrader 5

I-value required

To add comments, please log in or register
spillstuff
98
spillstuff  

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
2596
Drazen Penic  

Show the code.

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

whroeder1
15063
whroeder1  
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  
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