M:=30;N:=27;D:=42;
VAR1:=(CLOSE-MA(CLOSE,48))/MA(CLOSE,48)*100+M;
VAR2:=(CLOSE-MA(CLOSE,70))/MA(CLOSE,70)*100+N;
VAR3:=VAR1 AND VAR2;
VAR4:=VAR1 AND VAR2 AND COUNT(VAR3,2)=1 AND (CLOSE>OPEN OR CLOSE
(OPEN,3)REF(CLOSE,4) OR REF(OPEN,4)
(OPEN,5)>REF(CLOSE,5) OR REF(OPEN,5)
{- }
VAR5:=DMA(EMA(CLOSE,8),SUM(vol,9)/2.8/CAPITAL);
VAR6:=(CLOSE-VAR5)/VAR5*100;
VAR7:=REF(VAR6,1)+D<0 AND VAR6>REF(VAR6,1) AND REF(VAR6,1)1.8 AND (HIGH>LOW) AND (REF(HIGH,1)>REF(LOW,1)) AND (REF(HIGH,2)>REF(LOW,2)) AND (REF(HIGH,3)>REF(LOW,3)) AND (REF(HIGH,4)>REF(LOW,4)) AND (REF(HIGH,5)>REF(LOW,5));
潜龙:VAR1;
铰龙:VAR2;
亢龙:VAR6+D;
飞龙:IF(VAR4 OR VAR7,40,0);