What is the correct way to write a double greater than or less than statement

 

Hi,

 I have been coding in mt4 for a few years now.  I would run into something like this.

 

I want to write as an example

if(x>0 && x<10000)return(0);

 Now I know you can combine them somehow so I combined them like

if(0<x<10000)return(0);

 

 However I get the following warning.  Am I missing something.  Mind you I know it will work the first way but I wanted to try it the shorthand way.

expression is always true

Reason: