My code for one white soldier is
TREND(CLOSE,10) = DOWN AND
REF(OPEN,1) < REF(CLOSE,1) AND
REF(CLOSE,2) < REF(OPEN,2) AND
REF(LOW,1) > REF(LOW,2) AND
REF(CLOSE,1) > REF(HIGH,2) AND
REF(OPEN,1) > REF(CLOSE,2)
but it is showing error in code.Please anyone there help me by rectifying it.Thank You