CTA1:=(CLOSE-LLV(LOW, 18))/(HHV(HIGH, 18)-LLV(LOW, 18))*100;
CTA2:=SMA(CTA1, 9, 1);
CTA3:=SMA(CTA2, 3, 1);
CTA20:=3*CTA2-2*CTA3,COLORWHITE,LINETHICK3;
CTA21:=EMA(CTA2, 3),COLORRED,LINETHICK3;
★逢低买入: REF(crOSS(CTA21,CTA20),82) AND CTA21>1.3*CTA20,STICK,LINETHICK2;
★追涨买入: REF(CROSS(CTA20,CTA21),1) AND CTA20>1.3*CTA21,STICK,LINETHICK2;
MA5:=MA(C,5);
MA13:=MA(C,13),LINETHICK2;
MA34:=MA(C,34),LINETHICK2;
MA55:=MA(C,55),LINETHICK2;
MA88:=MA(C,88);
LC:=REF(CLOSE,1);
rsi:=SMA(MAX(CLOSE-LC,0),6,1)/SMA(Abs(CLOSE-LC),6,1)*100;
CTA7:=EMA(AMOUNT/vol/100,3);
CTA8:=EMA(CTA7,88);
CTA9:=EMA(CTA7,88)*0.85;
CTAA:=CTA9*0.87;
CTAB:=LOW
★坚决买进:FILTER(CTAB,6);
CTAF:=(2*CLOSE+HIGH+LOW)/4;
CTA14:=LLV(LOW,34);
CTA15:=HHV(HIGH,34);
CTA16:=EMA((CTAF-CTA14)/(CTA15-CTA14)*100,6);
CTA17:=EMA(0.667*REF(CTA16,1)+0.333*CTA16,4);
★出击:IF(COUNT(CLOSE0.3 AND COUNT(CTA16>CTA17,3) AND REF(LOW,1)=LLV(LOW,120) AND CLOSE>OPEN,1,0);
A:=(3*CLOSE+LOW+OPEN+HIGH)/6;
D1:=(20*A+19*REF(A,1)+18*REF(A,2)+17*REF(A,3)+16*REF(A,4)+15*REF(A,5)+14*REF(A,6)
+13*REF(A,7)+12*REF(A,8)+11*REF(A,9)+10*REF(A,10)+9*REF(A,11)+8*REF(A,12)
+7*REF(A,13)+6*REF(A,14)+5*REF(A,15)+4*REF(A,16)+3*REF(A,17)+2*REF(A,18)+REF(A,20))/211;
D2:=EMA(D1,3);
D3:=EMA(D2,3);
K1:=EMA(D3,3);
★波段买入:CROSS(D1,K1),COLORRED;
多方趋势:=7*SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1)
-3*SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1)
-SMA(SMA(SMA((CLOSE-LLV(LOW,27))/(HHV(HIGH,27)-LLV(LOW,27))*30,4,1),3,1),2,1);
天线:=78.89;
CTA10:=(LOW+HIGH+CLOSE)/3;
CTA22:=MA(CTA10,5);
CTA23:=HHV(CTA22,13);
QSXS:=CTA22>REF(CTA22,1) AND REF(CTA22,1)GJSC:=L
LSMR:=GJSC AND COUNT(QSXS,2);
专找小牛:LSMR AND NOT(REF(LSMR,1)),STICK,COLORBROWN,LINETHICK3;