Compile error mt4 expression not boolean ? - page 2 12 New comment Keith Watford 2020.10.03 13:58 #11 Billionist: SAME PROBLEM HERE WITH THIS CODE Please do not post in all Capital letters. It is considered shouting and very rude. You should at least highlight the line of code where you are getting the error. Your bool function should return true or false, instead it is returning 1 or -1. This means that your function is just the same as bool Fractal (string M,int P, int shift) { return(true); } as it can never return false. Get into the habit of using true or false instead of numbers for bools. How should i check if 2 consecutive bars Balance IKECHUKWU SOLOMON 2021.05.19 18:08 #12 Billionist: SAME PROBLEM HERE WITH THIS CODE Change the line bool Fractal (string M,int P, int shift) To int Fractal (string M,int P, int shift) I believe this will do the magic 🤗 Paul Anscombe 2021.10.18 11:31 #13 Toto Widyanto #: hello, can anyone help me? I get a warning when compiling "expression not boolean". that is still from decompiled code!!! what don't you get about NO DECOMPILED CODE are you a thief ? 12 New comment
SAME PROBLEM HERE WITH THIS CODE
Please do not post in all Capital letters. It is considered shouting and very rude.
You should at least highlight the line of code where you are getting the error.
Your bool function should return true or false, instead it is returning 1 or -1.
This means that your function is just the same as
as it can never return false.
Get into the habit of using true or false instead of numbers for bools.
SAME PROBLEM HERE WITH THIS CODE
Change the line
To
I believe this will do the magic 🤗
hello, can anyone help me? I get a warning when compiling "expression not boolean".
that is still from decompiled code!!!
what don't you get about NO DECOMPILED CODE are you a thief ?