源码
A1:=LLV(LOW,5)=LLV(LOW,45) AND CLOSE>=OPEN*1.04;
A2:=CLOSE>(REF(HIGH,1)+REF(LOW,1))/2;
A3:=REF(CLOSE,1);
A4:=SMA(MAX(CLOSE-A3,0),6,1)/SMA(ABS(CLOSE-A3),6,1)*100;
买入:=FILTER(A1 AND A2,5);
卖出:=CROSS(80,A4);
低吸线:20,POINTDOT,COLORwhite,LINETHICK2;
高抛线:80,POINTDOT,COLOR00FF00,LINETHICK2;
A5:=LLV(LOW,18);
A6:=HHV(HIGH,18);
A7:=EMA((CLOSE-A5)/(A6-A5)*100,13);
做多趋势:EMA(0.618*REF(A7,1)+0.382*A7,3),COLORYELLOW,LINETHICK2;
PolyLINE(做多趋势<=REF(做多趋势,1),做多趋势),COLORBLUE,LINETHICK2;
A8:=MA(C,1)/MA(REF(C,18),18)*100;
A9:=MA(FORCAST(A8,20),6);
A10:=IF(FILTER(CROSS(A8,A9),5)=1,50,0);
DRAWICON(卖出,做多趋势*0.95,2);
DRAWICON(买入,做多趋势*1.3,1);
攻击点:DRAWICON(A10,20,4),COLORRED;