jeudi 18 juin 2020

"IF" statement not able to run. Showing error: Argument of function"IF" not optional

When I try to run a tradescript code with an "IF" statement as mentioned below, the compiler throws an error: "Argument of function "IF" not optional. Can anyone help me with this please.

if(crossover(last,KCT(15,exponential,1.2))=true,1,0)

Aucun commentaire:

Enregistrer un commentaire