潜龙四剑客之浪侠小妖副图指标 源码 通达信 贴图
{浪侠小妖副}
A_1:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
A_2:=POW(MA(LOW,5),2)+MA(LOW,5);
A_3:=POW(MA(HIGH,5),2)+MA(HIGH,5);
A_4:=(A_1-REF(A_2,9))/(REF(A_3,9)-REF(A_2,9))*150+65;
A_5:=SMA(A_4,3,1)*1.5;
A_6:=SMA(A_5,3,1);
A_7:=3*A_5-2*A_6;
A_8:=REF(A_7>300,18)>0;
A_9:=(CLOSE-REF(LOW,32))/(REF(HIGH,3)-REF(LOW,32))*1.2*CLOSE;
A_10:=SMA(A_9,83,1);
A_11:=SMA(A_10,5.5,1.5);
A_12:=REF(A_9,A_11);
A_13:=(CLOSE-REF(CLOSE,1))/REF(CLOSE,1)*100<(-6);
A_14:=CLOSE>1.02*REF(CLOSE,1);
A_15:=A_13;
A_16:=REF(CLOSE,1)<(REF(CLOSE,BARSLAST(A_15))+REF(CLOSE,BARSLAST(A_15)+1))/2 AND CLOSE>(REF(CLOSE,BARSLAST(A_15))+REF(CLOSE,BARSLAST(A_15)+1))/2;
A_17:=BARSLAST(A_15)<=7 AND A_14 AND A_16 AND COUNT(A_14,BARSLAST(A_15))=1 AND NOT(HIGH=LOW) AND REF(NOT(HIGH=LOW),BARSLAST(A_15))=1;
A_18:=A_17 AND A_12;
A_19:=(CLOSE+HIGH+LOW)/3;
A_20:=EMA(A_19,10);
A_21:=REF(A_20,1);
A_22:=HIGH/CLOSE<1.01>0;
A_23:=SUM(A_22,1);
A_24:=CROSS(A_20,A_21);
A_25:=SUM(A_24,2)>0;
A_26:=A_25 AND A_18;
A_27:=REF(A_26,1)=0 AND A_26 AND A_8;
STICKLINE(A_27,0,5,3,0),COLORFF00FF;
DRAWTEXT(A_27,3,'★小妖'),COLORFF00FF,LINETHICK2;
DRAWICON(A_27,5,5);