Download MetaTrader 5

Two vertical lines in Metaeditor

To add comments, please log in or register
cpickens
805
cpickens  

Hi,

I have a quick question. What do the 2 vertical lines mean in metaeditor. Are they just like the "&&: symbol.

For example:

if((s1[i] < Low[i] && s2[i] < Low[i] && s3[i] < Low[i] && s4[i + 1] > High[i + 1] && s4[i] < Low[i]) ||

(s1[i] < Low[i] && s2[i] < Low[i] && s3[i + 1] > High[i + 1] && s3[i] < Low[i] && s4[i] < Low[i]) ||

what do those vertical lines mean at the end.

Thanks

Simon Gniadkowski
Moderator
18058
Simon Gniadkowski  
cpickens:

Hi,

I have a quick question. What do the 2 vertical lines mean in metaeditor. Are they just like the "&&: symbol.

For example:

if((s1[i] < Low[i] && s2[i] < Low[i] && s3[i] < Low[i] && s4[i + 1] > High[i + 1] && s4[i] < Low[i]) ||

(s1[i] < Low[i] && s2[i] < Low[i] && s3[i + 1] > High[i + 1] && s3[i] < Low[i] && s4[i] < Low[i]) ||

what do those vertical lines mean at the end.

Thanks

&& is AND || is OR you can find the answer in the documentation
To add comments, please log in or register