CHOUMA:=(CLOSE/COST(50)-1)*100 ;
IF(CHOUMA>0 AND CHOUMA>REF(CHOUMA,1),CHOUMA,0) COLORRED;
IF(CHOUMA<=0 AND CHOUMA<=REF(CHOUMA,1),CHOUMA,0) COLORGREEN;
CHOUMA:=(CLOSE/COST(50)-1)*100 ;
IF(CHOUMA>0 AND CHOUMA>REF(CHOUMA,1),CHOUMA,0) COLORRED;
IF(CHOUMA<=0 AND CHOUMA<=REF(CHOUMA,1),CHOUMA,0) COLORGREEN;