Download MetaTrader 5

Two vertical lines in Metaeditor

To add comments, please log in or register
Launch agents on an idle PC. It is profitable!
cpickens
662
cpickens 2014.02.01 12:03 

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
18001
Simon Gniadkowski 2014.02.01 12:50  
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