When I use OrdeOpenPrice() the value returned is correct, namely the price at which the position was entered. But if i restart ( turn off the computer , lets say), then for some reason the instruction OrderOpenPrice() gives me zero as the entering price of the current open order.
What Im I doing Wrong?
What Im I doing Wrong?
I would look at proper initialization of values since your problem is associated with restart.
When I use OrdeOpenPrice() the value returned is correct, namely the price at which the position was entered. But if i restart ( turn off the computer , lets say), then for some reason the instruction OrderOpenPrice() gives me zero as the entering price of the current open order.
What Im I doing Wrong?
What Im I doing Wrong?
I would look at proper initialization of values since your problem is associated with restart.
thanks, that did it
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
What Im I doing Wrong?