源码
W:=1;
AA:=MA(CLOSE,23);
STICKLINE(CLOSE>=AA,LOW,HIGH,0.1,0),colorFF;
STICKLINE(CLOSE>=AA,OPEN,CLOSE,8,0),colorFF;
STICKLINE(CLOSE
STICKLINE(CLOSE
S1:=(CLOSE-MA(CLOSE,10))/MA(CLOSE,10)*100;
S2:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
T1:=IF(S1<18.5 AND REF(S1,1)>18.5 AND REF(S1,2)<18.5,1,0);
T2:=IF(S1>18.5 AND S1REF(S1,2),1,0);
T5:=IF(S1<18.5 AND S1REF(S1,2) AND REF(S1,1)>18.5,1,0);
T3:=IF(S2<29.5 AND REF(S2,1)>29.5 AND REF(S2,2)<29.5,1,0);
T4:=IF(S2>29.5 AND S2REF(S2,2),1,0);
T6:=IF(S2<29.5 AND S2REF(S2,2) AND REF(S2,1)>29.5,1,0);
IF W=1 THEN
DRAWICON(T1=1 OR T2=1 OR T3=1 OR T4=1 OR T5=1 OR T6=1,HIGH*1.1,'ch');
IF W=2 THEN
DRAWICON(T1=1 OR T2=1 OR T3=1 OR T4=1 OR T5=1 OR T6=1,HIGH*1.1,'cb');
T7:=MA(CLOSE,23);
T8:=CLOSEREF(CLOSE,2) AND REF(CLOSE,2)>REF(CLOSE,3) AND REF(CLOSE,3)>REF(CLOSE,4);
IF W=1 THEN
DRAWICON(ALL(CLOSE
DRAWICON(ALL(CLOSE