Then variable should be in experts/files/some.file or GlobalVariables (press F3). Or upper-left in Documentation
Thank you...
I did it, and sure it works, but are you sure it will call only once ? ( when MetaTrader launching or Indicator/EA starting )
Have a nice day...
I did it, and sure it works, but are you sure it will call only once ? ( when MetaTrader launching or Indicator/EA starting )
Have a nice day...
bool boReaded[1]; int start { if ( !boReaded[0] ) { /* read parameter, confirm boReaded[0]=1; */ } /* option, if( !boReaded[0] ) 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 have a variable in my Indicator, and I would like to check it each time MetaTrader is launching, after this first check, the variable must'nt be checked until the next start of MetaTrader.
Is there a way to make this ?
Thank you...