joshatt:
b is NULL. I bring down my actual problem to the above simple experiment, and variable b always keeps empty value. It's all the same if I move these 3 lines to start().
How so?
#property indicator_chart_window extern string a="1111"; string b; int init() { //--- 3 lines --- if(b==NULL) b=a; Print(b); //------------------- return(0); }
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
I bring down my actual problem to the above simple experiment, and variable b always keeps empty value. It's all the same if I move these 3 lines to start().
How so?