hi all, i wrote this script to set TP and SL for orders. i am getting error uninit reason 0; cant figure out whats wrong :(
- what is "uninit reason 0"?
- Scalping system
- Error code uninit reason 5
cryptex:
hi all, i wrote this script to set TP and SL for orders. i am getting error uninit reason 0; cant figure out whats wrong :(
A script runs and then terminates . . . . why aren't you testing the return values from your trading functions ? hi all, i wrote this script to set TP and SL for orders. i am getting error uninit reason 0; cant figure out whats wrong :(
What are Function return values ? How do I use them ?
cryptex:
hi all, i wrote this script to set TP and SL for orders. i am getting error uninit reason 0; cant figure out whats wrong :(
hi all, i wrote this script to set TP and SL for orders. i am getting error uninit reason 0; cant figure out whats wrong :(
You don't say whether the script is placing the order or not.
cryptex: i wrote this script . i am getting error uninit reason 0; cant figure out whats wrong :(
What's wrong is you need to RTFM. What is uninit reason 0?
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
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