How to put MQL4 code to condition block?
-
Hi all,
I want to create custom condition with condition block no.2, rather than using condition block no.1, just want to try this things. But it wont work, any help regarding this matter?I'm using this block

to input this MQL4 code

and this is the result

expression is not boolean
how to do it correctly? -
@aeivan What is that 'iRSI' feature searching exactly?
-
it should work
-
@l-andorrà that RSI indicator, i want to check if RSI between value 40 and 60 then it is give a True value. It can do with condition block no.1 but it takes 2 blocks, i just want to learn how to use condition block no.2
@miro1360 how to eliminate warning that said expression not boolean?
Thank you All
-
that is how it is made, 0| |0 is added there by fxdreema (it causes the warning, not error)
so far it has worked without problems -
Ok, thanks @miro1360