I want to check if a variable has a positive or negative number, how can I do this ?
- how do I get a value to 5 decimal places (double) from iSAR(NULL,0,0.02,0.2,0) ?
- All DDE pairs OK except can't link to EURUSD
- how get programs version in MQL?
if (xx >= 0) { //positive } else { //negative }
The following articles are on-topic:
http://thedailywtf.com/Articles/When__0x22_n__0x2a__%28-1%29_0x22__Won_0x27_t_do__0x2e__0x2e__0x2e_.aspx
http://thedailywtf.com/Articles/When_%28n_0x3c_0%29_won_0x27_t_do_0x2e_.aspx
http://stackoverflow.com/questions/4099366/how-do-i-check-if-a-number-is-positive-or-negative-in-c
SCNR
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