源码

N:=20;N1:=7;N2:=69;

STICKLINE(open>=close ,close ,open,9,0 ),COLORaaaaaa;
STICKLINE(open>=close ,close ,open,6,0 ),COLORbbbbbb;
STICKLINE(open>=close ,close ,open,2.4,0 ),COLORcccccc;
STICKLINE(open>=close ,close ,open,1.1,0 ),COLORdddddd;

STICKLINE(close>open,close,open,9,0 ),COLOr6666cc;
STICKLINE(close>open,close,open,6 ,0 ),COLOR7777dd;
STICKLINE(close>open,close,open,2.4 ,0 ),COLOR8888ee;
STICKLINE(close>open,close,open,1.1 ,0 ),COLOR9999ff;

STICKLINE(close>open,open,low,0.5,0 ),COLOR1199ff;
STICKLINE(close>open,close,HIGH,0.5 ,0 ),COLOR1199ff;
STICKLINE(open>=close,close,low,0.5 ,0 ),COLORcccccc;
STICKLINE(open>=close,open,HIGH,0.5 ,0 ),COLORcccccc;
M1:EMA(CLOSE,3);
M2:EMA(CLOSE,8);
M3:EMA(M2,13);
Var1:=EMA(M3,55);
M4:EMA(M2,55);
M5:EMA(M4,81);
M6:EMA(Var1,144);
Var2:=(REF(HIGH,1)+REF(LOW,1))/2;
Var3:=MA(CLOSE,N)+2*STD(CLOSE,N);
DRAWICON(CROSS(Var2,Var3),HIGH*1.02,2);
DRAWTEXT(CROSS(Var2,Var3),HIGH,’卖出’), , COLORGREEN;
Var4:=REF(CLOSE,1);
Var5:=SMA(MAX(CLOSE-Var4,0),N1,1)/SMA(ABS(CLOSE-Var4),N1,1)*100;
Var6:=CROSS(N2,Var5);
Var7:=FILTER(Var6,4);
DRAWICON(Var7,HIGH*1.02,2);
DRAWTEXT(Var7,HIGH,’卖出’), ,COLORBLUE ;
Var8:=(2*CLOSE+HIGH+LOW)/4;
Var9:=LLV(LOW,34);
VarA:=HHV(HIGH,34);
VarB:=EMA((Var8-Var1)/(Var2-Var1)*100,7);
VarC:=EMA(0.667*REF(VarB,1)+0.333*VarB,5);
i:=COUNT(CLOSE0.6 AND VOL>=1.5*MA(VOL,5) AND COUNT(VarB>=VarC,3) AND REF(LOW,1)=LLV(LOW,120);
j:=COUNT(CLOSE0.6 AND COUNT(VarB>VarC,6) AND REF(LOW,5)=LLV(LOW,120) AND REF(CLOSE>=OPEN,4) AND REF(CLOSE>OPEN,3) AND REF(CLOSE>OPEN,2) AND REF(OPEN>CLOSE,1) AND OPEN>REF(CLOSE,1);
DRAWICON(IF(i,1,0),LOW*(1-0.02),1);
DRAWICON(IF(j,1,0),LOW*(1-0.02),1);
DRAWTEXT(IF(i,1,0),LOW*(1-0.03),’买进’), ,COLOR8000FF;
DRAWTEXT(IF(j,1,0),LOW*(1-0.03),’买进’), ,COLORRED;
VarD:=MA(CLOSE,80)-MA(CLOSE,10)/3;
k:=CLOSEMA(VOL,5)/240 AND CLOSE>REF(CLOSE,1)*1.08 AND CLOSE
DRAWTEXT(IF(k,1,0),LOW,’●抄底’),COLORYELLOW , ;

 


声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。