底部力度:=200,COLOR00FF00;
CPLD1:=(CLOSE-LLV(LOW,24))/(HHV(HIGH,24)-LLV(LOW,24))*2000;
CPLD2:=SMA(CPLD1,3,1),COLORLIGRAY;
CPLD3:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
CPLD4:=IF(CLOSE>OPEN,CPLD3*(HIGH-LOW),IF(CLOSE< OPEN,CPLD3*(HIGH-OPEN+CLOSE-LOW),VOL/2))/(IF(CLOSE>OPEN,0-CPLD3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE< OPEN,0-CPLD3*(HIGH-LOW),0-VOL/2))*(-1))-IF(CLOSE>OPEN,0-CPLD3*(HIGH-CLOSE+OPEN-LOW),IF(CLOSE< OPEN,0-CPLD3*(HIGH-LOW),0-VOL/2))*(-1)/IF(CLOSE>OPEN,CPLD3*(HIGH-LOW),IF(CLOSE< OPEN,CPLD3*(HIGH-OPEN+CLOSE-LOW),VOL/2));
CPLD5:=AMOUNT/(100*VOL);
CPLD6:=MA(CPLD5,40);
CPLD7:=100*(CLOSE-CPLD6)/CPLD6;
CPLD8:=IF(CPLD4>0 AND CPLD7< (-12) AND C/O>1.08,300,200);
CPLD9:=(C-LLV(L,34))/(HHV(H,34)-LLV(L,34))*100;
CPLD10:=SMA(CPLD9,3,1);
CPLD11:=SMA(CPLD10,3,1);
买卖力道:=SMA(CPLD11,5,1)*20;
CPLD30:=crOSS(买卖力道,底部力度);
抄一把:CPLD30;