Dear experts,
I wonder, if you could help me to define a correct long condition for an indicator like the SMI.
I tried the following, but I receive an error message, saying “squared bracket suits better than a comma”.
However, in the following statement, I do not use a comma.
LongCond21 = SMI[15,3,3,3] (Close[0]) >= (SMI[15,3,3,3] (Close[1])
Wouldn’t it be good to have a “rising” and “falling” function instead of using conditions with “a<b” and “a>b”?
Thanks and kind regards!
Hi, SMI needs 3 parameters, not 4. And next after that one is solved, there is a parenthesis mismatch with the one opened after >= but not closed at the end. All together, your line becomes:
LongCond21 = SMI[15,3,3](Close[0]) >= SMI[15,3,3](Close[1])
Thank you very much. Perfect support :-).