add two conditions

 

Hello

how to join two conditions, which the expression?

if (l_iclose_28 > l_iopen_4) ????? and if (((l_ihigh_12+l_ilow_20+l_iclose_28)/3) >l_iclose_28) ld_36 = l_ihigh_12 ;

thans

 
sextafeira:

Hello

how to join two conditions, which the expression?

if (l_iclose_28 > l_iopen_4) ????? and if (((l_ihigh_12+l_ilow_20+l_iclose_28)/3) >l_iclose_28) ld_36 = l_ihigh_12 ;

thans

Use logical AND operator &&

https://docs.mql4.com/basis/operations/bool

Reason: