
通达信:=REF(C,1);
红绿趋势主图:=MAX(C,通达信);
指标:=MIN(C,通达信);
WSSA2:=REF(C,1)>REF(指标,1);
WSSA3:=REF(C,1)<REF(红绿趋势主图,1);
STICKLINE(C>=通达信,指标,红绿趋势主图,2.7,0),COLORRED;
STICKLINE(C<通达信,指标,红绿趋势主图,2.7,0),COLOR008000;
STICKLINE(WSSA2 AND C>=REF(通达信,1),指标,红绿趋势主图,2.7,0),COLORRED;
STICKLINE(WSSA2 AND C<REF(通达信,1),红绿趋势主图,REF(通达信,1),2.7,0),COLORRED;
STICKLINE(WSSA2 AND C<REF(通达信,1),REF(通达信,1),C,2.7,0),COLOR008000;
STICKLINE(WSSA3 AND C<=REF(通达信,1),指标,红绿趋势主图,2.7,0),COLOR008000;
STICKLINE(WSSA3 AND C>REF(通达信,1),指标,REF(通达信,1),2.7,0),COLOR008000;
STICKLINE(WSSA3 AND C>REF(通达信,1),REF(通达信,1),C,2.7,0),COLORRED;
WSSA4:EMA(CLOSE,5),COLORRED;
WSSA5:IF(WSSA4<REF(WSSA4,1),WSSA4,DRAWNULL),COLORGREEN;