源码

{Y抄底逃顶 (《超级新庄杀手》之智能短线指标。)}
Var1:=1;
Var2:=(2*CLOSE+HIGH+LOW)/4;
天: 80, POINTDOT;
人: 20,colorred,circledot;
Var3:=1;
Var4:=LLV(LOW,5);
Var5:=HHV(HIGH,4);
散户: EMA((Var2-Var4)/(Var5-Var4)*100,4)*Var3*Var1;
庄家: EMA(0.667*REF(散户,1)+0.333*散户,2)*Var3*Var1, , ;
Var6:=(HHV(HIGH,4)-Var2)/(HHV(HIGH,4)-LLV(LOW,4))*100-72;
Var7:=(Var2-LLV(LOW,4))/(HHV(HIGH,4)-LLV(LOW,4))*100;
倒影:SMA(Var6,4,1)*Var1,colorff9999,linestick;
Var8:=SMA(Var7,2,1);
黄山:SMA(Var8,2,1)*Var1,coloryellow,linestick;
地平线:12,,;
DRAWTEXT(CROSS(散户,庄家) AND 散户<50 AND 29<散户,20,’短线快进’),colorwhite, ;
DRAWTEXT(CROSS(庄家,散户) AND 散户>40 AND 71>散户,50,’短线快出’),colorffff00, ;
DRAWTEXT(CROSS(散户,庄家) AND 散户<30,0,’逢低吸呐’),coloryellow , ;
DRAWTEXT(CROSS(庄家,散户) AND 散户>70,75,’逢高减磅’), , ;
DRAWICON(CROSS(散户,庄家) AND 散户<30,20,1);
DRAWICON(CROSS(庄家,散户) AND 散户>70,80,2);
Var9:=CLOSE-REF(CLOSE,5);
VarA:=EMA(EMA(Var9,5),5)/EMA(EMA(ABS(Var9),5),5)*100;
VarB:=EMA(EMA(Var9,10),10)/EMA(EMA(ABS(Var9),10),10)*100;
VarC:=EMA(EMA(Var9,20),20)/EMA(EMA(ABS(Var9),20),20)*100;
卖出:IF(VarA>0 AND CROSS(VarC,VarA),-40,0),stick ,;
DRAWTEXT(卖出,-30,’中线逃吧!’),colorred,linethick2;
DRAWICON(卖出<0,-25,2);

 


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