"your script generated an error"


SET K =  SOPK(5,5,3,SIMPLE) 
SET D =  SOPD(5,5,3,SIMPLE) 

CROSSOVER(K,D)=TRUE AND
 SMA(CLOSE,10)>SMA(CLOSE,40) 

Please help me find error in this coding...

As per the above condition

Try this it is working

CROSSOVER(SOPK(5,5,3,SIMPLE) ,SOPD(5,5,3,SIMPLE) ) AND SMA(CLOSE,10)>SMA(CLOSE,40) 

Sir Please help
I have the same problem
Code :
SMID(10,3,3,10,EXPONENTIAL,EXPONENTIAL) > 40
SMIK(10,3,3,10,EXPONENTIAL,EXPONENTIAL) > 40

AND
CROSSOVER(SMID(10,3,3,10,EXPONENTIAL,EXPONENTIAL),SMIK(10,3,3,10,EXPONENTIAL,EXPONENTIAL))

can you rectify this code sir ?