幅图(选股)源码:
CW1:=IF(CODELIKE(1),0,1);
CW2:=IF(NAMELIKE(2),0,1);
CW3:=IF(NAMELIKE(3),0,1);
CW4:=IF(CODELIKE(4),0,1);
CW5:=CLOSE/REF(CLOSE,1)>1.095 AND HIGH=OPEN AND LOW=HIGH;
CW6:=NOT(CW5) OR CW5=0;
CW7:=FINANCE(40)/100000000<400;
CW8:=CW1 AND CW2 AND CW3 AND CW4 AND CW7;
CW9:=CLOSE<10;
CW10:=CLOSE>3;
CW11:=MA(CLOSE,5)-MA(CLOSE,13)+MA(CLOSE,8);
CW12:=EMA((CLOSE-LLV(LOW,25))/(HHV(HIGH,25)-LLV(LOW,25))*100,5);
CW13:=CW12;
CW14:=MA((VOL-REF(VOL,1))/REF(VOL,1),5);
CW15:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
CW16:=CW15*(1+CW14);
CW17:=REF(VOL,1);
CW18:=SMA(MAX(VOL-CW17,0),6,1)/SMA(ABS(VOL-CW17),6,1)*100;
CW19:=CW16>REF(CW16,1) AND CW13<REF(CW13,1) AND CW18>REF(CW18,1);
CW20:=CW16<REF(CW16,1) AND CW13>REF(CW13,1) AND CW18>REF(CW18,1);
CW21:=CW16>REF(CW16,1) AND CW13<REF(CW13,1) AND CW18<REF(CW18,1);
CW22:=CW16<REF(CW16,1) AND CW13>REF(CW13,1) AND CW18<REF(CW18,1);
CW23:=CW16>REF(CW16,1);
CW24:=CW16<REF(CW16,1);
CW25:=CW13<REF(CW13,1);
CW26:=CW13>REF(CW13,1);
CW27:=CW19 OR CW21;
CW28:=CW20 OR CW22;
CW29:=CW24 AND CW25;
CW30:=CW27 OR CW29;
CW31:=49204040/40;
CW32:=CW23 AND CW26;
CW33:=IF(DATE<CW31,1,0);
CW34:=LAST(CW30,7,1) AND CW32 AND CW33>0.1;
CW35:=3*SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,30))/(HHV(HIGH,30)-LLV(LOW,30))*100,5,1),3,1);
潜伏区:IF(CW35<=8 AND CW33>0.1 AND CW9 AND CW10 AND CLOSE>CW11 AND CW8,50,0),COLORMAGENTA,LINETHICK2;