Compilation error with Condition criteria
-
Hi!
I have created a condition that should pass OK when a specific candle closes not more than 2.5 pips away from a moving average....but it won't compile and I get the error "some operator expected".
Please see https://prnt.sc/hn9jfb
Can anyone tell me what I am doing wrong?
Thank you!
Lee. -
Does the number of pips need to be a whole number? i.e. 2 or 3 but not 2.5?
Does there need to be a gap between 2.5 and pips?I don't know but that's a couple of things I would try.
-
SydneyFox you are a genius! It was the decimal point. The space makes no difference - if the number is an integer - it compiles either way.
Thanks again!
-
@sydneyfox Thanks for solving the problem
