VAR1:=LOW=LLV(LOW,120)ORREF(LOW,1)=LLV(REF(LOW,1),120)OR
REF(LOW,2)=LLV(REF(LOW,2),120);
VAR2:=CLOSE/REF(CLOSE,1) =1.06;
初选:IF(VAR1ANDVAR2,0.4,0),COLORWHITE;
VAR3:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR4:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
金沙:IF(CROSS(VAR4,-20),0.6,0),COLOR00FFFF;
VAR5:=BARSCOUNT(初选) =8ANDCLOSE/REF(HIGH,1) 0.97ANDNOT(CLOSE OPEN);
铁血止损1:DRAWICON(VAR5,0.6,9)COLORYELLOW;
IF(VAR5,0.6,1),COLORYELLOW;
VAR6:=BARSCOUNT(金沙) =3ANDCLOSE/REF(HIGH,1) 0.97ANDNOT(CLOSE OPEN);
铁血止损2:DRAWICON(VAR6,0.6,9),COLORYELLOW;
IF(VAR6,0.6,1),COLORYELLOW;
ZGD:=IF(INDEXH 0,INDEXH,REF(INDEXH,BARSLAST(INDEXH 0)));
ZDD:=IF(INDEXL 0,INDEXL,REF(INDEXL,BARSLAST(INDEXL 0)));
KPD:=IF(INDEXO 0,INDEXO,REF(INDEXO,BARSLAST(INDEXO 0)));
SPD:=IF(INDEXC 0,INDEXC,REF(INDEXC,BARSLAST(INDEXC 0)));
CJE:=INDEXA/100000000;
开盘:KPD,NODRAW,COLORWHITE;
最高:ZGD,NODRAW,COLORRED;
最低:ZDD,NODRAW,COLORGREEN;
收盘:SPD,NODRAW,COLORWHITE;
成交额:CJE,NODRAW,COLORYELLOW;
DRAWKLINE(ZGD,KPD,ZDD,SPD);